mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 00:08:52 +00:00
drafting.DRAFTER_MIB gains dflash2_selq4 (715); drafting.vram_gb(data_dir, engine) gives the true figure (an engine program that carries 'selector codebooks: Q4_0 rows' and a Q4_0 pack that setup / Load converts), strata drafting plan reports vram_gb and selq4 and its text says the same number, Control passes capabilities.dflash2Selq4 to the page and the fit (apps/host/src/lib/native-fit.ts DFLASH2_SELQ4_VRAM_GB, apps/host/server/native-parallel.mjs) uses it; apps/host/tests/drafting.test.mjs reads DRAFTER_MIB from drafting.py and fails when a copy differs. Marker per backend: CUDA and HIP builds carry the text (src/core/dflash2.cpp); the SYCL drafter (sycl/src/core/dflash2.cpp, bf16 select kernel) does not read Q4_0 rows, its built binary (P1006 rc1sycl) has no such text so it stays on the bf16 pack, and its loader now refuses a Q4_0 codebook with a plain message instead of tiling it as a matrix. Metal: DF2-METAL's f-0291-metal-selq4. The idea of the Q4_0 selector is nazeshinjite's (nazeshinjite/Qwen3.8-Flash-Next-DFlash2-GGUF).
Strata app source
Start with the complete developer handoff and the runbook.
npm ci
npm run preview:ui
The built UI is included. To rebuild after source edits, run npm run build. preview:ui uses isolated simulated data; npm run dev connects the normal host.
The previous project README is retained in docs/README-historical.md. It contains older implementation status and is historical reference.
Languages
The app speaks English, Chinese, Japanese, German, French, Spanish, Russian, Portuguese and Korean. The English text is the key: src/locales/en.json
(with fix-en.json, tune-en.json and tools-en.json) holds every string, and each language has the same four files (fr.json, fix-fr.json, ...).
- A new string. Write it with
tr("..."), then add it to the English catalog (node scripts/append-localization.mjs, or the nextfxnumber inscripts/make-fix-locales.py). The language tests fail until every language has it. - French.
python scripts/fr_sync.py missing todo.tsvlists the English strings that have no French yet, one per line (id, a tab, the text). Translate the second column ("vous", short plain words, one next step; a lone=keeps the English), thenpython scripts/fr_sync.py apply todo.tsvmerges it (it also sets the French spacing before: ; ? !and the typographic apostrophe) andpython scripts/fr_sync.py checkconfirms nothing is missing. - Screenshots in a language.
npm run build, thennode scripts/language-shots.mjs fr <folder> models settings setup(hermetic preview host, scratch profile, headless Chrome).