feat(eval): CIFAR-10 class-conditional config and FID harness #10
Labels
No labels
NaNs
area/backup
area/data
area/diffusion
area/docs
area/dsh
area/eval
area/forgejo
area/host
area/infra
area/model
area/security
area/train
needs-operator
priority/later
priority/next
priority/now
type/bug
type/docs
type/experiment
type/feature
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ml-lab/wink#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope:
wevalwith optional[eval]extra (pytorch-fid, CPU torchvision).Blocked on accelerator availability (tesseract runs). A short CPU smoke is allowed now; the reportable run waits.
CIFAR pipeline smoke done (PR #13): 32x32, 4x4 patches (64 tokens), class-conditional RAT-32, 3,000 steps, val x0-MSE 0.0427. Samples are color textures, not objects. This is explicitly not a CIFAR result and no FID has been computed. Loader verified 50k/10k; config
examples/configs/cifar10_rat.yaml; reportdocs/experiments/2026-11-19-cifar10-smoke.md. Next: longer run + FID over >=10k samples, ideally on an accelerator.First M2 signal (PR #15):
docs/assets/cifar10/cifar_hyper_10k_64.png; reportdocs/findings/cifar10-first-fid.md; JSONdocs/experiments/2026-11-19-cifar10-10k-fid.json.Still open: RAT-vs-hyper CIFAR comparison (blocked by #14), longer/GPU budget, head sweep at 32x32.
RAT CIFAR is unblocked and has a first FID.
cifar_rat_10k_64.png,cifar_hyper_10k_64.png; reports underdocs/experiments/.Still open for M2: CIFAR head sweep (h8/h16/h32), second seed, and a longer/GPU run for object-like samples. Neither model is competitive at 0.25M/10k CPU steps.
CIFAR RAT head sweep at 10k done (PR #17):
Head count changes speed much more than sample character: the 8/16/32 rows are nearly identical at this scale. h32 remains the CPU pick. One seed; wall times under variable laptop load. Grids and
head_sweep_10k.pngunderdocs/assets/cifar10/; reportdocs/experiments/2026-11-20-cifar10-head-sweep.md.Still open for M2: second seed, h8/h16 FID, and a longer/GPU run for object-like samples.
20k cosine run done (PR #18):
cifar_20k_progression.png,cifar_rat_20k_step16k_64.png, reportdocs/experiments/2026-11-20-cifar10-20k-cosine.md, FID JSON.Conclusion for M2: at 0.25M params the bottleneck is capacity/data/architecture, not step count. Next useful direction is a larger model or a better training budget, not another longer tiny run.
Capacity result (PR #19):
Width is a lever: -4.2% FID, clear val gain. The visual difference is subtle.
The 6L x 96 depth control was stopped at 1k: ~1.5 s/step under current laptop load (~4h for 10k); its 1k val tied the width run. Depth remains open, not rejected.
w128_4l,w96_6l,w64_6lconfigs are ready for a free CPU window.Report
docs/experiments/2026-11-20-cifar10-capacity.md; grids/FID JSON under docs/.Level 2/3 first runs (PR #21):
Both work, no NaN/collapse. Level 2 is better than level 1 at 3k but has 2x params; level 3 is ~14x level-1 step cost at batch64, so CPU-toy. Not parameter-matched; no algebra claim yet.
Report
docs/experiments/2026-11-21-cifar10-levels.md; grids/comparison under docs/assets/cifar10/. Also filed alpha-channel future idea #20.Param-matched level 1 vs level 2 (PR #22):
Level 2 is ~4% lower val at the same parameter count, but ~2.6x slower per step. One seed, 3k; signal not proof. Samples are visually close. Both 3k and 10k configs are in the repo; the decisive test is the 10k + FID run.
Report
docs/experiments/2026-11-21-cifar10-param-matched.md; comparisondocs/assets/cifar10/levels_param_matched_3k.png.Decisive param-matched 10k FID (PR #23):
Level 2 fits the regression loss better but produces worse samples and is ~2.7x slower. The 3k val edge did not survive. Level 1 remains the practical choice. The 4% val gap at 3k was early-budget noise; val x0-MSE is not sample quality.
Report
docs/experiments/2026-11-21-cifar10-param-matched-10k.md; comparisondocs/assets/cifar10/levels_param_matched_10k.png; FID JSON committed. This closes the level 2 question at equal params; level 2 would need a different LR/width/schedule to justify itself.