Nemotron-Labs-Image-30B-A3B, NVFP4 single file
An unofficial conversion of nvidia/Nemotron-Labs-Image-30B-A3B (130 GB of F32 shards) into one 24 GB safetensors file. The routed experts are quantized to NVFP4. The generator, its tokenizer and its image decoder are all in the one file.
Disclaimer. This is a community conversion, not an NVIDIA release. It was uploaded as soon as the conversion finished, before any image was generated from it. The routed experts are 4-bit, so images will differ from the original model's. It is not loadable by
transformersor vLLM: it is written for the comfyui-backend-but-rust engine's own loader. Use at your own risk.
License
The original model and this derivative are under the NVIDIA License: non-commercial use only (research or evaluation). The license and NOTICE are included unchanged. Model by NVIDIA (Guo Chen, Fuxiao Liu, Haoqin Tu, Yiyang Zhou, Andrew Tao, Bryan Catanzaro, Guilin Liu et al.).
What the file holds
| Tensors | Format |
|---|---|
Routed experts, backbone.layers.N.mixer.experts.E.{up,down}_proj | NVFP4: weight U8 [N, K/2], two E2M1 values a byte, element 2i in the low nibble; weight_scale F8_E4M3 [N, K/16], row major, one scale per 16 columns; weight_scale_2 F32 scalar. A value is e2m1 * f32(e4m3) * scale_2. Each 16-value block's scale is picked from 12 candidates at or below its absolute maximum, for the least squared error |
Mamba-2 projections, attention, shared experts, embeddings, lm_head | BF16 |
| Norms, Mamba-2 vectors, conv1d kernels, the MoE router and its bias | F32, as shipped |
image_decoder.* | The decoder half of Nemotron-Labs-Image-Tokenizer (post-quant embedding, 24 ViT blocks, the output head and the 196 560-entry codebook), F32 as shipped. The encoder and the distill head are left out |
tokenizer.json | The text tokenizer's JSON file, as U8 bytes |
The __metadata__ holds nemotron_image (the format, nvfp4-v1), config (the original config.json), manifest
(unitron_extension_manifest.json) and decoder_config (the tokenizer model's config.json).
Making it yourself
The conversion script downloads each original shard into RAM, converts it and drops it, so it needs only about 30 GB of
disk. It needs Python with torch and a CUDA GPU. The script is included here and lives in the engine's repository as
tools/nemotron_image_convert.py:
python nemotron_image_convert.py Nemotron-Labs-Image-30B-A3B-nvfp4.safetensors