Runnable Welvet examples — every feature from the Welvet feature book, plus a deep cameral cookbook.
| Folder | What |
|---|---|
welvet/ |
Book chapters 01–95 (NativeCPU 76–78, QNN 79–81, Metal 82–88, CUDA 89–95): core → layers → runtime → systems → model → stubs — each with When / Where / Why + sample output |
cam/ |
Parallel cameral deep-dive: Freeze, Shadow, CamSync, DNAReg, Rotate, Combine, every layer-as-cam — asserted PASS/FAIL proofs |
# Full Welvet book smoke (all mains)
cd welvet && source ./env.sh && go run ./cmd/runall
# One chapter
cd welvet/11-dense && source ../env.sh && go run .
# Cameral proofs
cd cam && go run ./cmd/runallEngine: local ../../welvet (v1.4.0 — CUDA nativecuda + Metal + QNN + NativeCPU).
welvet/go.mod keeps replace => ../../welvet until the tag is on the proxy.
Feature book: https://openfluke.github.io/welvet/ (§89–95 NVIDIA CUDA).
NVIDIA tour: cd welvet && ./run_nvidia.sh.
Each welvet/<slug>/ and cam/<slug>/ has npm/ (Node) and html/ (browser):
export WELVET_TS=/path/to/welvet/apps/w2a/typescript # after npm run build:all
node welvet/11-dense/npm/run.mjs
node cam/01_modes/npm/run.mjs
# all chapters (73 OK + 8 native-only SKIP)
bash run-all-npm.sh
# or: bash run-all-wasm.sh
# HTML: sync assets, serve example root
bash _wasm/sync-assets.sh
npx --yes serve -l 4173 .
# → http://localhost:4173/welvet/11-dense/html/Details: _wasm/README.md.
Run every example, collect each README + live stdout, write one PDF:
cd /home/openfluke/git/example
pip install --user -r requirements-pdf.txt
python3 build_examples_pdf.py -o examples-book.pdf
# READMEs only (no go run):
python3 build_examples_pdf.py --skip-run -o examples-readmes.pdf
# one suite / filter:
python3 build_examples_pdf.py --suite welvet --only 20-cnn,71-dispatch