generated from web/flango
Integrate WINK's pure-JS promptable MNIST toy #20
Labels
No labels
NaNs
area/backup
area/dsh
area/forgejo
area/host
area/security
area/web
bootcamp
needs-operator
note
priority/later
priority/next
priority/now
type/bug
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
web/web-frontend#20
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?
WINK has a self-contained JS toy ready to drop into the site. No API, DB, auth or build step.
Source (merged in
ml-lab/winkPR #28):web/static/wink.js— level-1 RAT forward + DDIM + CFGweb/static/worker.js— loads weights once, denoises off the main threadweb/static/weights.json— 10k CFG checkpoint bundle, 5.2 MBweb/index.html,web/static/app.js,web/static/style.css— UISetup: copy
index.html+static/into the Flask static/template layout, keepweights.jsonnext toworker.js(the worker fetches it relative to itself), and fix the/static/...paths if mounted under a prefix. Same-origin worker only; no SQLAlchemy or auth changes.Standalone check:
Model: promptable MNIST, 261k params, RAT-32 10k CFG, transparent RGBA output. Digit buttons + guidance slider; ~2–4 s/sample. Numerically verified against PyTorch (~0.003 max abs forward, ~0.009 over 50 DDIM steps). Details and regeneration (
web/export_weights.py) inweb/README.md.