web-llm icon indicating copy to clipboard operation
web-llm copied to clipboard

Chat demo is not working in Chrome 113.

Open lcw99 opened this issue 2 years ago • 7 comments

I got following errors on your demo page.

Find an error initializing the WebGPU device Error: Cannot find adapter that matches the request
Init error, Error: Find an error initializing WebGPU: Error: Cannot find adapter that matches the request

lcw99 avatar May 04 '23 21:05 lcw99

needs chrome beta 113+

  1. try open chrome://flags
  2. search webgpu then enable it

deepkolos avatar May 05 '23 06:05 deepkolos

image

I've tried chrome beta 114.0.5735.16 with webgpu enabled, but got same error. Ubuntu 20.04.

lcw99 avatar May 05 '23 22:05 lcw99

@lcw99 try this to check webgpu support status

https://webgpureport.org/

deepkolos avatar May 06 '23 05:05 deepkolos

image

lcw99 avatar May 07 '23 02:05 lcw99

Today's Chrome update may solve this issue.

gsmlg avatar May 08 '23 01:05 gsmlg

image

I've tried chrome beta 114.0.5735.16 with webgpu enabled, but got same error. Ubuntu 20.04.

It's not just WebGPU Developer features, but the unsafe WebGPU flag as well, no?

Erudition avatar May 10 '23 18:05 Erudition

I've tried using Chrome Dev (115) and enabled WebGPU, still getting the exact same error. I've tried webgpureport.org and everything's working fine...

codingjlu avatar May 16 '23 00:05 codingjlu

needed to run with google-chrome-stable --enable-unsafe-webgpu, the chrome://flags alone did not work

knoopx avatar Jun 08 '23 21:06 knoopx

needed to run with google-chrome-stable --enable-unsafe-webgpu, the chrome://flags alone did not work

After launching as such chrome displays a message You are using an unsupported flag "--enable-unsafe-webgpu"... any insight?

codingjlu avatar Jun 08 '23 21:06 codingjlu

@codingjlu just a warning that webgpu is experimental and unsafe and that you are at your own risk

knoopx avatar Jun 08 '23 21:06 knoopx

@knoopx thanks, looks like the previous error disappeared... but now there's another error CreateCommitedResource failed (on windows 10) smh

codingjlu avatar Jun 08 '23 21:06 codingjlu

Closing for now, likely latest chrome canary can work

tqchen avatar Jun 16 '23 15:06 tqchen