Downloads · 30 days
11
13% of all-time downloads
dmnsh/GLM-4.7-Flash-REAP-23B-A3B-NVFP4
GLM-4.7-Flash-REAP-23B-A3B-NVFP4 is a text generation model from dmnsh. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
NVFP4 PTQ checkpoint of cerebras/GLM-4.7-Flash-REAP-23B-A3B, produced with NVIDIA TensorRT Model Optimizer (hfptq).
Downloads · 30 days
11
13% of all-time downloads
All-time downloads
83
Public
Parameters
12.6B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16 GB · 100%
How the weights are stored.
U810.4B · 75%
From the Hugging Face model README
NVFP4 PTQ checkpoint of cerebras/GLM-4.7-Flash-REAP-23B-A3B, produced with NVIDIA TensorRT Model Optimizer (hf_ptq).
This is a community quantized derivative. Credit for the base weights belongs to Cerebras (REAP prune) and Z.ai (original GLM-4.7-Flash). Please cite / attribute the upstream models when using this checkpoint.
zai-org/GLM-4.7-Flash
│
│ Cerebras REAP — uniform 25% expert prune
│ (arxiv:2510.13999)
▼
cerebras/GLM-4.7-Flash-REAP-23B-A3B (~23B-A3B MoE, BF16)
│
│ ModelOpt PTQ — NVFP4 on routed experts
│ (attention / gates / shared experts / embeds kept high-prec)
▼
dmnsh/GLM-4.7-Flash-REAP-23B-A3B-NVFP4 (this repo)
| Field | Value |
|---|---|
| Immediate base | cerebras/GLM-4.7-Flash-REAP-23B-A3B |
| Upstream ancestor | zai-org/GLM-4.7-Flash |
| Quantization tool | NVIDIA ModelOpt (hf_ptq) |
| Format | NVFP4 (group size 16) |
| Calibration data | NVIDIA Nemotron SFT / science / math / coding / agentic mixes (ModelOpt default calib set) |
| License | MIT (inherits from GLM-4.7-Flash / REAP card) |
From hf_quant_config.json (quant_algo: NVFP4, group_size: 16):
| Component | Format |
|---|---|
| Routed MoE experts | NVFP4 (E2M1 + FP8 scales, block size 16) |
Attention (self_attn*) | BF16 (excluded) |
Router / mlp.gate | BF16 (excluded) |
| Shared experts | BF16 (excluded) |
First dense layer (layers.0*) | BF16 (excluded) |
Embeddings + lm_head | BF16 (excluded) |
| KV cache | not quantized in this export (kv_cache_quant_algo: null) |
Note: ModelOpt calibration initially enabled FP8 KV scales; the published export has KV cache quantization disabled (GB10 / Spark-friendly: serve with
--kv-cache-dtype auto).
Same as the REAP MoE base, with much lower memory footprint on Blackwell GPUs (e.g. DGX Spark GB10). NVFP4 weight kernels need Blackwell.
Validated on DGX Spark with vllm/vllm-openai:nightly-aarch64:
vllm serve dmnsh/GLM-4.7-Flash-REAP-23B-A3B-NVFP4 \
--quantization modelopt_fp4 \
--moe-backend marlin \
--enforce-eager \
--kv-cache-dtype auto \
--max-model-len 4096 \
--gpu-memory-utilization 0.161 \
--served-model-name GLM-4.7-Flash-REAP-23B-A3B-NVFP4
Notes:
--moe-backend marlin was required for this MoE NVFP4 checkpoint on the tested nightly.--enforce-eager and --kv-cache-dtype auto match the GB10 smoke/bench config (FP8 KV disabled).vLLM on GB10, max-model-len=4096, concurrency 1.
| Metric | BF16 | NVFP4 | Change |
|---|---|---|---|
| Memory (GiB) | 50.78 | 23.67 | −53% |
| Prefill TTFT (ms) | 240.6 | 123.3 | −49% (2.0× faster) |
| Throughput (tok/s) | 24.5 | 28.5 | +16% (1.16×) |
If uploading from a local checkout that still has working artifacts, do not upload:
config.json.pre_kv_patchhf_quant_config.json.pre_kv_patch.quant_summary.txtThis checkpoint is provided as-is for experimentation. Quantization can change model quality; run your own evals before production use. Not affiliated with Cerebras, Z.ai, or NVIDIA beyond use of open ModelOpt tooling.