thalismind Claude Opus 5.5 commited on
Commit ·
fe3fbf8
1
Parent(s): fb4c573
feat: add the r80-1202 5-step student ONNX exports
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files changed (5)
18 unmodified lines19202122232425135 unmodified lines16116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119218 unmodified linesSolstice 80M generates 32×32 RGBA pixel-art sprites from text. It is a rectified-flow hourglass diffusion transformer with a frozen T5Gemma-2b text encoder.Models are named by architecture and snapshot date (MMDD). The current model is **r80-1202**. Its teacher and a distilled 20-step student are included as Safetensors. The 20-step and 10-step students are exported to ONNX. The teacher's ONNX export and the 5-step student are in progress and will be added when they are ready. The previous model, **s80-1201**, is retired; its checkpoints, students, and ONNX exports are still in the repository and are described under [s80-1201 (retired)](#s80-1201-retired).135 unmodified lines## ONNX exports| Variant | 20-step student | 10-step student | Size | Execution provider ||---|---|---|---:|---|| fp32 | [ONNX](onnx/r80-1202/student-20-step/fp32.onnx) | [ONNX](onnx/r80-1202/student-10-step/fp32.onnx) | 285 MB | CPU, CUDA || bf16 | [ONNX](onnx/r80-1202/student-20-step/bf16.onnx) | [ONNX](onnx/r80-1202/student-10-step/bf16.onnx) | 145 MB | CUDA only || bf16 weights, fp32 compute | [ONNX](onnx/r80-1202/student-20-step/bf16w.onnx) | [ONNX](onnx/r80-1202/student-10-step/bf16w.onnx) | 145 MB | CPU, CUDA || dynamic int8 | [ONNX](onnx/r80-1202/student-20-step/int8_dynamic.onnx) | [ONNX](onnx/r80-1202/student-10-step/int8_dynamic.onnx) | 81 MB | CPU |Accuracy against PyTorch fp32 over 592 full samples per student (guidance 4): mean RGB difference on a 0-255 scale, share of pixels off by more than 8, and share of alpha flips.| Variant | 20-step student | 10-step student ||---|---|---|| fp32 | 0.03 / 0.01% / 0.001% | 0.05 / 0.07% / 0.003% || bf16 | 1.36 / 3.5% / 0.31% | 1.38 / 3.4% / 0.21% || bf16w | 0.82 / 1.9% / 0.12% | 0.58 / 1.1% / 0.07% || dynamic int8 | 6.16 / 22.5% / 1.2% | 6.02 / 23.6% / 1.1% || PyTorch bf16, for reference | 1.02 / 2.2% / 0.20% | 0.99 / 2.4% / 0.15% |fp32 matches PyTorch almost exactly. Dynamic int8 drifts visibly in colour; prefer fp32 or bf16w unless size matters most.Inputs are `x` `[B,4,32,32]`, `t` `[B]`, `pool` `[B,2304]`, `tokens` `[B,64,2304]`, `mask` `[B,64]`, and `w` `[B]` (guidance scale). Output is velocity `v` `[B,4,32,32]`. Students run without self-conditioning, so they have no `sc` input. At batch 16, a 20-step sprite takes about 0.66 s on a 16-thread CPU (fp32) and 38 ms with CUDA; a 10-step sprite about 0.34 s and 19 ms.```shpython generate.py onnx/r80-1202/student-10-step/fp32.onnx --prompt "a red potion bottle" --output potion.png```The 10-step student was distilled from the 20-step student for 4k steps; the checkpoint at 2k was picked by eye. The teacher export (with an extra `sc` input `[B,4,32,32]` for self-conditioning, which `generate.py` already feeds) and the 5-step student will follow in the same layout. The [s80-1201 exports](#s80-1201-onnx-exports) are unchanged.## s80-1201 (retired)18 unmodified lines19202122232425135 unmodified lines16116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119218 unmodified linesSolstice 80M generates 32×32 RGBA pixel-art sprites from text. It is a rectified-flow hourglass diffusion transformer with a frozen T5Gemma-2b text encoder.Models are named by architecture and snapshot date (MMDD). The current model is **r80-1202**. Its teacher and a distilled 20-step student are included as Safetensors. The 20-, 10- and 5-step students are exported to ONNX. The teacher's ONNX export is in progress and will be added when it is ready. The previous model, **s80-1201**, is retired; its checkpoints, students, and ONNX exports are still in the repository and are described under [s80-1201 (retired)](#s80-1201-retired).135 unmodified lines## ONNX exports| Variant | 20-step student | 10-step student | 5-step student | Size | Execution provider ||---|---|---|---|---:|---|| fp32 | [ONNX](onnx/r80-1202/student-20-step/fp32.onnx) | [ONNX](onnx/r80-1202/student-10-step/fp32.onnx) | [ONNX](onnx/r80-1202/student-5-step/fp32.onnx) | 285 MB | CPU, CUDA || bf16 | [ONNX](onnx/r80-1202/student-20-step/bf16.onnx) | [ONNX](onnx/r80-1202/student-10-step/bf16.onnx) | [ONNX](onnx/r80-1202/student-5-step/bf16.onnx) | 145 MB | CUDA only || bf16 weights, fp32 compute | [ONNX](onnx/r80-1202/student-20-step/bf16w.onnx) | [ONNX](onnx/r80-1202/student-10-step/bf16w.onnx) | [ONNX](onnx/r80-1202/student-5-step/bf16w.onnx) | 145 MB | CPU, CUDA || dynamic int8 | [ONNX](onnx/r80-1202/student-20-step/int8_dynamic.onnx) | [ONNX](onnx/r80-1202/student-10-step/int8_dynamic.onnx) | [ONNX](onnx/r80-1202/student-5-step/int8_dynamic.onnx) | 81 MB | CPU |Accuracy against PyTorch fp32 over 592 full samples per student (guidance 4): mean RGB difference on a 0-255 scale, share of pixels off by more than 8, and share of alpha flips.| Variant | 20-step student | 10-step student | 5-step student ||---|---|---|---|| fp32 | 0.03 / 0.01% / 0.001% | 0.05 / 0.07% / 0.003% | 0.03 / 0.01% / 0.003% || bf16 | 1.36 / 3.5% / 0.31% | 1.38 / 3.4% / 0.21% | 1.18 / 2.9% / 0.20% || bf16w | 0.82 / 1.9% / 0.12% | 0.58 / 1.1% / 0.07% | 0.51 / 0.8% / 0.07% || dynamic int8 | 6.16 / 22.5% / 1.2% | 6.02 / 23.6% / 1.1% | 5.34 / 22.8% / 1.1% || PyTorch bf16, for reference | 1.02 / 2.2% / 0.20% | 0.99 / 2.4% / 0.15% | 0.84 / 1.7% / 0.13% |fp32 matches PyTorch almost exactly. Dynamic int8 drifts visibly in colour; prefer fp32 or bf16w unless size matters most.Inputs are `x` `[B,4,32,32]`, `t` `[B]`, `pool` `[B,2304]`, `tokens` `[B,64,2304]`, `mask` `[B,64]`, and `w` `[B]` (guidance scale). Output is velocity `v` `[B,4,32,32]`. Students run without self-conditioning, so they have no `sc` input. At batch 16, a 20-step sprite takes about 0.66 s on a 16-thread CPU (fp32) and 38 ms with CUDA; a 10-step sprite about 0.34 s and 19 ms; a 5-step sprite about 0.17 s and 10 ms.```shpython generate.py onnx/r80-1202/student-10-step/fp32.onnx --prompt "a red potion bottle" --output potion.png```The 10-step student was distilled from the 20-step student for 4k steps; the checkpoint at 2k was picked by eye. The 5-step student was distilled from the 10-step student for 4k steps; the final checkpoint was picked by eye. The teacher export (with an extra `sc` input `[B,4,32,32]` for self-conditioning, which `generate.py` already feeds) will follow in the same layout. The [s80-1201 exports](#s80-1201-onnx-exports) are unchanged.## s80-1201 (retired)
123version https://git-lfs.github.com/spec/v1oid sha256:9a652a67b86f0315a2537369d16c3cc946e186a491701117c67526815e2239c0size 151789787123version https://git-lfs.github.com/spec/v1oid sha256:13d9db22a2d4d350b9b7a5618625e65aabdc6ac868f432fe2debe78438a2ce4esize 152012815123version https://git-lfs.github.com/spec/v1oid sha256:d19222bd2233037d0d1fe11e473cd9907b88e85512db6152d5971fbe95dcced2size 298725945123version https://git-lfs.github.com/spec/v1oid sha256:b7dc92c8fbf119a7de1a69dc952ad5f12d2f15575cf47e363ef1134914e8f362size 84826666README.md+16-16
onnx/r80-1202/student-5-step/bf16.onnxAdded+3
onnx/r80-1202/student-5-step/bf16w.onnxAdded+3
onnx/r80-1202/student-5-step/fp32.onnxAdded+3
onnx/r80-1202/student-5-step/int8_dynamic.onnxAdded+3