Skip to content
openflukePublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

openfluke/example

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

Quick start

# 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/runall

Engine: 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.

WASM — npm + HTML (every chapter)

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.

PDF book

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages