GithubHelp home page GithubHelp logo

WebCPU? about web-llm HOT 3 CLOSED

fire17 avatar fire17 commented on June 12, 2024
WebCPU?

from web-llm.

Comments (3)

CharlieFRuan avatar CharlieFRuan commented on June 12, 2024 2

Hi! As of now, the WebLLM project only supports devices/browsers with WebGPU support (support can be checked via https://webgpureport.org/).

While we have not tried on Samsung Note20 (only tested on Samsung S23 and Pixel 7 Pro), I would suggest try upgrading Android version and updating Chrome to the latest version, as these may affect WebGPU support. Can be verified via https://webgpureport.org/ after upgrades.

If with most up-to-date versions, the device still does not support WebGPU, you can also check out MLC-LLM (WebLLM is a companion project of MLC-LLM), which has Android support: https://llm.mlc.ai/docs/deploy/android.html

from web-llm.

fire17 avatar fire17 commented on June 12, 2024 1

Good advice!
Before:
Screenshot_20240307-070735_Chrome.jpg

After updating chrome:
Screenshot_20240307-071031_Chrome.jpg

I did manage
To squeeze a few tokens per second but
These tiny models are still far from production ready.

Screenshot_20240307-072421_Chrome.jpg

Screenshot_20240307-072751_Chrome.jpg

Screenshot_20240307-072113_Chrome.jpg

Screenshot_20240307-073226_Chrome.jpg

Thanks a lot for the advice, wonder if we will see capable 1-bit llms soon, or other tiny but coherent models.
I'll stay tuned... All the best! 🙏🧘‍♀️

from web-llm.

tqchen avatar tqchen commented on June 12, 2024

glad it works

from web-llm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.