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

Remove parametrization of shader creation #3

Closed chenglou closed 1 year ago

chenglou commented 1 year ago

I don't think these shaders will ever need to be parametrized? Even for whatever dynamism in the future, you'd likely not produce new shader strings at runtime

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2023 4:55am
chenglou commented 1 year ago

Heyo @0hq, it's Cheng from Krea dinner First diff, cleaning up some nit just for fun. Feel free to close!

0hq commented 1 year ago

Hey Cheng! Great to see you again.

Totally, appreciate the changes.