Navigation überspringen
Introducing Phi-3 WebGPU, a private and powerful AI chatbot that runs locally in your browser…
0:00 / 1:26

Introducing Phi-3 WebGPU, a private and powerful AI chatbot that runs locally in your browser…

Xenova

@xenovacom20.600 Follower

Auf X besuchen

117.724 Aufrufe

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! 👇

10 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Xenova

    @xenovacom

    Demo:

    33 Likes

  • Profilbild von Xenova

    @xenovacom

    Update: Now with dark mode! 🔥

    12 Likes

  • Profilbild von Omar Ezzat

    @ezzato_

    Is this from the v3 branch?

    2 Likes

  • Profilbild von Xenova

    @xenovacom

    Yes it is! 🤗

    10 Likes

  • Profilbild von Julian Harris

    @julianharris

    I love how fast the video shows this going 😂

    2 Likes

  • Profilbild von Xenova

    @xenovacom

    It’s loading from cache 😇

    6 Likes

  • Profilbild von CrytpoBro 🇮🇨

    @invisyblecom

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

    1 Like

  • Profilbild von Deep Fried Net

    @DeepFriedNet

    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?

    1 Like

  • Profilbild von Ravi

    @tamilravi

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

    1 Like

  • Profilbild von Xenova

    @xenovacom

    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"

    6 Likes