release 0.1 — tiny CPU MNIST + alpha demo #24
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#24
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?
Goal: a small, installable CPU release that someone can run on a laptop to train/sample MNIST, with the transparent-background alpha demo as the eyecatcher.
Checklist:
wsample --alpha) +docs/scripts/mnist_to_alpha.pyCHANGELOG.mdv0.1.0on green master (signed)none; Forgejo/PyPI?)Scope guard: no new training budget required; use the existing RAT-16 checkpoint. CIFAR and level 2 remain post-0.1.
Promptable model is in: class-conditional RAT-32 with a one-hot digit channel, 10% class dropout and CFG at
--guidance 5. 3k-step checkpoint: 261k params, 14.5 min CPU, samples obey the requested digit. Grid indocs/assets/mnist/prompted_digits_preview.png; reportdocs/experiments/2026-11-21-mnist-promptable.md.Remaining 0.1: JS toy (level-1 RAT inference + prompt/guidance UI), quickstart polish,
CHANGELOG, tag. The JS demo needs the one-hot plane and two forward passes per step for guidance; both are straightforward.10k CFG model + working web toy are in (PR #27).
docs/assets/mnist/prompted_digits_10k_preview.png.web/: plain JS UI (digit buttons, guidance slider, canvas, download) + Flask/api/samplebridge; verified ~1.2 s per sample.web/README.mdhas the API contract and flango/web-frontend integration notes.Pure-JS toy is done (PR #28).
web/static/wink.js: level-1 complex RAT forward + DDIM + CFG, no dependencies.static/weights.json(5.2 MB) once; generation is off the main thread.web/export_weights.pyexports checkpoint -> JSON bundle.python -m http.server 5001 -d web; no Flask/API needed.index.html+static/into flango/web-frontend; no SQLAlchemy/auth changes.Remaining 0.1: packaging/quickstart polish, CHANGELOG final, tag
v0.1.0.CI/CD is ready (PR #32):
ci.yml: sync, compileall, imports, 38 tests,uv build+twine check; green on master.publish.yml: tag-only Forgejo registry publish via OIDC Authorized Integration; uses theAUDIENCEActions variable; idempotent.publish-pypi.yml:PYPI_TOKENsecret; skipped when absent.release.yml:CHANGELOG.mdsection -> Forgejo release + wheel/sdist.CHANGELOG.mdand package metadata are at 0.1.0.No tag yet. The remaining step is the signed
v0.1.0tag once the site is ready:That tag publishes immediately. Manual dry runs for
publish.yml,publish-pypi.ymlandrelease.ymlare available from the Actions tab; they build/check but upload nothing.v0.1.0 is tagged and partly shipped:
v0.1.0pushed at0372945403 Invalid or non-existent authentication information— thePYPI_TOKENsecret is set but not a valid PyPI token. Tracked as #35 (needs-operator).Local build:
wink-0.1.0-py3-none-any.whl(38 KB) andwink-0.1.0.tar.gz(19.6 MB), bothtwine checkclean. Once the PyPI secret is replaced, rerun the failedPublish to PyPIjob on the tag; no code change should be needed.PyPI retry after the token fix: auth now passes, but PyPI rejects the name itself:
So v0.1.0 is shipped on Forgejo (registry + release assets) but cannot be uploaded to PyPI under
wink. See #35. Need an operator naming decision;wink-diffusionis the recommended alternate, import remainswink. No new tag should be cut until that is chosen.v0.1.1 is fully shipped.
ml-lab/pypi/wink-diffusion0.1.1 livev0.1.1on566c93ewink-diffusion; import/CLI remainwink,wtrain,wsample,weval.Closing the 0.1 release issue.