Files
github-actions[bot] 82ab34db76 sunnypilot v2026.001.000 release
date: 2026-04-21T21:10:39
master commit: 18406e77ee
2026-04-21 21:10:42 +08:00
..
2026-04-21 21:10:42 +08:00
2026-04-21 21:10:42 +08:00
2026-04-21 21:10:42 +08:00
2026-04-21 21:10:42 +08:00
2026-04-21 21:10:42 +08:00
2026-04-21 21:10:42 +08:00
2026-04-21 21:10:42 +08:00

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.
  • ./examples/tinychat/tinychat-browser/make_tiktoken_js.sh
    • Prerequisite: install npm, webpack.
  • cd examples/tinychat && python -m http.server 7776
  • In browser: open either localhost:7776/tinychat-browser (WebGPU), or localhost:7776/tinychat-browser/?backend=wasm (WASM)