Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update model version from the app #434

Open
tiero opened this issue Oct 26, 2023 · 1 comment
Open

update model version from the app #434

tiero opened this issue Oct 26, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tiero
Copy link
Contributor

tiero commented Oct 26, 2023

Now the only way to download a new version of a model, is to delete the data directory (or specific model folder) manually.

We should allow to

a) check if a new update is available
b) allow users to remove old and download new ones

These should be Tauri commands, eventually wrapped into the UI

The update process can be built more efficiently if we have a checksum system in place
#423

@tiero tiero changed the title binary: add update functionality in-app update model version from the app Oct 26, 2023
@swarnimarun swarnimarun added the enhancement New feature or request label Oct 30, 2023
@swarnimarun
Copy link
Contributor

Notes:

  • Currently it's possible to do the above, by deleting the service and redownloading it, but you never get notified if the local version maybe stale.
  • We should make it possible to only update specific files such as just updating the binaries and keep the weights from being deleted and redownloaded.
  • We can't use checksums for a while hence we can store local metadata about last used url to get around and get proper url-based versioning working.

Future Works may include:

  • We should be able to get ota updates and patches for large weight files so that we don't have to ever redownload a binary locally.
  • We should support checksum validated urls.
  • We should provide ability to switch to specific binary or model versions to the user??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants