Views
No views yet

⚠️ Config-only repository — no model weights. This repo contains only QuantFunc per-layer precision configs for Qwen-Image-Layered (RGBA layer decomposition). It does not contain, mirror, or redistribute any model weights. You bring your own officialQwen/Qwen-Image-Layered; these configs only tell the QuantFunc engine how to quantize it at load time, on your own machine.
libquantfunc.so / quantfunc.dll), zero Python model dependencies.Qwen-Image-Layered-Series/
├── config.json # = 50x-below INT4 map (HF download-counter query file)
└── precision-config/
├── 50x-above-fp4-sample.json # NVFP4 (FP4 weights, af8wf4 MLP) — RTX 50 / SM120+
└── 50x-below-int4-sample.json # INT4 per-group-128 — all SMs (robust fallback)Qwen/Qwen-Image-Layered (diffusers layout). Follow Qwen's distribution channels and license.auto detect (it recognizes Qwen-Image-Layered and applies the right map automatically: NVFP4 on RTX 50 / SM120+, INT4 otherwise), or point it at a file manually.| File | Target GPU | Scheme |
|---|---|---|
50x-above-fp4-sample.json | RTX 50 / SM120+ | NVFP4 (FP4 e2m1 weights); FP8 activations on the MLP only (af8wf4), attention stays W4A4 |
50x-below-int4-sample.json | RTX 20/30/40 + datacenter | INT4 per-group-128 (AUTO_4 → INT4 on all SMs); robust, fully coherent at any SM |
af8wf4 on the NVFP4 map: use_additional_t_cond + layer3d modulation make the MLP input activations large enough to saturate the FP4-activation per-16 FP8 (e4m3 max 448) microscale → green-noise background. FP8 activation (per-token FP16 act-scale) on the MLP removes it; attention tolerates FP4 activation and stays on the fast W4A4 path. This differs from the base Qwen-Image NVFP4 map by exactly one layer (the MLP up-projection net.0.proj). In both maps the img_mod/txt_mod modulation GEMMs stay INT8.configs/qwen-image-base-scheduler.json)num_inference_steps = 50true_cfg_scale = 4.0negative_promptNVFP4 (50x-above) is SM120+ only (FP4 is nativesm_120a, never PTX-JIT). On older GPUs use the INT4 map.
