Views
No views yet

| Artifact | Size | vs FP16 | What it is |
|---|---|---|---|
| FP16 transformer | 3.21 GB | 1× (100%) | reference |
| Clark Air (packed) | 374 MB | 8.6× (≈12%) | packed ternary (clark-air-sana-1.6b-packed.safetensors) |
| Clark Air (unpacked) | 3.21 GB | compatibility | this repo's transformer/, dequantized bf16, drop-in diffusers |
ℹ️ Thetransformer/here is the unpacked compatibility format: it loads in stockdiffuserswith no custom code, so it is the same 3.21 GB as FP16. The actual compressed artifact is the 374 MB packedsafetensorsin this repo.
diffusers)1import torch
2from diffusers import SanaPipeline, SanaTransformer2DModel
3
4transformer = SanaTransformer2DModel.from_pretrained(
5 "clark-labs/clark-air-sana-1.6b-1.58bit", subfolder="transformer", torch_dtype=torch.bfloat16)
6pipe = SanaPipeline.from_pretrained(
7 "Efficient-Large-Model/Sana_1600M_512px_diffusers", transformer=transformer, torch_dtype=torch.bfloat16)
8pipe.to("cuda")
9pipe("a half empty bottle of red wine", num_inference_steps=20, guidance_scale=4.5).images[0].save("out.png")