Text Generation
MLX
Safetensors
minimax_m3_vl
Mixture of Experts
agent
coding
conversational
custom_code
8-bit precision
Instructions to use mlx-community/MiniMax-M3.1-Flash-Text-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/MiniMax-M3.1-Flash-Text-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/MiniMax-M3.1-Flash-Text-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use mlx-community/MiniMax-M3.1-Flash-Text-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "mlx-community/MiniMax-M3.1-Flash-Text-4bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mlx-community/MiniMax-M3.1-Flash-Text-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use mlx-community/MiniMax-M3.1-Flash-Text-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "mlx-community/MiniMax-M3.1-Flash-Text-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "mlx-community/MiniMax-M3.1-Flash-Text-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mlx-community/MiniMax-M3.1-Flash-Text-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use mlx-community/MiniMax-M3.1-Flash-Text-4bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "mlx-community/MiniMax-M3.1-Flash-Text-4bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mlx-community/MiniMax-M3.1-Flash-Text-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mlx-community/MiniMax-M3.1-Flash-Text-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "mlx-community/MiniMax-M3.1-Flash-Text-4bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "mlx-community/MiniMax-M3.1-Flash-Text-4bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download config.json from mlx-community/MiniMax-M3.1-Flash-Text-4bit: direct link, hf CLI and curl.
- Browser
- Download file 77.2 kB
-
https://huggingface.co/mlx-community/MiniMax-M3.1-Flash-Text-4bit/resolve/main/config.json
- Command line
-
hf download hf://mlx-community/MiniMax-M3.1-Flash-Text-4bit/config.json
-
curl -L -o config.json https://huggingface.co/mlx-community/MiniMax-M3.1-Flash-Text-4bit/resolve/main/config.json
77.2 kB
| { | |
| "architectures": [ | |
| "MiniMaxM3SparseForConditionalGeneration" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_minimax_m3_vl.MiniMaxM3VLConfig" | |
| }, | |
| "eos_token_id": 200020, | |
| "image_grid_pinpoints": "[(336, 336), (336, 672), (336, 1008), (336, 1344), (336, 1680), (336, 2016), (672, 336), (672, 672), (672, 1008), (672, 1344), (672, 1680), (672, 2016), (1008, 336), (1008, 672), (1008, 1008), (1008, 1344), (1008, 1680), (1008, 2016), (1344, 336), (1344, 672), (1344, 1008), (1344, 1344), (1344, 1680), (1344, 2016), (1680, 336), (1680, 672), (1680, 1008), (1680, 1344), (1680, 1680), (1680, 2016), (2016, 336), (2016, 672), (2016, 1008), (2016, 1344), (2016, 1680), (2016, 2016)]", | |
| "image_seq_length": 576, | |
| "image_token_index": 200025, | |
| "img_token_compression_config": { | |
| "image_token_compression_method": "patch_merge", | |
| "spatial_merge_size": 2, | |
| "temporal_patch_size": 2 | |
| }, | |
| "model_type": "minimax_m3_vl", | |
| "multimodal_projector_bias": true, | |
| "num_reward_heads": 0, | |
| "process_image_mode": "dynamic_res", | |
| "projector_hidden_act": "gelu", | |
| "projector_hidden_size": 6144, | |
| "quantization": { | |
| "group_size": 32, | |
| "bits": 8, | |
| "mode": "mxfp8", | |
| "language_model.model.layers.3.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.3.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.3.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.4.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.4.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.4.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.5.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.5.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.5.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.6.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.6.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.6.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.7.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.7.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.7.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.8.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.8.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.8.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.9.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.9.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.9.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.10.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.10.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.10.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.11.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.11.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.11.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.12.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.12.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.12.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.13.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.13.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.13.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.14.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.14.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.14.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.15.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.15.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.15.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.16.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.16.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.16.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.17.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.17.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.17.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.18.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.18.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.18.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.19.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.19.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.19.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.20.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.20.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.20.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.21.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.21.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.21.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.22.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.22.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.22.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.23.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.23.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.23.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.24.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.24.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.24.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.25.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.25.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.25.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.26.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.26.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.26.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.27.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.27.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.27.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.28.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.28.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.28.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.29.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.29.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.29.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.30.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.30.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.30.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.31.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.31.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.31.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.32.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.32.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.32.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.33.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.33.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.33.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.34.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.34.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.34.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.35.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.35.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.35.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.36.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.36.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.36.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.37.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.37.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.37.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.38.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.38.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.38.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.39.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.39.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.39.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.40.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.40.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.40.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.41.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.41.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.41.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.42.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.42.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.42.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.43.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.43.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.43.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.44.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.44.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.44.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.45.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.45.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.45.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.46.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.46.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.46.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.47.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.47.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.47.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.48.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.48.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.48.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.49.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.49.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.49.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.50.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.50.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.50.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.51.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.51.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.51.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.52.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.52.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.52.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.53.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.53.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.53.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.54.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.54.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.54.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.55.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.55.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.55.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.56.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.56.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.56.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.57.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.57.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.57.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.58.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.58.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.58.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.59.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.59.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.59.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| } | |
| }, | |
| "quantization_config": { | |
| "group_size": 32, | |
| "bits": 8, | |
| "mode": "mxfp8", | |
| "language_model.model.layers.3.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.3.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.3.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.4.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.4.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.4.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.5.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.5.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.5.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.6.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.6.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.6.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.7.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.7.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.7.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.8.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.8.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.8.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.9.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.9.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.9.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.10.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.10.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.10.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.11.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.11.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.11.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.12.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.12.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.12.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.13.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.13.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.13.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.14.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.14.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.14.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.15.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.15.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.15.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.16.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.16.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.16.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.17.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.17.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.17.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.18.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.18.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.18.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.19.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.19.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.19.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.20.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.20.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.20.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.21.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.21.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.21.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.22.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.22.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.22.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.23.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.23.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.23.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.24.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.24.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.24.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.25.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.25.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.25.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.26.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.26.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.26.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.27.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.27.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.27.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.28.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.28.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.28.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.29.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.29.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.29.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.30.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.30.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.30.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.31.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.31.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.31.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.32.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.32.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.32.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.33.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.33.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.33.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.34.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.34.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.34.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.35.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.35.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.35.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.36.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.36.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.36.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.37.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.37.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.37.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.38.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.38.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.38.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.39.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.39.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.39.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.40.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.40.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.40.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.41.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.41.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.41.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.42.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.42.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.42.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.43.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.43.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.43.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.44.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.44.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.44.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.45.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.45.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.45.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.46.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.46.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.46.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.47.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.47.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.47.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.48.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.48.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.48.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.49.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.49.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.49.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.50.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.50.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.50.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.51.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.51.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.51.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.52.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.52.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.52.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.53.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.53.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.53.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.54.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.54.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.54.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.55.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.55.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.55.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.56.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.56.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.56.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.57.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.57.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.57.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.58.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.58.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.58.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.59.block_sparse_moe.switch_mlp.down_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.59.block_sparse_moe.switch_mlp.gate_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| }, | |
| "language_model.model.layers.59.block_sparse_moe.switch_mlp.up_proj": { | |
| "group_size": 16, | |
| "bits": 4, | |
| "mode": "nvfp4", | |
| "global_scale": true | |
| } | |
| }, | |
| "text_config": { | |
| "hidden_size": 6144, | |
| "intermediate_size": 3072, | |
| "num_hidden_layers": 60, | |
| "num_attention_heads": 64, | |
| "num_key_value_heads": 4, | |
| "head_dim": 128, | |
| "vocab_size": 200064, | |
| "max_position_embeddings": 1048576, | |
| "rms_norm_eps": 1e-06, | |
| "use_gemma_norm": true, | |
| "attention_output_gate": false, | |
| "rope_theta": 10000000, | |
| "rotary_dim": 64, | |
| "partial_rotary_factor": 0.5, | |
| "hidden_act": "swigluoai", | |
| "use_qk_norm": true, | |
| "tie_word_embeddings": false, | |
| "dense_intermediate_size": 12288, | |
| "shared_intermediate_size": 3072, | |
| "num_local_experts": 128, | |
| "num_experts_per_tok": 4, | |
| "n_shared_experts": 1, | |
| "scoring_func": "sigmoid", | |
| "use_routing_bias": true, | |
| "moe_layer_freq": [ | |
| 0, | |
| 0, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| "qk_norm_type": "per_head", | |
| "swiglu_alpha": 1.702, | |
| "swiglu_limit": 7.0, | |
| "routed_scaling_factor": 2.0, | |
| "sparse_attention_config": { | |
| "use_sparse_attention": true, | |
| "sparse_index_dim": 128, | |
| "sparse_num_index_heads": 4, | |
| "sparse_topk_blocks": 16, | |
| "sparse_block_size": 128, | |
| "sparse_score_type": "max", | |
| "sparse_init_block": 0, | |
| "sparse_local_block": 1, | |
| "sparse_attention_freq": [ | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| "sparse_disable_index_value": [ | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ] | |
| }, | |
| "architectures": [ | |
| "MiniMaxM3SparseForCausalLM" | |
| ] | |
| }, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.52.4", | |
| "video_token_index": 200026, | |
| "vision_feature_layer": -1, | |
| "vision_feature_select_strategy": "full" | |
| } |