Nemotron-Labs-Image-30B-A3B, converted for the
native ComfyUI nodes of ComfyUI-Nemotron-Image. NVIDIA's model is a 30B mixture-of-experts language model, 3B active per token, that writes an image
as 16×16-pixel codes, row by row. These files hold the whole model in one file each, quantized on the routed experts,
which are 90% of the weights. The pixel decoder is a separate file that loads as a stock ComfyUI VAE.
Research or evaluation only. These files are derivative works of NVIDIA's model and stay under the NVIDIA License: non-commercial use, research or evaluation only (section 3.3). See License.
An 84-second explainer of how the model writes a picture.
All twenty come from the int8 file at seed 42, four images per prompt, on an RTX 3090 or 4090. Nothing was retouched; the beach photo has an 80-pixel strip cropped from the bottom, where the model wrote a caption. Click an image for the full size.
Prompts and sizes
- Perfume bottle on wet slate, 1024×1024, image 2 of 4: Product photo of a clear glass perfume bottle with a brushed brass cap, standing on wet black slate, water droplets on the glass, a slice of blood orange beside it, dark background, hard rim light from behind, sharp reflections and caustics on the slate
- Astronaut in a wheat field, 1360×768, image 2 of 4: A film still of a lone astronaut in a wheat field.
- Magazine cover, 880×1184, image 4 of 4: Magazine cover with a male model in a pastel suit against a mint wall, the masthead "NORRSKEN" at the top and cover lines on the left.
- Lemonade ad, 880×1184, image 4 of 4: An ad for a fictional lemonade brand called "Sólida". A sweating glass bottle bursts through a wall of lemon slices, with ice and water splashing around it. Bright yellow background, hard sunlight shadows, the logo clearly printed on the bottle.
- Fox icon, 880×1184, image 4 of 4: A Byzantine-style icon of a fox saint with a golden halo, egg tempera on wood, gold-leaf background, cracked varnish.
- Exploded wristwatch, 880×1184, image 4 of 4: An exploded view of a mechanical wristwatch, every gear and spring floating in order above the case, studio lighting.
- Typewriter, 1024×1024, image 4 of 4: A vintage typewriter, top-down, a sheet of paper in it reading "Hello world".
- Stippled skull, 1024×1024, image 2 of 4: A stippled illustration of a human skull made entirely of tiny black dots.
- Jumping spider, 1024×1024, image 2 of 4: macro, jumping spider, fuzzy, big eyes, green leaf, dew drops, studio flash
- Northern lights over a cabin, 1248×832, image 3 of 4: Northern lights over a frozen lake in Swedish Lapland, a small red wooden cabin with a lit window on the shore, snow-covered spruce trees, stars visible, long-exposure photograph.
- Outdoor product range, 1248×832, image 1 of 4: A product range photo for a fictional outdoor brand called "Fjällgård". Seven items are laid out on a large slab of pale grey granite outdoors: a dark green waterproof jacket folded neatly, a pair of brown leather hiking boots with red laces, a steel water bottle with the logo engraved on it, a wool beanie, a compass, a folded paper map and a small enamel mug. Each item has its own space with even gaps between them, all facing the same way, as in a catalogue. Lichen and a few pine needles on the rock add texture. Soft overcast light with gentle shadows toward the lower right. Shot from directly above, everything in focus, true colours, the logo readable on the bottle.
- Beach editorial, 880×1184, image 3 of 4: Plus-size model in a bright yellow swimsuit on a rocky Mediterranean beach, hard midday sun, confident pose, editorial colour.
- Person at a redwood, 768×1360, image 4 of 4: A tiny person at the foot of a giant redwood, looking up.
- Cube, sphere, cylinder, 880×1184, image 1 of 4: A red cube on top of a blue sphere, which sits on top of a green cylinder.
- Fly's eye, 1024×1024, image 1 of 4: Extreme macro of a housefly's compound eye, every facet visible, focus-stacked, iridescent colours.
- Golden Age still life, 1184×880, image 3 of 4: Dutch Golden Age still life. A silver goblet knocked over on a white tablecloth, a half-peeled lemon with its rind spiralling over the edge of the table, oysters, and a fly on a bunch of grapes. Dark background, oil glazes, every reflection painted precisely.
- Chrome sphere, 1024×1024, image 3 of 4: A chrome sphere on a checkerboard floor reflecting the room and the photographer.
- Living room of clouds, 1184×880, image 1 of 4: A living room flooded with clouds up to the sofa cushions, a man calmly reading a newspaper, photograph.
- Red hat, blue hat, 1184×880, image 4 of 4: A man in a red hat and a blue scarf next to a woman in a blue hat and a red scarf.
- Yoga class, 1248×832, image 1 of 4: A yoga class of five people in warrior II pose, all facing the same way.
Files
| File | Size | Routed experts | Shared expert | Mamba and attention | Error vs bf16 | Pick it for |
|---|---|---|---|---|---|---|
| W4A8 | 22.7 GB | W4A8 | int8 | bf16 | 0.033 | any card from 12 GB |
| W4A8 int8 dense | 21.6 GB | W4A8 | int8 | int8 | 0.034 | the same cards, the fastest file: 13–16% faster at one image, error 4% higher |
| W6A8 | 30.0 GB | W6A8 | int8 | bf16 | 0.017 | a 24 GB card, closer to bf16, about a quarter more time than W4A8 |
| int8 | 35.5 GB | int8 | int8 | bf16 | 0.015 | the closest to bf16, 31–40% more time than W4A8 |
| bf16 | 65.3 GB | bf16 | bf16 | bf16 | — | the reference, about 3.9 min an image with about 80 GB of RAM |
| pixel decoder | 1.24 GB | — | needed by every file |
Error is the KL divergence of the next-code distribution from the bf16 file, with bf16's expert choices forced (see Quality). Every quantized file keeps the router, norms, convolutions, embedding, LM head and codebook in bf16.
Where the experts go.
- W4A8 fits on a 24 GB card: 18.8 GiB of VRAM, 1.25 GiB more for the live preview, and 2.8 GiB of system RAM. The int8 dense file takes 1 GiB less VRAM.
- W6A8, int8 and bf16 keep their experts in system RAM (27, 30.5 and 57.5 GiB of the server's own memory) and a cache of the ones in use on the card. On a 24 GB card the cache serves 97–99.7% of the reads for W6A8 and int8, and 84% for bf16.
- bf16 needs about 80 GB of RAM available to ComfyUI. With less, it runs on the plain PyTorch path, about 30 min an image, and says so in the log.
- int8 with about 48 GB of RAM: ComfyUI's RAM-pressure cache can drop the loaded model after each prompt, so every prompt loads it again (about 11 s more).
- VRAM: the output head's text rows stay in system RAM. With dynamic VRAM (ComfyUI's default) the decoder loads its 0.63 GiB on demand and the tokenizer's encoder never reaches the card.
Quick start
Install the nodes: in
ComfyUI/custom_nodes, rungit clone https://github.com/PedroMarinhoDev/ComfyUI-Nemotron-Image(or use Install via Git URL in ComfyUI Manager) and restart ComfyUI. There is nothing topip install.Download one model file into
models/diffusion_models/nemotron-image/and the pixel decoder intomodels/vae/nemotron-image/:hf download PedroMarinhoDev/Nemotron-Labs-Image-ComfyUI nemotron_labs_image_30b_a3b_w4a8.safetensors --local-dir ComfyUI/models/diffusion_models/nemotron-image hf download PedroMarinhoDev/Nemotron-Labs-Image-ComfyUI nemotron_labs_image_tokenizer_bf16.safetensors --local-dir ComfyUI/models/vae/nemotron-imageFor another precision, use its file in the first line:
nemotron_labs_image_30b_a3b_w4a8_int8dense.safetensors,nemotron_labs_image_30b_a3b_w6a8.safetensors,nemotron_labs_image_30b_a3b_int8_convrot.safetensorsornemotron_labs_image_30b_a3b_bf16.safetensors.Open the workflow
example_workflows/nemotron_image_t2i.jsonfrom the pack, write the prompt in Nemotron Image Generate and run.
The workflow uses three nodes of the pack and two core nodes:
| Node | Does |
|---|---|
| Load Nemotron Image | Loads a model file. experts: auto puts them on the GPU when the whole file fits, else in system RAM with a cache on the card. |
| Nemotron Image Generate | Takes the prompt, size, seed and batch, and returns a LATENT, as KSampler does. With the decoder connected to its vae input it shows a live preview of the rows written so far. |
| Load Nemotron Image Decoder | Loads the decoder file as a stock VAE. |
| VAE Decode, Save Image | Core nodes: codes to pixels, then the file. |
Sizes are multiples of 16; the model card's recommended sizes are 1024×1024, 1184×880, 1248×832 and 880×1184, and they take the same time. Write the prompt in detail: colours, quantities, text to show, shapes, where things are.
Speed
Seconds per 1024×1024 image (4,250 tokens), from queueing to the saved image, through a real ComfyUI server. Hits are the expert cache's share of expert reads.
| Card | File | First call | Warm, 1 image | 4 per batch | 8 per batch | Hits at 1 / 4 / 8 |
|---|---|---|---|---|---|---|
| RTX 4090 | W4A8 | 42.6 | 26.1 | 9.6 | 6.6 | resident |
| RTX 4090 | W4A8 int8 dense | 25.8 | 21.8 | 8.5 | 6.1 | resident |
| RTX 4090 | W6A8 | 42.7 | 33.1 | 12.2 | 9.5 | 99.4 / 99.7 / 99.5% |
| RTX 4090 | int8 | 43.1 | 36.6 | 21.7 | 17.2 | 98.5 / 97.2 / 96.9% |
| RTX 4090 | bf16 | 236.7 | 232.7 | 83.8% | ||
| RTX 3090 | W4A8 | 47.6 | 30.8 | 12.7 | 11.0 | resident |
| RTX 3090 | W4A8 int8 dense | 30.8 | 26.7 | 11.7 | 10.2 | resident |
| RTX 3090 | W6A8 | 49.0 | 38.7 | 16.2 | 13.6 | 99.4 / 99.7 / 99.6% |
| RTX 3090 | int8 | 51.4 | 40.3 | 22.6 | 18.9 | 98.6 / 97.4 / 97.1% |
| RTX 3090 | bf16 | 231.8 | 222.6 | 84.0% |
Every row was measured with nothing else on either card. The first call includes loading the file and, for the files with experts in RAM, copying them there. bf16's pace is set by the link to the card, not by the card: a warm image reads about 1.9 TB of missed experts.
Smaller cards, measured on the 4090 with the rest of the card held by another process (one image, warm):
| Card | File | Seconds per image | Hits |
|---|---|---|---|
| 16 GB | W4A8 | 36.1 | 98.5% |
| 16 GB | W6A8 | 94.7 | 90.4% |
| 12 GB | W4A8 | 77.2 | 88.7% |
Which file for your card:
- 24 GB: a W4A8 file: the int8 dense one takes 22 s an image on a 4090 and 27 s on a 3090, the other 26 and 31 s, and much less per image in batches. W6A8 if you want it nearer bf16, at about a quarter more time.
- bf16 only to check against the reference: about 3.9 min an image on either card, with about 80 GB of RAM.
- 16 GB: W4A8, 36 s an image through the expert cache. W6A8 takes 95 s.
- 12 GB: W4A8, 77 s an image. It is the only file measured on that size.
Quality
Each file is teacher-forced on four real 1024² images (a photo, a portrait, a text-heavy cover and an illustration; 16,384 positions in all): the bf16 file's image codes go through it, and the KL divergence from bf16's next-code distribution is measured at the sampling temperature, 0.9. Lower is closer to bf16.
| File | KL, bf16's expert choices forced | KL, the file's own expert choices |
|---|---|---|
| int8 ConvRot | 0.0149 | 0.0267 |
| W6A8 | 0.0169 | 0.0288 |
| W4A8 | 0.0331 | 0.0465 |
| W4A8 int8 dense | 0.0344 | 0.0480 |
The floor is 0.016: NVIDIA's own model run in bf16 instead of fp32 already moves by that much, so int8 and W6A8 are within the rounding noise of bf16 itself. W4A8 adds about as much again; the int8 dense variant adds 3–4% to that.
In 36 test images (6 prompts × 2 seeds × W4A8, W6A8 and int8), the three files look like one quality class:
- Text was exact on 34 of 36 requested signs, labels and poster lines. The two misses were one extra letter in the bakery sign at one seed ("NEMOTRCON" on W4A8, "NEMOTRRON" on int8).
- Anatomy held up: no extra tails or limbs in six foxes and a cat at four sizes.
- Short prompts invite unasked text: the model card's one-line fox prompt added a signpost with garbled writing in 4 of 6 images.
The same seed gives a different image on each file, so the files do not compare side by side; the KL above is the measure of their difference.
How these files were made
From nvidia/Nemotron-Labs-Image-30B-A3B. Changes from NVIDIA's release:
- Conversion: the sharded checkpoint becomes one
.safetensorsfile in bf16; the 128 routed experts of each MoE layer are stacked into one bank per projection,[128, out, in]; the l2-normalised codebook is added to the main file; the tokenizer's distillation head is dropped from the decoder file. The bf16 file is this conversion and nothing else. - Quantization, from the bf16 file, in ComfyUI's comfy_kitchen layouts (the stock ones its loader reads):
- Routed experts in the file's format: int8 per channel, or W6A8 / W4A8 (6-bit or 4-bit weights with a scale per 16 inputs; W4A8 uses comfy_kitchen's fixed 16-entry table). All after a ConvRot rotation in groups of 64, because no input width of this model (2688, 1856, 3712) is a multiple of 256.
- Rounding: round to nearest with an fp32 rotation and a small search on each group's scale. No GPTQ, no calibration data.
- Shared expert: int8 ConvRot in every quantized file. Teacher-forced, it cut W4A8's error by 59% and W6A8's by 30% against the shared expert in the file's own format.
- int8 dense W4A8: also the Mamba
in_proj/out_projand attentionq/k/v/o_projin int8 ConvRot, group 64 on the 2688-wide inputs and 256 on the 4096-wide ones. The LM head stays bf16: in int8 it raised the error by 8% alone and 11.5% with the others.
- Decoder: NVIDIA's image tokenizer, the decoder half, in bf16.
License
These files are derivative works of Nemotron-Labs-Image-30B-A3B and its image tokenizer and are distributed under the NVIDIA License, a complete copy of which is in this repository. The license limits the model and every derivative work of it to non-commercial use, which it defines as research or evaluation purposes only (section 3.3). The same limit applies to anyone who receives these files from this repository.
NVIDIA's notice, as it ships with the model:
Nemotron-Labs-Image-30B-A3B
Copyright and Source Attribution Notices
NVIDIA-developed visual tokenizer
--------------------------------
Files:
Nemotron-Labs-Image-Tokenizer/configuration_l24sq_vit.py
Nemotron-Labs-Image-Tokenizer/modeling_l24sq_vit.py
Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: LicenseRef-NvidiaProprietary
Use of these files is governed by the NVIDIA License in the repository root
(LICENSE).
Source files carrying Apache-2.0 notices
---------------------------------------
The following copyright and license notices are reproduced from the named
source files. Their existing license and attribution headers are retained.
The Apache License, Version 2.0 text is included in licenses/Apache-2.0.txt.
configuration_nemotron_h.py
Copyright 2024 AI21 Labs Ltd. and the HuggingFace Inc. team. All rights reserved.
Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
Licensed under the Apache License, Version 2.0.
modeling_nemotron_h.py
Copyright 2024 HuggingFace Inc. team.
Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
Licensed under the Apache License, Version 2.0.
tokenization_unitron_lazy_vision.py
Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
Licensed under the Apache License, Version 2.0.
The model and its weights are Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. This repository is not affiliated with, sponsored or endorsed by NVIDIA.
Credit and citation
The model, its image tokenizer and the paper are NVIDIA's: Guo Chen, Fuxiao Liu, Haoqin Tu, Yiyang Zhou, Andrew Tao, Bryan Catanzaro and Guilin Liu (core contributors), with Cihang Xie, Yuyin Zhou, Huaxiu Yao, Lidong Lu and Zongxia Li. If you use the model, cite their paper, Nemotron-Labs-VisualCreation: Pixel as Code for Agentic Visual Creation:
@misc{chen2026nemotronlabsvisualcreationpixelcodeagentic,
title={Nemotron-Labs-VisualCreation: Pixel as Code for Agentic Visual Creation},
author={Guo Chen and Fuxiao Liu and Haoqin Tu and Yiyang Zhou and Andrew Tao and Bryan Catanzaro and Cihang Xie and Yuyin Zhou and Huaxiu Yao and Didong Lu and Zongxia Li and Guilin Liu},
year={2026},
eprint={2611.31358},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2611.31358},
}
Model tree for PedroMarinhoDev/Nemotron-Labs-Image-ComfyUI
Base model
nvidia/Nemotron-Labs-Image-30B-A3B


















