web-llm
web-llm copied to clipboard
Does not work for me on Windows 11 and Chrome Canary
Chrome Version 114.0.5715.0 (Official Build) canary (64-bit)
The error is:
mlc.ai/:1 No available adapters.
llm_chat.js:421 Error: Cannot find adapter that matches the request
at Object.
@kohlerm:
Could you, please, try the link below and tell me if you see a big red triangle or an error message? https://webgpu.github.io/webgpu-samples/samples/helloTriangle
I am also having this issue.
On windows 11, Chrome Canary, Laptop, getting this error, localhost/:1 No available adapters. webllm.ts:38 Uncaught (in promise) Error: Cannot find adapter that matches the request
I was able to run web-llm using my intel GPU, and received this error when trying to ensure Canary would use my Nvidia card rather than my CPU.
While writing this comment I discovered a solution.
on chrome://flags/ enabling
#use-angle
setting this flag to D3D11 allowed for me to use my GPU.
Finish loading on WebGPU - NVIDIA GeForce RTX 2070 with Max-Q Design
I also have these flags enabled. Not all of them may be necessary. #enable-webgpu-developer-features #enable-unsafe-webgpu #ignore-gpu-blocklist
The chat is now a lot faster. (of course!)