Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 1 ay önce •via X (Twitter)

31 Yorum

Victor M profil fotoğrafı
Victor M1 ay önce

Try it here:

Esee profil fotoğrafı
Esee1 ay önce

is this Pi?? 😂

orvir profil fotoğrafı
orvir1 ay önce

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

fcan profil fotoğrafı
fcan1 ay önce

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.

TOM 🦋🔶🅿️ profil fotoğrafı
TOM 🦋🔶🅿️1 ay önce

cool

decipherx profil fotoğrafı
decipherx1 ay önce

the browser is becoming the smallest useful agent sandbox

Towhid Khan profil fotoğrafı
Towhid Khan1 ay önce

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.

Lars profil fotoğrafı
Lars1 ay önce

Does the cat have a name @victormustar

✧.* profil fotoğrafı
✧.*1 ay önce

Whats the cat mascot called?

Sogni.ai profil fotoğrafı
Sogni.ai1 ay önce

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

LUNCYKONG profil fotoğrafı
LUNCYKONG1 ay önce

Lots of clustered wallets fuck this

Phantom Phreak profil fotoğrafı
Phantom Phreak1 ay önce

wtf lol

EDDY VU profil fotoğrafı
EDDY VU1 ay önce

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

SourceCodeplz profil fotoğrafı
SourceCodeplz1 ay önce

why not use wllama ?

Crio Songo profil fotoğrafı
Crio Songo1 ay önce

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

Varik Verilion profil fotoğrafı
Varik Verilion1 ay önce

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

Johnny profil fotoğrafı
Johnny1 ay önce

oh shit you did it!

Nazmul Hossain profil fotoğrafı
Nazmul Hossain1 ay önce

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

Pronsh profil fotoğrafı
Pronsh1 ay önce

kinda dope

Karthikeyan Ranasthala profil fotoğrafı
Karthikeyan Ranasthala1 ay önce

Awesome! Will give it a try

Marina Rosa profil fotoğrafı
Marina Rosa1 ay önce

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

Shesaidmewakeup profil fotoğrafı
Shesaidmewakeup1 ay önce

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.

msuiche profil fotoğrafı
msuiche1 ay önce

@maceip NOT WRONG! JUST EARLY!

Offscript profil fotoğrafı
Offscript1 ay önce

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?

LLM Codes profil fotoğrafı
LLM Codes1 ay önce

wait is it actually coding in the browser or just chatting

nick profil fotoğrafı
nick1 ay önce

crazy

Thomas Gauthier-Caron profil fotoğrafı
Thomas Gauthier-Caron1 ay önce

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

Tom Zarebczan 🛡 profil fotoğrafı
Tom Zarebczan 🛡1 ay önce

Any benchmarks?

Victor M profil fotoğrafı
Victor M1 ay önce

yes

basedcapital profil fotoğrafı
basedcapital1 ay önce

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.

Labangram Photography profil fotoğrafı
Labangram Photography1 ay önce

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

Benzer Videolar