Comments (8)
Thanks for the suggestion! We are thinking about adding versioning to the binary name, say Llama-v0.2.21
, then when updating it we update it to Llama-v0.2.22
so the outdated one in user's cache will not be used and be removed.
from web-llm.
I don't think the recent changes require redownloading. Besides, if we were to redownload a model, only the model library (tens of MB) is needed, not the weights.
from web-llm.
@UXDart This shouldn't be related to the model library versioning issue described by the OP. Seems to be more related to #322 and #313. Will look into this issue today; meanwhile clearing the cache might alleviate the issue as a temporary workaround.
from web-llm.
Update: we now support wasm versioning such that whenever a new version of wasm is required, we will download the new wasm (since the URL is different). The idea is that each web-llm npm version binds to a wasm version. See the PR below for more:
from web-llm.
but what recently changed that a re download was needed of the model? we can't make each user download 10+GB too many times... thanks
from web-llm.
it's been already a few times that even on the chat demo, I need to clear the cache to be able to to make it work. it just happens in the last release of the npm web llm, I updated from .20 to .23 and get this error, I can't find the reason, when calling reload mistral model get ExitStatus {name: 'ExitStatus', message: 'Program terminated with exit(1)', status: 1}
when it is on 40-60%. if I clear the cache it works but then it can't load from cache again. if I go back to .20 it works ok. what it could be? thanks - using chrome on mac
from web-llm.
it's been already a few times that even on the chat demo, I need to clear the cache to be able to to make it work. it just happens in the last release of the npm web llm, I updated from .20 to .23 and get this error, I can't find the reason, when calling reload mistral model get
ExitStatus {name: 'ExitStatus', message: 'Program terminated with exit(1)', status: 1}
when it is on 40-60%. if I clear the cache it works but then it can't load from cache again. if I go back to .20 it works ok. what it could be? thanks - using chrome on mac
Same happens to me for every model on chrome extension. Do not know how to fix it. I am also using chrome on mac
from web-llm.
@UXDart @kudaibergenu Just updated the npm to 0.2.24: #323
This should fix it. Let us know if issues persist. Thank you!
from web-llm.
Related Issues (20)
- Not working HOT 2
- WebCPU? HOT 3
- try to run gemma-7b but failed HOT 1
- simple-chat: error during loading params onto WebGPU, GPUPipelineError: A valid external Instance reference no longer exists HOT 3
- Simple-chat is successfully deployed on the PC, an error occurs:Init error, TypeError: crypto.randomUUlD is not a function when I accesses the web port using the smart phone browser HOT 1
- ES module build of web-llm
- Error: Unknown conv template gpt2 when using prebuild gpt2 in examples/get-started HOT 2
- [Announcement] Breaking changes regarding conversation template HOT 1
- CLI run on MacOS error "unrecognized arguments: --allreduce_strategy=RING" HOT 1
- Model request: new Mistral 7B with 32K context HOT 1
- [Vue/Vite/Nuxt] Build Error: require is not defined in ES module scope, you can use import instead HOT 2
- Gibberish output with `Llama-2-7b-chat-hf-q4f32_1` HOT 17
- Add support for Gemma 7B
- Link in main readme doesn't work HOT 1
- Error running the function calling example: Cannot find global function mlc.serve.BNFGrammarGetGrammarOfJSON HOT 3
- BufferSource argument is empty HOT 4
- [MLC-LLM] Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #4 "env" HOT 2
- 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
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.