feat: 10k CFG model + Flask/JS promptable toy #27

Merged
dsh merged 1 commit from feat/web-promptable-toy into master 2026-11-22 15:06:58 +00:00
Member

10k promptable model and a working web toy.

10k CFG: class-conditional RAT-32, channel conditioning + class dropout + --guidance 5; val 0.0435, 46 min CPU, 261k params. Prompted 0-9 alpha grid committed.

web/: plain JS UI (digit buttons, guidance slider, canvas, download) + a small Flask /api/sample bridge that loads the 10k checkpoint. Verified locally: /health and /api/sample return a 28x28 RGBA PNG in ~1.2 s. web/README.md has the API contract and flango/web-frontend integration notes; no SQLAlchemy/auth changes needed.

For 0.1 the inference is server-side Flask. Pure-JS level-1 RAT inference remains the next step; the UI/alpha path is already in the right shape. 38 tests pass.

10k promptable model and a working web toy. **10k CFG**: class-conditional RAT-32, channel conditioning + class dropout + `--guidance 5`; val 0.0435, 46 min CPU, 261k params. Prompted 0-9 alpha grid committed. **web/**: plain JS UI (digit buttons, guidance slider, canvas, download) + a small Flask `/api/sample` bridge that loads the 10k checkpoint. Verified locally: `/health` and `/api/sample` return a 28x28 RGBA PNG in ~1.2 s. `web/README.md` has the API contract and flango/web-frontend integration notes; no SQLAlchemy/auth changes needed. For 0.1 the inference is server-side Flask. Pure-JS level-1 RAT inference remains the next step; the UI/alpha path is already in the right shape. 38 tests pass.
- 10k class-conditional RAT-32 with channel conditioning + CFG: val 0.0435,
  46 min CPU; prompted 0-9 alpha grid
- web/: digit buttons, guidance slider, canvas, transparent RGBA download
- Flask /api/sample bridge loads the 10k checkpoint once; web-Deeps integration
  notes and API contract in web/README.md
- pure-JS inference remains next; 0.1 ships the Flask bridge
- docs/README/changelog updated
dsh merged commit 89380e3278 into master 2026-11-22 15:06:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ml-lab/wink!27
No description provided.