Views
No views yet
| 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% |
1# Single GPU (full 128K context)
2python -m vllm.entrypoints.openai.api_server \
3 --model GadflyII/GLM-4.6V-NVFP4 \
4 --tensor-parallel-size 1 \
5 --trust-remote-code \
6 --max-model-len 131072 \
7 --port 8000
8
9# Two GPUs
10python -m vllm.entrypoints.openai.api_server \
11 --model GadflyII/GLM-4.6V-NVFP4 \
12 --tensor-parallel-size 2 \
13 --trust-remote-code \
14 --max-model-len 131072 \
15 --port 80001from vllm import LLM, SamplingParams
2
3model = LLM(
4 "GadflyII/GLM-4.6V-NVFP4",
5 tensor_parallel_size=1,
6 trust_remote_code=True,
7 max_model_len=131072
8)
9
10# Recommended sampling parameters
11params = SamplingParams(
12 temperature=0.8,
13 top_p=0.6,
14 top_k=2,
15 repetition_penalty=1.1,
16 max_tokens=1024
17)
18
19outputs = model.generate(["The capital of France is"], params)
20print(outputs[0].outputs[0].text)input_global_scale=1.0, dynamic=true)