Loading video...

Video Failed to Load

Go Home

Introducing Phi-3 WebGPU, a private and powerful AI chatbot that runs locally in your browser, powered by ๐Ÿค— Transformers.js and onnxruntime-web! ๐Ÿ”’ On-device inference: no data sent to a server โšก๏ธ WebGPU-accelerated (> 20 t/s) ๐Ÿ“ฅ Model downloaded once and cached Try it out! ๐Ÿ‘‡

117,690 views โ€ข 2 years ago โ€ขvia X (Twitter)

10 Comments

Xenova's profile picture
Xenova2 years ago

Demo:

Xenova's profile picture
Xenova2 years ago

Update: Now with dark mode! ๐Ÿ”ฅ

Omar Ezzat's profile picture
Omar Ezzat2 years ago

Is this from the v3 branch?

Xenova's profile picture
Xenova2 years ago

Yes it is! ๐Ÿค—

Julian Harris's profile picture
Julian Harris2 years ago

I love how fast the video shows this going ๐Ÿ˜‚

Xenova's profile picture
Xenova2 years ago

Itโ€™s loading from cache ๐Ÿ˜‡

CrytpoBro ๐Ÿ‡ฎ๐Ÿ‡จ's profile picture
CrytpoBro ๐Ÿ‡ฎ๐Ÿ‡จ2 years ago

not working on chrome: An uncaught WebGPU validation error was raised: [Invalid ComputePipeline "BlockwiseMatMulNBits"] is invalid. - While Validating GetBindGroupLayout (0) on [Invalid ComputePipeline "BlockwiseMatMulNBits"]

Deep Fried Net's profile picture
Deep Fried Net2 years ago

I'm on a tablet w/out a robust GPU (surface pro) and it still works, albeit, 2 to 3 tokens a second (so not sure if it's eking out some small gains over just CPU, still impressive though)! Curious, are there ways to shorten delay before tokens start streaming?

Ravi's profile picture
Ravi2 years ago

Where is this 2.3ย GB stored? How to clear it once testing is done?

Xenova's profile picture
Xenova2 years ago

Caching is done via the Web Cache API: Steps to clear the cache: 1. Open Dev tools (F12 in Chrome) 2. Go to "Application" tab 3. Open "Cache storage" in the "Storage" tab on the left 4. Right click "transformers-cache" and click "Delete"

Related Videos