WebLLM: high-performance in-browser LLM inference engine
21–30 of 32 posts
Re: WebLLM: high-performance in-browser LLM inference engine
#22Re: WebLLM: high-performance in-browser LLM inference engine
#23Re: WebLLM: high-performance in-browser LLM inference engine
#24Re: WebLLM: high-performance in-browser LLM inference engine
#25Re: WebLLM: high-performance in-browser LLM inference engine
#26Project is de facto dead, used it for many years and had to rip it out 6 months ago, don't waste your time.
Re: WebLLM: high-performance in-browser LLM inference engine
#27Earlier quoted context omitted.
You can enable WebGPU support in Google Chrome by turning on hardware acceleration and activating the WebGPU flag. It Works.
I tried it and the experience was not great. I first enabled chrome://flags/#force-enable-webgpu-interop which did nothing. Next, I enabled chrome://flags/#enable-unsafe-webgpu which made some WebGPU demos work, but they all use my CPU's integrated GPU, which is worse than using no GPU acceleration at all. Next, I found out that there is a powerPreference: 'high-performance' option. It can be enabled with chrome://fl…
Re: WebLLM: high-performance in-browser LLM inference engine
#28Earlier quoted context omitted.
What did you switch to?
There's, quietly, a llama.cpp WebGPU backend that works *great*. Some hacking required, it's unsupported, a side project for one of the lead maintainers and someone in school. Note of caution, llama.cpp isn't what it was, the grunt-level maintainers are left to their own devices. There's one key subsystem where things break regularly and the engineering is poor, and the "lead maintainer" is aggro and isn't really inv…
Re: WebLLM: high-performance in-browser LLM inference engine
#29Re: WebLLM: high-performance in-browser LLM inference engine
#30Earlier quoted context omitted.
I tried it and the experience was not great. I first enabled chrome://flags/#force-enable-webgpu-interop which did nothing. Next, I enabled chrome://flags/#enable-unsafe-webgpu which made some WebGPU demos work, but they all use my CPU's integrated GPU, which is worse than using no GPU acceleration at all. Next, I found out that there is a powerPreference: 'high-performance' option. It can be enabled with chrome://fl…
Hey, Firefox Web GPU engineer here. We would love to hear about crashers on any platform! If you need help filing a Bugzilla bug, or want to email me so I can do it, please LMK.