News for hackers. Stuff that matters.
Re:Web LLM – WebGPU Powered Inference of Large Language Models by paulgb on Saturday April 15, 2023 @08:32PM (#35586065)
I wouldn’t consider this to be “misusing” a graphics API in the same sense that tensor operations on top of WebGL are. WebGPU intentionally provides compute shaders with the goal of enabling non-graphical pipelines.

> [WebGPU use cases include] Executing machine learning models efficiently on the GPU. It is possible to do general-purpose GPU (GPGPU) computation in WebGL, but it is sub-optimal and much more difficult.

https://gpuweb.github.io/gpuweb/explainer/

There are no comments on this comment yet.