正在加载视频...

视频加载失败

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 次观看 • 2 年前 •via X (Twitter)

10 条评论

Xenova 的头像
Xenova2 年前

Demo:

Xenova 的头像
Xenova2 年前

Update: Now with dark mode! 🔥

Omar Ezzat 的头像
Omar Ezzat2 年前

Is this from the v3 branch?

Xenova 的头像
Xenova2 年前

Yes it is! 🤗

Julian Harris 的头像
Julian Harris2 年前

I love how fast the video shows this going 😂

Xenova 的头像
Xenova2 年前

It’s loading from cache 😇

CrytpoBro 🇮🇨 的头像
CrytpoBro 🇮🇨2 年前

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 的头像
Deep Fried Net2 年前

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 的头像
Ravi2 年前

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

Xenova 的头像
Xenova2 年前

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"

相关视频