-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix(transformers*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper #1420
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.
|
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Initialize correctly the environment for the transformers-musicgen backend.
mudler
commented
Dec 11, 2023
@@ -3,9 +3,9 @@ | |||
## A bash script wrapper that runs the transformers server with conda | |||
|
|||
# Activate conda environment | |||
source conda activate transformers-musicgen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was crashing hardly locally. Wondering @dave-gray101 if that worked for you?
mudler
changed the title
tests: add sentence-transformers and transformers-musicgen
fix(transformers*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper
Dec 11, 2023
truecharts-admin
referenced
this pull request
in truecharts/public
Dec 18, 2023
…1.0 by renovate (#16284) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/go-skynet/local-ai](https://github.com/mudler/LocalAI) | minor | `v2.0.0-cublas-cuda11` -> `v2.1.0-cublas-cuda11` | --- > [!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.1.0`](https://github.com/mudler/LocalAI/releases/tag/v2.1.0) [Compare Source](https://github.com/mudler/LocalAI/compare/v2.0.0...v2.1.0) <!-- Release notes generated using configuration in .github/release.yml at master --> ##### What's Changed ##### Breaking Changes 🛠 - feat(alias): alias llama to llama-cpp, update docs by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1448](https://github.com/mudler/LocalAI/pull/1448) ##### Bug fixes 🐛 - fix(piper): pin petals, phonemize and espeak by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1393](https://github.com/mudler/LocalAI/pull/1393) - update(llama.cpp): update server, correctly propagate LLAMA_VERSION by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1440](https://github.com/mudler/LocalAI/pull/1440) ##### Exciting New Features 🎉 - Added Check API KEYs file to API.go by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1381](https://github.com/mudler/LocalAI/pull/1381) - exllama(v2): fix exllamav1, add exllamav2 by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1384](https://github.com/mudler/LocalAI/pull/1384) - Fix: API Key / JSON Fast Follow [#​1](https://github.com/mudler/LocalAI/issues/1) by [@​dave-gray101](https://github.com/dave-gray101) in [https://github.com/mudler/LocalAI/pull/1388](https://github.com/mudler/LocalAI/pull/1388) - feat: add transformers-musicgen backend by [@​dave-gray101](https://github.com/dave-gray101) in [https://github.com/mudler/LocalAI/pull/1387](https://github.com/mudler/LocalAI/pull/1387) - feat(diffusers): update, add autopipeline, controlnet by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1432](https://github.com/mudler/LocalAI/pull/1432) - feat(img2vid,txt2vid): Initial support for img2vid,txt2vid by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1442](https://github.com/mudler/LocalAI/pull/1442) ##### 👒 Dependencies - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1378](https://github.com/mudler/LocalAI/pull/1378) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1379](https://github.com/mudler/LocalAI/pull/1379) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1430](https://github.com/mudler/LocalAI/pull/1430) - ⬆️ Update mudler/go-piper by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1441](https://github.com/mudler/LocalAI/pull/1441) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1434](https://github.com/mudler/LocalAI/pull/1434) ##### Other Changes - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1385](https://github.com/mudler/LocalAI/pull/1385) - docs: site update fixing old image text / How To update updating GPU and CPU docker pages by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1399](https://github.com/mudler/LocalAI/pull/1399) - feat: cuda transformers by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1401](https://github.com/mudler/LocalAI/pull/1401) - feat(entrypoint): optionally prepare extra endpoints by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1405](https://github.com/mudler/LocalAI/pull/1405) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1390](https://github.com/mudler/LocalAI/pull/1390) - ⬆️ Update mudler/go-piper by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1400](https://github.com/mudler/LocalAI/pull/1400) - tests: add diffusers tests by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1419](https://github.com/mudler/LocalAI/pull/1419) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1418](https://github.com/mudler/LocalAI/pull/1418) - How To Updates / Model Used Switched / Removed "docker-compose" (RIP) by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1417](https://github.com/mudler/LocalAI/pull/1417) - fix(transformers\*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1420](https://github.com/mudler/LocalAI/pull/1420) - extras: add vllm,bark,vall-e-x tests, bump diffusers by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1422](https://github.com/mudler/LocalAI/pull/1422) - Documentation for Hipblas by [@​sfxworks](https://github.com/sfxworks) in [https://github.com/mudler/LocalAI/pull/1425](https://github.com/mudler/LocalAI/pull/1425) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1391](https://github.com/mudler/LocalAI/pull/1391) - docs: add aikit to integrations by [@​sozercan](https://github.com/sozercan) in [https://github.com/mudler/LocalAI/pull/1412](https://github.com/mudler/LocalAI/pull/1412) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1429](https://github.com/mudler/LocalAI/pull/1429) - docs(mixtral): add mixtral example by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1449](https://github.com/mudler/LocalAI/pull/1449) ##### New Contributors - [@​sozercan](https://github.com/sozercan) made their first contribution in [https://github.com/mudler/LocalAI/pull/1412](https://github.com/mudler/LocalAI/pull/1412) **Full Changelog**: mudler/LocalAI@v2.0.0...v2.1.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
truecharts-admin
referenced
this pull request
in truecharts/public
Dec 18, 2023
…1.0@f0b3afa by renovate (#16304) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/go-skynet/local-ai](https://github.com/mudler/LocalAI) | minor | `v2.0.0-cublas-cuda12-ffmpeg` -> `v2.1.0-cublas-cuda12-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.1.0`](https://github.com/mudler/LocalAI/releases/tag/v2.1.0) [Compare Source](https://github.com/mudler/LocalAI/compare/v2.0.0...v2.1.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Breaking Changes 🛠 - feat(alias): alias llama to llama-cpp, update docs by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1448](https://github.com/mudler/LocalAI/pull/1448) ##### Bug fixes 🐛 - fix(piper): pin petals, phonemize and espeak by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1393](https://github.com/mudler/LocalAI/pull/1393) - update(llama.cpp): update server, correctly propagate LLAMA_VERSION by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1440](https://github.com/mudler/LocalAI/pull/1440) ##### Exciting New Features 🎉 - Added Check API KEYs file to API.go by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1381](https://github.com/mudler/LocalAI/pull/1381) - exllama(v2): fix exllamav1, add exllamav2 by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1384](https://github.com/mudler/LocalAI/pull/1384) - Fix: API Key / JSON Fast Follow [#​1](https://github.com/mudler/LocalAI/issues/1) by [@​dave-gray101](https://github.com/dave-gray101) in [https://github.com/mudler/LocalAI/pull/1388](https://github.com/mudler/LocalAI/pull/1388) - feat: add transformers-musicgen backend by [@​dave-gray101](https://github.com/dave-gray101) in [https://github.com/mudler/LocalAI/pull/1387](https://github.com/mudler/LocalAI/pull/1387) - feat(diffusers): update, add autopipeline, controlnet by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1432](https://github.com/mudler/LocalAI/pull/1432) - feat(img2vid,txt2vid): Initial support for img2vid,txt2vid by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1442](https://github.com/mudler/LocalAI/pull/1442) ##### 👒 Dependencies - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1378](https://github.com/mudler/LocalAI/pull/1378) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1379](https://github.com/mudler/LocalAI/pull/1379) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1430](https://github.com/mudler/LocalAI/pull/1430) - ⬆️ Update mudler/go-piper by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1441](https://github.com/mudler/LocalAI/pull/1441) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1434](https://github.com/mudler/LocalAI/pull/1434) ##### Other Changes - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1385](https://github.com/mudler/LocalAI/pull/1385) - docs: site update fixing old image text / How To update updating GPU and CPU docker pages by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1399](https://github.com/mudler/LocalAI/pull/1399) - feat: cuda transformers by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1401](https://github.com/mudler/LocalAI/pull/1401) - feat(entrypoint): optionally prepare extra endpoints by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1405](https://github.com/mudler/LocalAI/pull/1405) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1390](https://github.com/mudler/LocalAI/pull/1390) - ⬆️ Update mudler/go-piper by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1400](https://github.com/mudler/LocalAI/pull/1400) - tests: add diffusers tests by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1419](https://github.com/mudler/LocalAI/pull/1419) - ⬆️ Update ggerganov/whisper.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1418](https://github.com/mudler/LocalAI/pull/1418) - How To Updates / Model Used Switched / Removed "docker-compose" (RIP) by [@​lunamidori5](https://github.com/lunamidori5) in [https://github.com/mudler/LocalAI/pull/1417](https://github.com/mudler/LocalAI/pull/1417) - fix(transformers\*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1420](https://github.com/mudler/LocalAI/pull/1420) - extras: add vllm,bark,vall-e-x tests, bump diffusers by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1422](https://github.com/mudler/LocalAI/pull/1422) - Documentation for Hipblas by [@​sfxworks](https://github.com/sfxworks) in [https://github.com/mudler/LocalAI/pull/1425](https://github.com/mudler/LocalAI/pull/1425) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1391](https://github.com/mudler/LocalAI/pull/1391) - docs: add aikit to integrations by [@​sozercan](https://github.com/sozercan) in [https://github.com/mudler/LocalAI/pull/1412](https://github.com/mudler/LocalAI/pull/1412) - ⬆️ Update ggerganov/llama.cpp by [@​localai-bot](https://github.com/localai-bot) in [https://github.com/mudler/LocalAI/pull/1429](https://github.com/mudler/LocalAI/pull/1429) - docs(mixtral): add mixtral example by [@​mudler](https://github.com/mudler) in [https://github.com/mudler/LocalAI/pull/1449](https://github.com/mudler/LocalAI/pull/1449) #### New Contributors - [@​sozercan](https://github.com/sozercan) made their first contribution in [https://github.com/mudler/LocalAI/pull/1412](https://github.com/mudler/LocalAI/pull/1412) **Full Changelog**: mudler/LocalAI@v2.0.0...v2.1.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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.
I'm trying to add python backends tests to the CI so we can merge with more confidence and test extras changes without breakage (see #1408 for context)