Instructions to use manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 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("manjunathshiva/Nemotron-3-Super-120B-A12B-tq3") 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 manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3"
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": "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 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 "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3"
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 manjunathshiva/Nemotron-3-Super-120B-A12B-tq3
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3"
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 "manjunathshiva/Nemotron-3-Super-120B-A12B-tq3" \ --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-tq3
TurboQuant 3-bit MLX quantization of nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16 — produced with TurboQuant-MLX.
This is the standard 3-bit variant. For 48 GB-RAM Macs, prefer the hybrid tq3a-tq2e-g32 variant (manjunathshiva/Nemotron-3-Super-120B-A12B-tq3a-tq2e-g32) which keeps attention at 3-bit but pushes experts to 2-bit and fits in ~40.8 GB peak memory.
Model Details
- Base Model: nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16 (hybrid Mamba + Sparse Attention + MoE, 120 B params total, ~12 B active per token)
- Architecture: 88 layers, hybrid override pattern
MEMEMEM*EMEMEMEM*…(M = Mamba, E = MoE, * = Attention) - Experts: 512 routed experts + 1 shared expert, latent MoE with
moe_latent_size = 1024 - Quantization: TurboQuant 3-bit (Hadamard rotation + Lloyd-Max codebook),
group_size=64 - Calibration data: none — TurboQuant is data-free
- Size: ~50 GB on disk
- Peak memory at decode: ~55 GB — needs
iogpu.wired_limit_mbraised on a 64 GB Mac - Runs on: Apple Silicon (M1/M2/M3/M4) with 64 GB or more unified memory (and
iogpu.wired_limit_mbraised), or 96/128 GB Macs comfortably
Will it fit my Mac?
Don't guess, and don't download 53.2 GB to find out — ask first (needs turboquant-mlx-full >= 0.15.1):
turboquant-plan --model manjunathshiva/Nemotron-3-Super-120B-A12B-tq3
It reads only this repo's safetensors headers over the network (a couple of hundred KB, a few seconds — the weights are never fetched), then projects the peak against your machine and prints the flags to use:
Model
weights (exact) 53.2 GB
experts 48.8 GB (streamable)
resident 4.4 GB
KV cache 8.0 KB/token (Mamba hybrid: 8/88 attention layers)
Verdict: <resident | needs a wired-limit raise | streaming>
Recommended: <the exact flags for your Mac>
Planning for a machine you're not sitting at — deciding whether a 16 GB mini or a 64 GB Mac can take this — is what --wired-gb / --ram-gb are for:
turboquant-plan --model manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 \
--wired-gb 10.5 --ram-gb 16 --context 8192
turboquant-doctor runs the same projection plus a readiness check; both take --json. The projection is calibrated against real measurements on a 16 GB Mac mini rather than estimated from theory — on the 9.4 GB ternary 35B it predicts a 10.44 GB peak where that machine measures 10.42.
Requirements
pip install "turboquant-mlx-full>=0.2.0" "mlx-lm>=0.31.3"
If you're on a 64 GB Mac, raise the wired-memory limit before generating with this model:
sudo sysctl iogpu.wired_limit_mb=57344
Quick Start
Download the model
hf download manjunathshiva/Nemotron-3-Super-120B-A12B-tq3 \
--local-dir ~/models/nemotron-3-super-120b-tq3
Generate text — recommended config
The Nemotron-3 family emits a <think> reasoning trace before its final answer, and the chat template primes EOS as the top-1 logit at the start of the assistant turn. Use --min-tokens 50 to ensure generation actually starts. The small repetition penalty prevents long-form generation from collapsing into degenerate tail loops past ~1500 tokens.
turboquant-generate \
--model ~/models/nemotron-3-super-120b-tq3 \
--prompt "Why is the sky blue? Explain in detail." \
--max-tokens 4096 --min-tokens 50 \
--temp 0.7 --rep-penalty 1.04 --rep-ctx 256
Generate with TurboQuant KV cache (v0.2+) — additional headroom for long context
For long-context generation, layer the v0.2 KV-cache compression on top. K8/V3 mixed precision is required when stacking on TurboQuant-quantized weights — symmetric K3 compounds the noise and breaks long-form output. The 128-token fp16 sink protects attention sinks; the cache builder is hybrid-aware and leaves Mamba/conv-layer caches untouched.
turboquant-generate \
--model ~/models/nemotron-3-super-120b-tq3 \
--prompt "Why is the sky blue? Explain in detail." \
--max-tokens 4096 --min-tokens 50 \
--temp 0.7 --rep-penalty 1.04 --rep-ctx 256 \
--kv-k-bits 8 --kv-v-bits 3 --kv-min-tokens 128
Math/numeric prompts — omit rep-penalty
Step-by-step arithmetic on this hybrid is degraded under any non-zero --rep-penalty. For numeric/math prompts, omit it:
turboquant-generate \
--model ~/models/nemotron-3-super-120b-tq3 \
--prompt "A train leaves Boston at 9:00 AM going 60 mph..." \
--max-tokens 2048 --min-tokens 50 \
--temp 0.7
License
This model inherits the NVIDIA Nemotron Open Model License from the base model.
Citation & Project
Built with TurboQuant-MLX. For the science (Hadamard rotation + Lloyd-Max codebooks for data-free quantization), see Zandieh et al., 2025 — TurboQuant: Online Vector Quantization with Optimal Distortion-Rate Trade-off.
- Downloads last month
- 125
3-bit