GithubHelp home page GithubHelp logo

Comments (8)

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024 1

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.

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024 1

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.

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024 1

@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.

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024 1

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.

UXDart avatar UXDart commented on June 11, 2024

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.

UXDart avatar UXDart commented on June 11, 2024

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.

kudaibergenu avatar kudaibergenu commented on June 11, 2024

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.

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024

@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)

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.