Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Introducing: a coding agent (Pi) running entirely in your browser using a 2B model on WebGPU 🤯 MiniCPM5-2B + Pi, powered by Transformers.js + WebGPU + 4-bit ONNX weights. All previous attempt to create this failed but MiniCPM5 seems to make it usable. Available now on Hugging Face 👇

90,211 Aufrufe • vor 1 Monat •via X (Twitter)

31 Kommentare

Profilbild von Victor M
Victor Mvor 1 Monat

Try it here:

Profilbild von Esee
Eseevor 1 Monat

is this Pi?? 😂

Profilbild von orvir
orvirvor 1 Monat

2B running a coding agent locally is the part that gets me what's it actually usable for, autocomplete-tier stuff or can it hold a real task

Profilbild von fcan
fcanvor 1 Monat

wow great work! I have been trying to run MiniCPM5-2B in a browser. Tried Transformers.js/ONNX route but WebLLM/MLC works faster in my experience. Here is my Hugging Face space that uses my own MLC quants.

Profilbild von TOM 🦋🔶🅿️
TOM 🦋🔶🅿️vor 1 Monat

cool

Profilbild von decipherx
decipherxvor 1 Monat

the browser is becoming the smallest useful agent sandbox

Profilbild von Towhid Khan
Towhid Khanvor 1 Monat

The embedding split is the part that makes this work: 510 MiB of embeddings cut losslessly into four 127.5 MiB tensors so it clears WebGPU's 128 MiB storage binding cap. First download is 1.84 GB into OPFS, and cached reloads pull zero weights.

Profilbild von Lars
Larsvor 1 Monat

Does the cat have a name @victormustar

Profilbild von ✧.*
✧.*vor 1 Monat

Whats the cat mascot called?

Profilbild von Sogni.ai
Sogni.aivor 1 Monat

pair Pi with Sogni Creative Agent and you have code plus creative production in one very capable setup 😎

Profilbild von LUNCYKONG
LUNCYKONGvor 1 Monat

Lots of clustered wallets fuck this

Profilbild von Phantom Phreak
Phantom Phreakvor 1 Monat

wtf lol

Profilbild von EDDY VU
EDDY VUvor 1 Monat

Running a usable 2B model entirely in-browser via WebGPU is a genuinely impressive technical feat, huge congrats on the release.

Profilbild von SourceCodeplz
SourceCodeplzvor 1 Monat

why not use wllama ?

Profilbild von Crio Songo
Crio Songovor 1 Monat

居然能直接在浏览器跑端侧编码智能体,MiniCP5这个小模型适配得真不错,不用部署本地就能体验,挺方便。

Profilbild von Varik Verilion
Varik Verilionvor 1 Monat

How much of the coding workflow survives once the browser tab loses focus or the WebGPU device gets reclaimed?

Profilbild von Johnny
Johnnyvor 1 Monat

oh shit you did it!

Profilbild von Nazmul Hossain
Nazmul Hossainvor 1 Monat

running an agent client-side on webgpu is insane progress. testing this now

Profilbild von Pronsh
Pronshvor 1 Monat

kinda dope

Profilbild von Karthikeyan Ranasthala
Karthikeyan Ranasthalavor 1 Monat

Awesome! Will give it a try

Profilbild von Marina Rosa
Marina Rosavor 1 Monat

My god you beat me to it Absurdly marvelous thank you for that

Profilbild von Shesaidmewakeup
Shesaidmewakeupvor 1 Monat

2B on WebGPU that actually finishes a loop is the part most people skip. Cloud still wins the hard tasks. This wins the ones you can keep in a tab.

Profilbild von msuiche
msuichevor 1 Monat

@maceip NOT WRONG! JUST EARLY!

Profilbild von Offscript
Offscriptvor 1 Monat

the interesting part isnt that it codes, its that nothing leaves the machine. a 2b wont out-write a frontier model but it can read things youd never paste into an api. whats the latency per token like on a normal laptop gpu?

Profilbild von LLM Codes
LLM Codesvor 1 Monat

wait is it actually coding in the browser or just chatting

Profilbild von nick
nickvor 1 Monat

crazy

Profilbild von Thomas Gauthier-Caron
Thomas Gauthier-Caronvor 1 Monat

This is so cool! Would you be so kind as to open source the web app? The pi TUI + monaco workspace split view is really nice

Profilbild von Tom Zarebczan 🛡
Tom Zarebczan 🛡vor 1 Monat

Any benchmarks?

Profilbild von Victor M
Victor Mvor 1 Monat

yes

Profilbild von basedcapital
basedcapitalvor 1 Monat

transformers.js, webgpu and 4-bit onnx all shipped before and died, so the model was the bottleneck. webllm with the same model should get the same jump. the browser part was never the story.

Profilbild von Labangram Photography
Labangram Photographyvor 1 Monat

Browser-local coding agent that actually sticks is rare. How do you cap tool loops + WebGPU memory when the session runs long?

Ähnliche Videos