Re:Llama.cpp: Full CUDA GPU Acceleration
by sharikous on Tuesday June 13, 2023 @01:12AM
(#36305707)
WebGPU strikes me as the answer to that. Perhaps I am missing something?
[ Parent
| on HN ]
It could be. But there's quite a bit of momentum behind CUDA. Plus, CUDA is just wicked fast. I wrote a WebGPU version of LLaMA inference and there's still a bit of a gap in performance between WebGPU and CUDA. Admittedly, WebGPU can't access tensor cores and I undoubtedly need to optimize further.