Downloads · 30 days
42
1% of all-time downloads
mmangkad/GLM-5.2-NVFP4
GLM-5.2-NVFP4 is a text generation model from mmangkad. Use it when you need the model to write or continue text. It is set up for Model Optimizer. The card lists the license as mit.
The mmangkad/GLM-5.2-NVFP4 model is the quantized version of ZAI's GLM-5.2 model, which is an auto-regressive language model that uses an optimized transformer architecture. For more information, please check here. Th…
Downloads · 30 days
42
1% of all-time downloads
All-time downloads
4.3K
Public
Parameters
381B
465 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors465 GB · 100%
How the weights are stored.
U8362B · 83%
From the Hugging Face model README
The mmangkad/GLM-5.2-NVFP4 model is the quantized version of ZAI's GLM-5.2 model, which is an auto-regressive language model that uses an optimized transformer architecture. For more information, please check here. The mmangkad/GLM-5.2-NVFP4 model is quantized with Model Optimizer.
This model is ready for commercial/non-commercial use. <br>
This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party's requirements for this application and use case; see link to Non-NVIDIA (GLM-5.2) Model Card from ZAI.
Nvidia Model Optimizer: https://github.com/NVIDIA/Model-Optimizer
Global <br>
Developers looking to take off-the-shelf, pre-quantized models for deployment in AI Agent systems, chatbots, RAG systems, and other AI-powered applications. <br>
Huggingface 06/20/2026 via https://huggingface.co/mmangkad/GLM-5.2-NVFP4 <br>
Architecture Type: Transformers <br> Network Architecture: GLM-5.2 <br> Number of Model Parameters: 754B in total and 40B activated <br>
Input Type(s): Text <br> Input Format(s): String <br> Input Parameters: One-Dimensional (1D) <br> Other Properties Related to Input: Context length up to 1M <br>
Output Type(s): Text <br> Output Format: String <br> Output Parameters: 1D (One-Dimensional): Sequences <br> Other Properties Related to Output: None <br>
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions. <br>
Supported Runtime Engine(s): <br>
Supported Hardware Microarchitecture Compatibility: <br>
Preferred Operating System(s): <br>
The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
The model is quantized with nvidia-modelopt v0.46.0.dev70+g93dd08f42 <br>
We calibrated the model using the dataset noted below, and performed evaluation using the benchmarks noted under Evaluation Datasets. We did not perform training or testing for this Model Optimizer release. The methods noted under Training and Testing Datasets below represent the data collection and labeling methods used by the third-party to train and test the underlying model.<br>
Link: Nemotron-SFT-Instruction-Following-Chat-v2, Nemotron-Science-v1, Nemotron-Competitive-Programming-v1, Nemotron-SFT-Agentic-v2, Nemotron-Math-v2, Nemotron-SFT-SWE-v2, Nemotron-SFT-Multilingual-v1 <br> Data Collection Method by dataset: Hybrid: Human, Synthetic, Automated. <br> Labeling method: Hybrid: Human, Automated. <br> Properties: Nemotron-SFT-Instruction-Following-Chat-v2 contains ~2M synthetic chat samples designed to strengthen open-ended chat and precise instruction following capabilities. Nemotron-Science-v1 is a synthetic science reasoning dataset with ~226K samples covering GPQA-style science questions and chemistry problems to enhance LLM reasoning in scientific domains. Nemotron-Competitive-Programming-v1 is a large-scale synthetic coding dataset with 2M+ Python and 1M+ C++ samples spanning 34K+ competitive programming questions for code completion and critique. Nemotron-SFT-Agentic-v2 contains ~992K samples of tool-calling trajectories, customer service conversations, and web-search trajectories to train interactive, tool-using agents. Nemotron-Math-v2 is a large-scale mathematical reasoning dataset with ~347K problems and 7M model-generated reasoning trajectories across multiple reasoning modes and tool-use configurations. Nemotron-SFT-SWE-v2 contains ~256K software engineering samples including agentic SWE trajectories and agentless code localization, repair, and test generation samples for SWE-Bench style tasks. Nemotron-SFT-Multilingual-v1 contains ~3M multilingual reasoning samples translated from math, code, and STEM data into German, French, Japanese, Italian, Chinese, and Spanish. <br>
Data Modality: Undisclosed <br> Data Collection Method by dataset: Undisclosed <br> Labeling Method by dataset: Undisclosed<br> Properties: Undisclosed
Data Collection Method by dataset: Undisclosed <br> Labeling Method by dataset: Undisclosed <br> Properties: Undisclosed <br>
Datasets: AIME 2025, GSM8K <br> Data Collection Method by dataset: Hybrid: Automated, Human <br> Labeling Method by dataset: Hybrid: Human, Automated <br> Properties: We evaluated the model on math reasoning benchmarks: AIME 2025 consists of 30 olympiad-level math problems from the 2025 American Invitational Mathematics Examination, testing mathematical reasoning across algebra, geometry, number theory, combinatorics, and probability; GSM8K is a benchmark of ~8.5K grade-school math word problems designed to test multi-step arithmetic reasoning (2-8 steps), where models produce exact numeric answers often with chain-of-thought solutions. <br>
Acceleration Engine: SGLang, vLLM <br> Test Hardware: GB300 <br>
This model was obtained by quantizing the weights and activations of GLM-5.2 to NVFP4 data type, ready for inference with SGLang and vLLM. Only the weights and activations of the linear operators within transformer blocks in MoE experts are quantized. The shared expert is not quantized.
Serve the checkpoint with SGLang:
sglang serve \
--model-path mmangkad/GLM-5.2-NVFP4 \
--tensor-parallel-size 4 \
--quantization modelopt_fp4 \
--reasoning-parser glm45 \
--tool-call-parser glm47 \
--speculative-algorithm EAGLE \
--speculative-num-steps 5 \
--speculative-eagle-topk 1 \
--speculative-num-draft-tokens 6 \
--trust-remote-code
Serve the checkpoint with vLLM:
vllm serve mmangkad/GLM-5.2-NVFP4 \
--tensor-parallel-size 4 \
--attention-config '{"mla_prefill_backend": "TRTLLM_RAGGED", "use_prefill_query_quantization": true}' \
--reasoning-parser glm45 \
--tool-call-parser glm47 \
--enable-auto-tool-choice \
--speculative-config '{"method": "mtp", "num_speculative_tokens": 5}' \
--trust-remote-code
The accuracy benchmark results are presented in the table below (evaluated on SGLang using sgl-eval):
<table> <tr> <td><strong>Precision</strong> </td> <td><strong>AIME 2025</strong> </td> <td><strong>GSM8K</strong> </td> </tr> <tr> <td>BF16 (Baseline) </td> <td>87.7 </td> <td>98.2 </td> </tr> <tr> <td>NVFP4 </td> <td>90.0 </td> <td>97.2 </td> </tr> </table>Baseline: GLM-5.2. Sampling: temperature=1.0, top_p=0.95, max_tokens=163840.
The base model was trained on data that contains toxic language and societal biases originally crawled from the internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts. The model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive.
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns here.