mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-27 21:13:42 +08:00
56b9025e3d
version: sunnypilot v2026.003.000 (staging) date: 2026-09-01T06:00:28 master commit: 51987a62d07c44cc9e14b4d85dcb445edecd17d3
665 B
665 B
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)