Views
No views yet
config.json from the matching official
nvidia/Cosmos3-* repo.| Model | bf16 | int8 | int4 |
|---|---|---|---|
Cosmos3-Nano | 30 GB | 16.5 GB | 12.4 GB |
Cosmos3-Super | 128 GB | 65.7 GB | 46.8 GB |
Cosmos3-Super-Image2Video | 128 GB | 65.6 GB | 46.7 GB |
Cosmos3-Super-Image2Video-4Step | 128 GB | 65.6 GB | 46.7 GB |
Cosmos3-Edge | 6.7 GB | 3.9 GB | 3.0 GB |
Cosmos3-<name>-int8-convrot.safetensors and Cosmos3-<name>-int4-convrot.safetensors.
int4 and int8 are provided for every model.Cosmos3-Edge is trained on JSON-structured prompts and is less robust to
plain text than the larger Nano/Super. Plain text usually works, but on some detailed scenes (notably
reflective surfaces) it can produce flare/pulsation artifacts; wrapping the text as
{"temporal_caption": "<your prompt>"} avoids them. This is a base-model property, not a quantization
effect (it shows in bf16 too).| Model | Min VRAM | RAM (bf16 / int8 / int4) |
|---|---|---|
Cosmos3-Edge | ≈6 GB | 14 / 7 / 7 GB |
Cosmos3-Nano | ≈7 GB | 58 / 21 / 20 GB |
Cosmos3-Super (t2v & i2v) | ≈8–9 GB | 240 / 67 / 63 GB |
nvidia/Cosmos3-<name> into ComfyUI/models/cosmos3/<name>/.transformer/ folder, delete the bf16 shards and *.index.json, then put the quantized
file there renamed to diffusion_pytorch_model.safetensors. Keep the official config.json,
vae/, text_tokenizer/, sound_tokenizer/.weight_dtype = default); the loader reads the format from the
checkpoint metadata. Requires comfy-kitchen (int8 from ComfyUI >= 0.27) and the latest
ComfyUI-Cosmos3 (int4 needs the ConvRot-aware loader).proj_in, proj_out, time_embedder, audio_proj,
modality_embed, the embeddings, and all norms and biases.weight_scale, float32, [out, 1]), with a
group-wise Hadamard rotation (ConvRot, group 256) applied before quantization and undone at load.
comfy_quant tag int8_tensorwise, convrot=true. No calibration: at 8-bit the per-channel scale and
the rotation keep the round-to-nearest error small — error feedback (GPTQ) is only needed at int4.
Produced with
convert_to_quant:ctq -i transformer_bf16.safetensors -o out_int8_convrot.safetensors \
--int8 --scaling_mode row --simple --convrot --convrot-group-size 256 \
--comfy_quant --save-quant-metadata --cosmos3 --device cuda --low-memoryuni_pc_bh2; 4-step model: 4 steps, cfg 1, euler) over
≈4 prompts, with a forward pre-hook on every target linear. Keep a reservoir of up to 4096 rows
per layer (random replacement beyond that). The understanding tower sees the text prefill; the
generation tower sees every denoising step.H = XᵀX · 2/N from the rotated activations; diagonal damping raised through
{0.01, 0.03, 0.1, 0.3, 1, 3} × mean(diag) until the Cholesky factors; columns processed in blocks
of 128 with per-column error feedback into the not-yet-quantized columns; plain round-to-nearest
only if damping never succeeds.[out, 1] scale). INT4 on attention produces visible artifacts.config.json — e.g. Cosmos3-Super-Image2Video packs 384 MLP
linears (INT4) + 512 attention linears (INT8).gemv_awq_w4a16, which is non-deterministic (atomic accumulation jitters the video frame-to-frame) and
numerically off on these shapes.nvidia/Cosmos3-* models).