Views
No views yet
ideogram-ai/ideogram-4-fp8
and the custom inference code at github.com/ideogram-oss/ideogram4.
The quantization recipe and loader are included in this repo (recipe.json, safetensors_loader.py).
recipe.json for the exact module
list and tensor layout.1# 1) one-time: install the ideogram4 package + download the base components
2# (needs your own access to the GATED base repo ideogram-ai/ideogram-4-fp8)
3python download_deps.py
4
5# 2) generate
6python usage.py "a poster that says HELLO"ideogram4-int8-w8a8.safetensors — the INT8 W8A8 DiT (both CFG branches).safetensors_loader.py — reconstructs the W8A8 layers + loads them (reference impl).download_deps.py, usage.py — setup + a minimal generation example.recipe.json — the exact recipe (protected-layer list, tensor layout).safetensors_loader.pyis a reference: the math is validated, but the standalone loader hasn't been GPU-tested end to end yet — verify before production use. This INT8 build runs eager (no fused INT8 kernel yet), so it holds FP8 quality but isn't faster.
LICENSE.