-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: inline templates and accept URLs in models #1452
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for localai canceled.
|
mudler
commented
Dec 17, 2023
a8eeda5
to
18e581f
Compare
831566f
to
47425cb
Compare
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
truecharts-admin
referenced
this pull request
in truecharts/public
Dec 25, 2023
…2.0 by renovate (#16499) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/go-skynet/local-ai](https://github.com/mudler/LocalAI) | minor | `v2.1.0-cublas-cuda11-ffmpeg` -> `v2.2.0-cublas-cuda11-ffmpeg` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>mudler/LocalAI (quay.io/go-skynet/local-ai)</summary> ### [`v2.2.0`](https://github.com/mudler/LocalAI/releases/tag/v2.2.0) [Compare Source](https://github.com/mudler/LocalAI/compare/v2.1.0...v2.2.0) ##### What's Changed This release brings updates to the backends and includes a fix for recompilation of LocalAI with go-rwkv ([https://github.com/mudler/LocalAI/issues/1473](https://github.com/mudler/LocalAI/issues/1473)). To note, it also tries to reduce the image size by allowing some backends (transformers-based) to share the same environment. With this release inline templates and models as URLs are supported, for example: ```yaml name: mixtral parameters: model: https://huggingface.co/TheBloke/Mixtral-8x7B-v0.1-GGUF/resolve/main/mixtral-8x7b-v0.1.Q2_K.gguf ##### or huggingface://TheBloke/Mixtral-8x7B-v0.1-GGUF/mixtral-8x7b-v0.1.Q2_K.gguf@main template: completion: | Complete the following: {{.Input}} ``` ##### Exciting New Features 🎉 - docs: automatically track latest versions by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1451](https://github.com/mudler/LocalAI/pull/1451) - feat: inline templates and accept URLs in models by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1452](https://github.com/mudler/LocalAI/pull/1452) - feat(conda): share envs with transformer-based backends by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1465](https://github.com/mudler/LocalAI/pull/1465) ##### 👒 Dependencies - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1450](https://github.com/mudler/LocalAI/pull/1450) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1455](https://github.com/mudler/LocalAI/pull/1455) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1457](https://github.com/mudler/LocalAI/pull/1457) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1462](https://github.com/mudler/LocalAI/pull/1462) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1461](https://github.com/mudler/LocalAI/pull/1461) - ⬆️ Update donomii/go-rwkv.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1470](https://github.com/mudler/LocalAI/pull/1470) ##### Other Changes - How To (Updates and Fixes) by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1456](https://github.com/mudler/LocalAI/pull/1456) - Revert ":arrow_up: Update donomii/go-rwkv.cpp" by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1474](https://github.com/mudler/LocalAI/pull/1474) **Full Changelog**: mudler/LocalAI@v2.1.0...v2.2.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
This was referenced Dec 31, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR makes possible to allow inline templates and, to specify urls in models. as such now the yaml file can be a single, portable config file representing the model.
An example of a model YAML file now could be:
TODO: tests, examples and docs updates
Partly related to #1373