thalismind Claude Opus 5.5 commited on
Commit ·
a4bec64
1
Parent(s): fd6181b
feat: add the r80-1202 20-step student ONNX exports
Browse filesfp32, bf16, bf16w and dynamic int8 exports of the 20-step student,
with their full-sampler accuracy against PyTorch fp32 (592 samples)
and CPU/CUDA timings from the export report. Checked end to end with
generate.py on CPU.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files changed (5)
18 unmodified lines1920212223242585 unmodified lines11111211311411511611718 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. ONNX exports of both, and the 10- and 5-step students, 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).## Architecture: r80-120285 unmodified lines## ONNX exportsONNX exports of the r80-1202 teacher and 20-step student are in progress. They will follow the s80-1201 layout (`onnx/r80-1202/<model>/{fp32,bf16,bf16w,int8_dynamic}.onnx`). The teacher export adds an `sc` input `[B,4,32,32]` for self-conditioning, which `generate.py` already feeds. Until they land, the only ONNX files in this repository are the [s80-1201 exports](#s80-1201-onnx-exports).## s80-1201 (retired)18 unmodified lines1920212223242585 unmodified lines11111211311411511611711811912012112212312412512612712812913013113218 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 student is also exported to ONNX. The teacher's ONNX export and the 10- and 5-step students 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).## Architecture: r80-120285 unmodified lines## ONNX exports| Variant | 20-step student | Size | Execution provider | Mean RGB diff (0-255) | Pixels off by > 8 | Alpha flips ||---|---|---:|---|---:|---:|---:|| fp32 | [ONNX](onnx/r80-1202/student-20-step/fp32.onnx) | 285 MB | CPU, CUDA | 0.03 | 0.01% | 0.001% || bf16 | [ONNX](onnx/r80-1202/student-20-step/bf16.onnx) | 145 MB | CUDA only | 1.36 | 3.5% | 0.31% || bf16 weights, fp32 compute | [ONNX](onnx/r80-1202/student-20-step/bf16w.onnx) | 145 MB | CPU, CUDA | 0.82 | 1.9% | 0.12% || dynamic int8 | [ONNX](onnx/r80-1202/student-20-step/int8_dynamic.onnx) | 81 MB | CPU | 6.16 | 22.5% | 1.2% |Accuracy is measured over 592 full 20-step samples (guidance 4) against PyTorch fp32; PyTorch's own bf16 run scores 1.02 / 2.2% / 0.20% on the same samples. 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]`. The student runs without self-conditioning, so it has no `sc` input. One 20-step sprite takes about 0.6 s per sprite on a 16-thread CPU at batch 16 (fp32), and about 35 ms per sprite with CUDA at batch 16.```shpython generate.py onnx/r80-1202/student-20-step/fp32.onnx --prompt "a red potion bottle" --output potion.png```The teacher export (with an extra `sc` input `[B,4,32,32]` for self-conditioning, which `generate.py` already feeds) and the 10- and 5-step students 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:0df7bcf467165be3c253ba7c4f3898f42969cfc37c4848f58e556f72f7586e08size 151789787123version https://git-lfs.github.com/spec/v1oid sha256:daae596d056e56c18317c08a4e09d93c9d6fadb1a7641ba3bfcd731a73a3feadsize 152012815123version https://git-lfs.github.com/spec/v1oid sha256:e75ed005ed34b4b1aea908186ce39b2c505d5359a78f4bf5bf5f8f30cfa78d0bsize 298725945123version https://git-lfs.github.com/spec/v1oid sha256:0f735db1734c492172b882869d50665a4028d60a030986a43f321ba2072fb310size 84826666README.md+17-2
onnx/r80-1202/student-20-step/bf16.onnxAdded+3
onnx/r80-1202/student-20-step/bf16w.onnxAdded+3
onnx/r80-1202/student-20-step/fp32.onnxAdded+3
onnx/r80-1202/student-20-step/int8_dynamic.onnxAdded+3