Instructions to use MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit 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("MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit") 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 MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit 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 "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit"
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 MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit"
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 "MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit" \ --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"
Nemotron-3-Super-120B-A12B-MLX-3.6bit
Mixed-precision MLX quantization of NVIDIA Nemotron-3-Super-120B-A12B — a hybrid Mamba2 + MoE + Attention architecture.
- 3.623 BPW | 51 GB
🚀 Hardware Optimization
This model brings 120B-class performance to Apple Silicon. By utilizing advanced mixed-precision quantization, we've successfully squeezed the memory footprint from 240GB BF16 down to 51GB while preserving near-lossless generation quality compared to standard 4-bit uniform quantization.
This optimization unlocks two distinct local inference experiences:
- 64GB Unified Memory (Minimum): Pushes the hardware boundaries to make local 120B model inference possible on edge devices.
- 96GB+ Unified Memory (Recommended): Delivers an uncompromised, buttery-smooth experience. The efficient footprint frees up massive headroom for the KV cache, completely unlocking ultimate long-context capabilities.
Quantization
4-tier mixed precision by functional sensitivity:
| Bits | Layers | % Params | Description |
|---|---|---|---|
| BF16 | — | ~0.02% | norm, router, bias — tiny count, cannot tolerate precision loss |
| 6-bit | 94 | ~3% | Embeddings, lm_head, all Attention q/k/v/o, edge Mamba & MoE (layers 0–10, 77–87) |
| 4-bit | 180 | ~8% | Mid-layer Mamba in/out_proj, MoE shared_expert & latent_proj |
| 3-bit | 80 | ~89% | Expert FFN (512 experts × 40 layers, switch_mlp) |
Benchmark (M2 Max 96GB, oMLX)
| Test | pp TPS | tg TPS |
|---|---|---|
| pp1024/tg128 | 151.9 tok/s | 31.6 tok/s |
| pp4096/tg128 | 171.7 tok/s | 30.0 tok/s |
Requirements
- mlx-lm ≥ 0.31.2 (dev) — older versions lack Nemotron-H / latent projection support
- Apple Silicon with ≥ 96GB unified memory recommended
Usage
from mlx_lm import load, generate
model, tokenizer = load("MoringLabs/Nemotron-3-Super-120B-A12B-MLX-3.6bit")
messages = [{"role": "user", "content": "Hello!"}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
response = generate(model, tokenizer, prompt=prompt, max_tokens=200)
print(response)
License
- Downloads last month
- 503
3-bit