Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
11–20 of 60 posts
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#12This demo only works if you have the webgpu feature "f16". You can find out if you have this by checking for the feature list in https://webgpureport.org/ . The page itself can of course check for this but since f16 support is common they probably just didnt bother.
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#13The model is fully managed by the browser. It's currently the Gemini Nano model on Chrome, and they are testing a version of the Gemma 3n model in beta channels. Edge uses phi-4-mini.
More information is available here: https://github.com/webmachinelearning/prompt-api
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#14Looks like this is a wrapper around: https://github.com/mlc-ai/web-llm Which has a full web demo: https://chat.webllm.ai/
It doesn't seem so to me, either from the way it works or from what little of the code I've looked at...
But I don't have time to do more than the quick glance I just did at a few of the files of each and need to run, so hopefully someone cleverer than me who won't need as much time as me to answer the question could confirm while I'm afk
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#15Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#16Which model does the demo use?
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#17Which model does the demo use?
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#18Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#19What's the performance of a model like vs an OpenAI API? What's the comparable here? Edit: I see it's same models locally that you'd run using Ollama or something else. So basically just constrained by the size of the model, GPU and perf of the machine.
Re: Show HN: WebGPU enables local LLM in the browser – demo site with AI chat
#20> What's the best way to get to space?
>> Unfortunately, it's not currently possible for humans to travel to space in the same way that astronauts do. While there have been several manned missions to space, such as those to the International Space Station, the technology and resources required to make interstellar travel feasible are still in the early stages of development.
>> Currently, the fastest spacecraft is the Apollo missions, which took around 77 hours to reach the Moon. From there, they traveled to other planets, but the distances between them are so great that even at high speeds, it would take many years to reach them.
>> As for traveling to space itself, there are no commercial or private companies that offer space travel services, and the cost of such a journey is estimated to be in the tens of millions of dollars per person.
>> However, there are some concepts and technologies being explored that might one day make space travel more accessible and affordable. For example, private companies like SpaceX and Blue Origin are working on developing reusable rockets that could potentially take people to space more quickly and reliably.
>> But for now, let's just say that space travel is still in the future, and we'll have to wait a bit longer for humans to venture into the cosmos!