Downloads · 30 days
177
13% of all-time downloads
vivek51/GLM-4.6V-NVFP4
GLM-4.6V-NVFP4 is a image-text-to-text model from vivek51. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for vllm. The card lists the license as other.
NVFP4 (4-bit floating point) quantized version of zai-org/GLM-4.6V.
Downloads · 30 days
177
13% of all-time downloads
All-time downloads
1.3K
Public
Parameters
61.5B
63.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors63.7 GB · 100%
How the weights are stored.
U852.8B · 86%
From the Hugging Face model README
NVFP4 (4-bit floating point) quantized version of zai-org/GLM-4.6V.
| Property | Value |
|---|---|
| Base Model | zai-org/GLM-4.6V |
| Architecture | Glm4vMoeForConditionalGeneration (108B MoE) |
| Quantization | NVFP4 (E2M1 format) with dynamic activation scaling |
| Model Size | 64 GB (vs 216 GB BF16) |
| Compression | 3.4x |
| Max Context | 131,072 tokens (128K) |
| Category | BF16 | NVFP4 | Accuracy Loss |
|---|---|---|---|
| Overall | 76.01% | 73.56% | -2.45% |
| STEM | 74.72% | 70.25% | -4.47% |
| Humanities | 68.63% | 67.14% | -1.49% |
| Social Sciences | 83.62% | 81.90% | -1.72% |
| Other | 80.98% | 78.37% | -2.61% |
# Single GPU (full 128K context)
python -m vllm.entrypoints.openai.api_server \
--model GadflyII/GLM-4.6V-NVFP4 \
--tensor-parallel-size 1 \
--trust-remote-code \
--max-model-len 131072 \
--port 8000
# Two GPUs
python -m vllm.entrypoints.openai.api_server \
--model GadflyII/GLM-4.6V-NVFP4 \
--tensor-parallel-size 2 \
--trust-remote-code \
--max-model-len 131072 \
--port 8000
from vllm import LLM, SamplingParams
model = LLM(
"GadflyII/GLM-4.6V-NVFP4",
tensor_parallel_size=1,
trust_remote_code=True,
max_model_len=131072
)
# Recommended sampling parameters
params = SamplingParams(
temperature=0.8,
top_p=0.6,
top_k=2,
repetition_penalty=1.1,
max_tokens=1024
)
outputs = model.generate(["The capital of France is"], params)
print(outputs[0].outputs[0].text)
This model uses dynamic NVFP4 quantization:
input_global_scale=1.0, dynamic=true)https://github.com/Gadflyii/vllm/
Same as base model: GLM-4 License