These weights from nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 are quantized for Tenstorrent Tensix NPUs (Wormhole, Blackhole), with the files in bfp4/.
Folders
| Folder | Formats | Size (GB, packed) | Mean KL to BF16 |
|---|---|---|---|
bfp4/ |
Mamba-2 in, routed/shared expert up/down bfloat4_b; attention and Mamba-2 out bfloat8_b; the rest bf16/float32 | 18.985 | 0.0543 |
| BF16 (nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16) | - | 63.16 | 0 |
| Q4_K_M (llama.cpp) | - | 24.515 | 0.0407 |
KL covers 8,188 positions of English and Korean text (WikiText-2 test, Korean Wikipedia), as plain text, with a mean-KL limit of 1.5 times the Q4_K_M reference.
How to run
hf download Xylolabs/NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix --include "bfp4/*" --local-dir NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4")
model = AutoModelForCausalLM.from_pretrained("NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4", trust_remote_code=True, dtype="bfloat16", device_map="auto")
messages = [{"role": "user", "content": "What is the capital of France?"}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=64)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The checkpoint includes NVIDIA's original model code; read it before enabling trust_remote_code=True. This reference quickstart requires CUDA. It needs Transformers 4.57.6 and mamba-ssm 2.3.2.post1; the upstream cache API is incompatible with Transformers 5. The original code uses Triton gated normalization.
Run on Tensix
Pack one matrix:
import json
import torch
import ttnn
from safetensors import safe_open
d = "NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4"
name = "backbone.layers.0.mixer.in_proj.weight"
fmt = json.load(open(f"{d}/quant4.json"))["layers"]["0"]["mixer.in_proj"]["format"]
dtype = {"bfp4": ttnn.bfloat4_b, "bfp8": ttnn.bfloat8_b}[fmt]
shard = json.load(open(f"{d}/model.safetensors.index.json"))["weight_map"][name]
with safe_open(f"{d}/{shard}", "pt") as f:
w = f.get_tensor(name).t().contiguous()
device = ttnn.open_device(device_id=0)
w_tt = ttnn.as_tensor(w, dtype=dtype, layout=ttnn.TILE_LAYOUT,
device=device, memory_config=ttnn.DRAM_MEMORY_CONFIG)
assert torch.equal(ttnn.to_torch(w_tt).float(), w.float())
ttnn.close_device(device)
python NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4/pack_tensix.py NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4
python NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4/verify_grid.py NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix/bfp4
Add --device to round-trip the packed values.
Updates
- 2026-11-27: Renamed from NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix-BFP4; files now in bfp4/.
License
The NVIDIA Nemotron Open Model License (LICENSE, as NVIDIA publishes it). The changes are listed in
NOTICE. pack_tensix.py and verify_grid.py are by Xylolabs under Apache-2.0 (CODE_LICENSE). The
original NVIDIA model code retains its Apache-2.0 headers and is covered by the same code license. That code
license grants no rights in the weights. pack_tensix.py and verify_grid.py are tensix-bfp-gptq v0.1.0's tools, unchanged.
Each folder carries its own LICENSE and NOTICE.
Citation
@misc{nvidia_nemotron_nano_v3_2025,
title = {{Nemotron 3 Nano}: Open, Efficient Mixture-of-Experts Hybrid {Mamba}-{Transformer} Model for {Agentic} Reasoning},
author = {{NVIDIA}},
year = {2025},
url = {https://arxiv.org/abs/2512.20848},
note = {Technical report}
}
Model tree for Xylolabs/NVIDIA-Nemotron-3-Nano-30B-A3B-Tenstorrent-Tensix
Base model
nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16