How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
# Run inference directly in the terminal:
llama-cli -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
# Run inference directly in the terminal:
llama-cli -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
# Run inference directly in the terminal:
./llama-cli -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
Use Docker
docker model run hf.co/worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF:
Quick Links

GGUF quantized version of the Z-Image text encoder (Qwen 3 4b)

Recommended:

  • Qwen_3_4b-imatrix-IQ4_XS.gguf - default pick
  • Qwen_3_4b-imatrix-Q3_K_M.gguf - if you really need that extra 200mb
  • Qwen_3_4b-Q8_0.gguf - near identical results to FP16

comparison

Downloads last month
19,549
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF

Quantized
(47)
this model