f73e710e38
Build site and push to gh-pages / Build site (push) Waiting to run
Build / build (push) Waiting to run
Linter / lint (push) Waiting to run
Security / dependency-review (push) Waiting to run
Security / npm-audit (push) Waiting to run
Security / codeql (push) Waiting to run
Tests / test (push) Waiting to run
WebLLM Subgroups Usage App
This folder provides a minimum demo to show capability-based routing between baseline and subgroup WebGPU WASM builds in a webapp setting. To try it out, you can do the following steps under this folder
npm install
npm start
Edit src/subgroups_usage.ts if you would like to point the example at your own
model path and baseline model_lib. The example will suffix the WASM filename
with -subgroups before the .wasm extension when the adapter reports
subgroup support.
Note if you would like to hack WebLLM core package.
You can change the WebLLM dependency to "file:../..", and follow the build
from source instruction in the project to build webllm locally. This option is only recommended
if you would like to hack WebLLM core package.