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

Models are not downloaded #56

Open
mrwsl opened this issue Feb 11, 2025 · 0 comments
Open

Models are not downloaded #56

mrwsl opened this issue Feb 11, 2025 · 0 comments

Comments

@mrwsl
Copy link

mrwsl commented Feb 11, 2025

A follow-up issue from a discussion over at nextcloud AIO.

The examples provided for the models.yaml are not working as in: they are not getting downloaded. To my knowledge this is because there are merges happening in localai's index.yaml. One work around is to create a complete entry for a chosen model like:

curl -s https://raw.githubusercontent.com/mudler/LocalAI/refs/heads/master/gallery/index.yaml | yq '.[] | select(.name == "whisper-large-q5_0")' -y

resulting in something like this

- url: github:mudler/LocalAI/gallery/[email protected]
  name: whisper-large-q5_0
  icon: https://avatars.githubusercontent.com/u/14957082
  license: MIT
  urls:
    - https://github.com/ggerganov/whisper.cpp
    - https://huggingface.co/ggerganov/whisper.cpp
  overrides:
    parameters:
      model: ggml-model-whisper-large-q5_0.bin
  files:
    - filename: ggml-model-whisper-large-q5_0.bin
      uri: https://ggml.ggerganov.com/ggml-model-whisper-large-q5_0.bin
      sha256: 3a214837221e4530dbc1fe8d734f302af393eb30bd0ed046042ebf4baf70f6f2
  description: "Port of OpenAI's Whisper model in C/C++

    "

It is important to change @master to a version like done above, or else localai will complain about missing configuration.

So this is a weird one since this seems to be an issue for localai. It still might be worth providing an instruction or examples to get the community container working.

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

No branches or pull requests

1 participant