Comments (3)
Thanks for reporting the error. Could you show the log in console? Not sure if there is more info there. Besides, does this issue occur in all models? Could you perhaps try a smaller model like gemma 2b?
from web-llm.
WizardMath no error occurred;
from web-llm.
This is a bit strange. WizardMath has q4f16_1
, could you also try Llama-2-7B-q4f16_1
? Besides, how much RAM do you have? My guess is that it is some OOM issue. Looking at the field vram_required_MB
in https://github.com/mlc-ai/web-llm/blob/main/examples/simple-chat/src/gh-config.js, Llama-2-7B-q4f32_1
requires roughly 2GB more vram than Llama-2-7B-q4f16_1
(hence also WizardMath).
from web-llm.
Related Issues (20)
- IndexedDB cache fails like the caches HOT 6
- Create a simpler web-workers example HOT 2
- Error: Cannot find global function tvmjs.runtime.ArrayConcat HOT 3
- next-simple chat - ReferenceError: require is not defined in ES module scope, you can use import instead HOT 11
- Do you plan to support LLaVA or video-LLaVA?
- Check failed: (!free_page_ids_.empty()) is false: The KV cache is full. No page can be allocated.
- Models output is scrambled in Safari Technology Preview, which has WebGPU support HOT 1
- Generate error, OperationError: Device lost during onSubmittedWorkDone (do not use this error for recovery - it is NOT guaranteed to happen on device loss) HOT 2
- Strange reply from Phi2-q4f32_1-1k model in running the Web-llm Chat Demo
- Cache.add() encountered a network error HOT 6
- Create a chat webapp with elegant UI on mlc.ai HOT 5
- Cannot find WebGPU on Safari (works on Arc) HOT 2
- Fetching model param super slow on Vercel HOT 1
- Engine not instantiating for WebWorker
- In the Llama-2-7b-chat-hf-q4f32_1-1k model, the number of tokens in the prefill is 36 when inputting 'hello'. HOT 2
- [Tracking] WebLLM: Frontend Compatibility Issues and CDN Delivery HOT 2
- Issue with source map in v0.2.37 when running with Vite HOT 7
- [feature request] Please allow to upload a model. HOT 3
- New demo not working HOT 13
- GPU memory usage differs from local. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-llm.