Instructions to use emwesoft/GLM-5.3-NVFP4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use emwesoft/GLM-5.3-NVFP4-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: llama cli -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: llama cli -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
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 emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: ./llama-cli -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
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 emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: ./build/bin/llama-cli -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Use Docker
docker model run hf.co/emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
- LM Studio
- Jan
- vLLM
How to use emwesoft/GLM-5.3-NVFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "emwesoft/GLM-5.3-NVFP4-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "emwesoft/GLM-5.3-NVFP4-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
- Ollama
How to use emwesoft/GLM-5.3-NVFP4-GGUF with Ollama:
ollama run hf.co/emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
- Unsloth Desktop
- Pi
How to use emwesoft/GLM-5.3-NVFP4-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use emwesoft/GLM-5.3-NVFP4-GGUF with Docker Model Runner:
docker model run hf.co/emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
- Lemonade
How to use emwesoft/GLM-5.3-NVFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Run and chat with the model
lemonade run user.GLM-5.3-NVFP4-GGUF-NVFP4
List all available models
lemonade list
- Hermes Agent
How to use emwesoft/GLM-5.3-NVFP4-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use emwesoft/GLM-5.3-NVFP4-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "emwesoft/GLM-5.3-NVFP4-GGUF:NVFP4" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
GLM-5.3 753B — NVFP4 GGUF (no MTP)
Native GGUF of incoai/GLM-5.3-NVFP4, the
vendor's ModelOpt NVFP4 repack of zai-org/GLM-5.3
(753B, glm-dsa, 78 blocks, hidden 6144, 256 experts). The NVFP4 weights are kept as NVFP4 —
this is not a requantisation.
445 GB, 10 shards. block_count 78, 1947 tensors, 225 NVFP4 tensors.
Related repos
| With MTP head | emwesoft/GLM-5.3-NVFP4-MTP-GGUF — adds block 78, enables --spec-type draft-mtp |
| DFlash2 drafters | emwesoft/GLM-5.3-DFlash2-GGUF — speculative decoding for this model |
This variant has no MTP head, so --spec-type draft-mtp is unavailable. Use the DFlash2
drafters for speculative decoding, or the MTP repo above.
Engine requirements
llama.cpp with glm-dsa + GGML_TYPE_NVFP4. Three fixes are not yet upstream:
- jinja numeric attribute access (
obj.0) — GLM-5.3's chat template usesm.content.0.output. Without it the template throws,caps_get()swallows it,supports_tool_callsreports false, and every tool call comes back as plain text. glm-dsalayer-input exposure — DFlash needsres->t_layer_inp[il]; without it attaching a drafter aborts on the first decode withGGML_ASSERT(t_layer_inp[il] != nullptr).- Whitespace tolerance before
</tool_call>— a stray newline makes the streaming parser recognise a tool call then lose it, aborting fromcompute_diffs.
Measured throughput
2x RTX PRO 6000 Blackwell + 4x RTX 3090 + 251 GB RAM, 400K context, -t 36 -tb 40,
experts partly CPU-resident (the weights do not fit in 288 GB of VRAM):
| config | acceptance | decode |
|---|---|---|
MTP head, n-max 3 |
74.9% (mean len 3.24) | 9.3-12.2 tok/s |
DFlash2 Q8_0, n-max 4 |
67.7% (mean len 3.69) | 7.6-12.8 tok/s |
| no speculation | - | ~10 tok/s |
Throughput is prompt-dependent because acceptance is. Threads matter: on a 24-core/48-thread
CPU, -t 48 collapsed decode to 0.5 tok/s — the ggml threadpool busy-spins and starves the CUDA
submission thread. Leave headroom.
Sampling
From generation_config.json: temperature 1.0, top_p 0.95. The template exposes
low/high/max reasoning effort only; anything else becomes max, and thinking cannot be
disabled.
- Downloads last month
- 336
4-bit