Files
dragonpilot/tinygrad_repo/examples/tinychat/tinychat-browser
Vehicle Researcher db5cbadcf2 openpilot v0.9.9 release
date: 2025-06-05T19:54:08
master commit: 8aadf02b2fd91f4e1285e18c2c7feb32d93b66f5
2025-06-12 14:30:06 -07:00
..
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07:00
2025-06-12 14:30:06 -07: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)