mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-11-23 18:33:51 +08:00
e20fa4e313
version: sunnypilot v2026.003.000 (feature-branch)
date: 2026-11-21T03:18:39
master commit: 0e583a9c1b
How to build and run tinychat in browser (WebGPU and WASM)
PYTHONPATH=. python examples/tinychat/tinychat-browser/compile.py./examples/tinychat/tinychat-browser/compile_wasm.sh- Prerequisite: install emscripten. This script looks for
~/emsdk/emsdk_env.sh, adjust this based on your installation.
- Prerequisite: install emscripten. This script looks for
./examples/tinychat/tinychat-browser/make_tiktoken_js.sh- Prerequisite: install
npm,webpack.
- Prerequisite: install
cd examples/tinychat && python -m http.server 7776- In browser: open either
localhost:7776/tinychat-browser(WebGPU), orlocalhost:7776/tinychat-browser/?backend=wasm(WASM)