Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 месяц назад •via X (Twitter)

Комментарии: 31

Фото профиля Victor M
Victor M1 месяц назад

Try it here:

Фото профиля Esee
Esee1 месяц назад

is this Pi?? 😂

Фото профиля orvir
orvir1 месяц назад

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
fcan1 месяц назад

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 🦋🔶🅿️
TOM 🦋🔶🅿️1 месяц назад

cool

Фото профиля decipherx
decipherx1 месяц назад

the browser is becoming the smallest useful agent sandbox

Фото профиля Towhid Khan
Towhid Khan1 месяц назад

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
Lars1 месяц назад

Does the cat have a name @victormustar

Фото профиля ✧.*
✧.*1 месяц назад

Whats the cat mascot called?

Фото профиля Sogni.ai
Sogni.ai1 месяц назад

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

Фото профиля LUNCYKONG
LUNCYKONG1 месяц назад

Lots of clustered wallets fuck this

Фото профиля Phantom Phreak
Phantom Phreak1 месяц назад

wtf lol

Фото профиля EDDY VU
EDDY VU1 месяц назад

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

Фото профиля SourceCodeplz
SourceCodeplz1 месяц назад

why not use wllama ?

Фото профиля Crio Songo
Crio Songo1 месяц назад

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

Фото профиля Varik Verilion
Varik Verilion1 месяц назад

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

Фото профиля Johnny
Johnny1 месяц назад

oh shit you did it!

Фото профиля Nazmul Hossain
Nazmul Hossain1 месяц назад

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

Фото профиля Pronsh
Pronsh1 месяц назад

kinda dope

Фото профиля Karthikeyan Ranasthala
Karthikeyan Ranasthala1 месяц назад

Awesome! Will give it a try

Фото профиля Marina Rosa
Marina Rosa1 месяц назад

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

Фото профиля Shesaidmewakeup
Shesaidmewakeup1 месяц назад

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
msuiche1 месяц назад

@maceip NOT WRONG! JUST EARLY!

Фото профиля Offscript
Offscript1 месяц назад

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
LLM Codes1 месяц назад

wait is it actually coding in the browser or just chatting

Фото профиля nick
nick1 месяц назад

crazy

Фото профиля Thomas Gauthier-Caron
Thomas Gauthier-Caron1 месяц назад

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 🛡
Tom Zarebczan 🛡1 месяц назад

Any benchmarks?

Фото профиля Victor M
Victor M1 месяц назад

yes

Фото профиля basedcapital
basedcapital1 месяц назад

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
Labangram Photography1 месяц назад

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

Похожие видео