Hacker News new | ask | show | jobs
by r0fl 775 days ago
Could not load the model because Error: Cannot find WebGPU in the environment
3 comments

See: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#... (I got there from Chromium's console).

On Linux, I had to go to chrome://flags/#skia-graphite and chrome://flags/#enable-vulkan and chrome://flags/#enable-unsafe-webgpu

I think only one of the first is actually required, but I enabled both. That allowed me to make use of TinyLlama with my AMD GPU (R9 Fury, OSS drivers), but I think I'd need Chromium Canary to enable "shader-f16" and use the other models, as I was not able to make it work on regular Chromium.

I haven't tried with Firefox.

For the foreseeable future, WebGPU is "Works best on Chrome (TM)".
Safari, Firefox, or IE? Note the text says:

> Should work on Desktop with Chrome or Edge.