0hq / WebGPT

Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.
https://kmeans.org
Other
3.61k stars 206 forks source link

Does "Unsafe WebGPU" flag still need to be set to "enabled"? #8

Closed felladrin closed 1 year ago

felladrin commented 1 year ago

Hi! 👋 Thanks for sharing your project!

I've got a question about this part of the Readme:

https://github.com/0hq/WebGPT/blob/5ce0182a81a049784173be1ae19d4742d79a1768/README.md?plain=1#L15

On Chrome Canary v114, I couldn't see the difference between running it with the flag enabled and disabled. Could you clarify why it's recommended to enable this flag?

0hq commented 1 year ago

Good point, I'll investigate more deeply. This was recommended in documentation but this might only be for vanilla Chrome pre-v113.

0hq commented 1 year ago

Isn't needed anymore + registered for the Chrome Origin Trial.