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

feat: gallery repository #663

Merged
merged 12 commits into from
Jun 24, 2023
Merged

feat: gallery repository #663

merged 12 commits into from
Jun 24, 2023

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jun 23, 2023

Description

This PR is multi fold:

  • introduce gallery repositories that can be defined via environment variable (for now)
  • automatically detect and uncompress .tar/.tar.gz/etc archives if downloaded by the gallery ( fixes feat: gallery should support automatic extractions #651 )
  • install models from repositories
  • list available models
  • provide compatibility support with the old /v1/engines/:model/completions endpoint
  • detect installed models (this is done as a first pass by looking if the model has a configuration file existing in the models folder)

TODO:

  • detect installed models during listing
  • better state for installed models (where are coming from? where to keep system information?)
  • docs

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@mudler mudler force-pushed the gallery_repository branch 3 times, most recently from 7bac2b1 to a25a4c1 Compare June 23, 2023 22:44
@mudler mudler marked this pull request as ready for review June 23, 2023 22:57
Signed-off-by: mudler <mudler@localai.io>
@mudler mudler changed the title Gallery repository feat: gallery repository Jun 24, 2023
@mudler mudler merged commit 60db595 into master Jun 24, 2023
@mudler mudler deleted the gallery_repository branch June 24, 2023 06:18
@mudler mudler added the enhancement New feature or request label Jun 26, 2023
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 this pull request may close these issues.

feat: gallery should support automatic extractions
1 participant