cukrus/qwen3-4b-remote-text-encoder
AI model by cukrus
Older snapshot: check the original source for current information.
From the publisher
Model card & documentation
Source previewRead the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.
Runs the Qwen3-4B text encoder for Z-Image-Turbo and FLUX.2-klein-4B on a separate CPU machine and serves prompt embeddings over HTTP. The GPU machine only loads the DiT and VAE and passes the result as promptembeds. Qwen3-4B is 8 GB in bf16 and 2.5 GB in 4-bit. Moving it off the GPU device frees that memory for the diffusion model. No weights in this repo. Z-Image-Turbo and FLUX.2-klein-4B ship identical Qwen3-4B weights, tokenizer and chat template. Only the output differs, selected with mode: klein has no text mask, so the pad positions affect the image. Keep all 512. On CPUs without native bf16 (no AVX-512-BF16 / AMX), bf16 matmuls are emulated and slow. The server keeps the weights in bf16 (memory-mapped) and upcasts each Linear's weight to fp32 at matmul time. Norms and the residual stream run in fp32. Tested CPU: i7-13620H…
Read the full model card ↗ · Preview checked 2026-10-27T18:48:36.575Z
Inside the original model card — Document outline
- Remote Qwen3-4B text encoder
- Both models, one encoder
- CPU: bf16 weights, fp32 compute
- Tested setup
- Examples
- Setup
- API
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Documentation belongs to its respective authors. Reported project/model license: mit. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
Model overview
cukrus/qwen3-4b-remote-text-encoder is a task-unspecified model repository published by cukrus on Hugging Face. The source reports the diffusers library.
This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.
Model facts
- Task
- Not reported
- Library
- diffusers
- Recent downloads (30 days)
- 0
- Cumulative likes
- 0
- Hugging Face trending score
- 0
- Reported safetensors parameters
- Not reported
- Architecture
- Not reported
- License
- mit
- Access
- Not gated by Hugging Face
- Created
- 2026-10-15T06:19:31.000Z
- Last modified
- 2026-10-15T06:19:49.000Z
Compatibility and lineage
Language coverage was not reported.
Base-model lineage was not included.
Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.
Use and evaluate
Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.
No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.
Source and freshness
Source: Hugging Face Hub. Metadata observed 2026-10-15T06:42:18.893Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.