Model Overview

Description:

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.

Third-Party Community Consideration

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.

References

Nvidia Model Optimizer: https://github.com/NVIDIA/Model-Optimizer

License/Terms of Use:

MIT License

Deployment Geography:

Global

Use Case:

Developers looking to take off-the-shelf, pre-quantized models for deployment in AI Agent systems, chatbots, RAG systems, and other AI-powered applications.

Release Date:

Huggingface 06/20/2026 via https://huggingface.co/mmangkad/GLM-5.2-NVFP4

Model Architecture:

Architecture Type: Transformers
Network Architecture: GLM-5.2
Number of Model Parameters: 754B in total and 40B activated

Input:

Input Type(s): Text
Input Format(s): String
Input Parameters: One-Dimensional (1D)
Other Properties Related to Input: Context length up to 1M

Output:

Output Type(s): Text
Output Format: String
Output Parameters: 1D (One-Dimensional): Sequences
Other Properties Related to Output: None

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.

Software Integration:

Supported Runtime Engine(s):

  • SGLang

Supported Hardware Microarchitecture Compatibility:

  • NVIDIA Blackwell

Preferred Operating System(s):

  • Linux

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.

Model Version(s):

The model is quantized with nvidia-modelopt v0.46.0.dev70+g93dd08f42

Training and Testing Datasets:

We calibrated the model using the dataset noted below. 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.

Calibration Dataset:

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
Data Collection Method by dataset: Hybrid: Human, Synthetic, Automated.
Labeling method: Hybrid: Human, Automated.
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.

Training Dataset:

Data Modality: Undisclosed
Data Collection Method by dataset: Undisclosed
Labeling Method by dataset: Undisclosed
Properties: Undisclosed

Testing Dataset:

Data Collection Method by dataset: Undisclosed
Labeling Method by dataset: Undisclosed
Properties: Undisclosed

Inference:

Acceleration Engine: SGLang
Test Hardware: GB300

Post Training Quantization

This model was obtained by quantizing the weights and activations of GLM-5.2 to NVFP4 data type, ready for inference with SGLang. Only the weights and activations of the linear operators within transformer blocks in MoE experts are quantized. The shared expert is not quantized.

Usage

SGLang

Install SGLang from the latest main branch.

Prerequisite: Transformers 5.12.0 or newer is required. SGLang may fail to start with older Transformers versions:

uv pip install --upgrade 'transformers>=5.12.0'

Serve the checkpoint with SGLang:

sglang serve \
    --model-path mmangkad/GLM-5.2-NVFP4 \
    --tensor-parallel-size 4 \
    --reasoning-parser qwen3 \
    --tool-call-parser qwen3_coder \
    --quantization modelopt_fp4 \
    --speculative-algorithm EAGLE \
    --speculative-num-steps 5 \
    --speculative-eagle-topk 1 \
    --speculative-num-draft-tokens 6 \
    --model-loader-extra-config '{"enable_multithread_load": true, "num_threads": 47}' \
    --trust-remote-code

Model Limitations:

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.

Ethical Considerations

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.

Downloads last month
558
Safetensors
Model size
381B params
Tensor type
F32
BF16
F8_E4M3
U8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for mmangkad/GLM-5.2-NVFP4

Base model

zai-org/GLM-5.2
Quantized
(46)
this model