v2.20.1- P2P Global community pools! #3363
mudler
announced in
Announcements
Replies: 1 comment
-
Everything looks wonderful and good, and I really want to download a new version and use it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR
gpt4all.cpp
andpetals
backends deprecated🌍 Explorer and Global Community Pools
Now you can share your LocalAI instance with the global community or explore available instances by visiting explorer.localai.io. This decentralized network powers our demo instance, creating a truly collaborative AI experience.
How It Works
Using the Explorer, you can easily share or connect to clusters. For detailed instructions on creating new clusters or connecting to existing ones, check out our documentation.
👀 Demo Instance Now Available
Curious about what LocalAI can do? Dive right in with our live demo at demo.localai.io! Thanks to our generous sponsors, this instance is publicly available and configured via peer-to-peer (P2P) networks. If you'd like to connect, follow the instructions here.
🤗 Hugging Face Integration
I am excited to announce that LocalAI is now integrated within Hugging Face’s local apps! This means you can select LocalAI directly within Hugging Face to build and deploy models with the power and flexibility of our platform. Experience seamless integration with a single click!
This integration was made possible through this PR.
🎨 FLUX-1 Image Generation Support
FLUX-1 lands in LocalAI! With this update, LocalAI can now generate stunning images using FLUX-1, even in federated mode. Whether you're experimenting with new designs or creating production-quality visuals, FLUX-1 has you covered.
Try it out at demo.localai.io and see what LocalAI + FLUX-1 can do!
🐛 Diffusers and hipblas Fixes
Great news for AMD users! If you’ve encountered issues with the Diffusers backend or hipblas, those bugs have been resolved. We’ve transitioned to
uv
for managing Python dependencies, ensuring a smoother experience. For more details, check out Issue #1592.🏎️ Strict Mode for API Compliance
To stay up to date with OpenAI’s latest changes, now LocalAI have support as well for Strict Mode ( https://openai.com/index/introducing-structured-outputs-in-the-api/ ). This new feature ensures compatibility with the most recent API updates, enforcing stricter JSON outputs using BNF grammar rules.
To activate, simply set
strict: true
in your API calls, even if it’s disabled in your configuration.Key Notes:
strict: true
enables grammar enforcement, even if disabled in your config.format_type
is set tojson_schema
, BNF grammars will be automatically generated from the schema.🛑 Disable Gallery
Need to streamline your setup? You can now disable the gallery endpoint using
LOCALAI_DISABLE_GALLERY_ENDPOINT
. For more options, check out the full list of commands with--help
.🌞 P2P and Federation Enhancements
Several enhancements have been made to improve your experience with P2P and federated clusters:
LOCALAI_RANDOM_WORKER
if needed).LOCALAI_TARGET_WORKER
.💪 Run Multiple P2P Clusters in the Same Network
You can now run multiple clusters within the same network by specifying a network ID via CLI. This allows you to logically separate clusters while using the same shared token. Just set
LOCALAI_P2P_NETWORK_ID
to a UUID that matches across instances.Please note, while this offers segmentation, it’s not fully secure—anyone with the network token can view available services within the network.
🧪 Deprecation Notice:
gpt4all.cpp
andpetals
BackendsAs we continue to evolve, we are officially deprecating the
gpt4all.cpp
andpetals
backends. The newerllama.cpp
offers a superior set of features and better performance, making it the preferred choice moving forward.From this release onward,
gpt4all
models inggml
format are no longer compatible. Additionally, thepetals
backend has been deprecated as well. LocalAI’s new P2P capabilities now offer a comprehensive replacement for these features.What's Changed
Breaking Changes 🛠
Bug fixes 🐛
Exciting New Features 🎉
json_schema
format type and strict mode by @mudler in feat(openai): addjson_schema
format type and strict mode #3193🧠 Models
📖 Documentation and examples
👒 Dependencies
7aec99b
to8b14837
by @dependabot in chore(deps): Bump docs/themes/hugo-theme-relearn from7aec99b
to8b14837
#31421e6f6554aa11fa10160a5fda689e736c3c34169f
by @mudler in chore: ⬆️ Update ggerganov/llama.cpp to1e6f6554aa11fa10160a5fda689e736c3c34169f
#318915fa07a5c564d3ed7e7eb64b73272cedb27e73ec
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to15fa07a5c564d3ed7e7eb64b73272cedb27e73ec
#31976eac06759b87b50132a01be019e9250a3ffc8969
by @localai-bot in chore: ⬆️ Update ggerganov/whisper.cpp to6eac06759b87b50132a01be019e9250a3ffc8969
#32033a14e00366399040a139c67dd5951177a8cb5695
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to3a14e00366399040a139c67dd5951177a8cb5695
#3204b72942fac998672a79a1ae3c03b340f7e629980b
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp tob72942fac998672a79a1ae3c03b340f7e629980b
#320881c999fe0a25c4ebbfef10ed8a1a96df9cfc10fd
by @localai-bot in chore: ⬆️ Update ggerganov/whisper.cpp to81c999fe0a25c4ebbfef10ed8a1a96df9cfc10fd
#32096e02327e8b7837358e0406bf90a4632e18e27846
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to6e02327e8b7837358e0406bf90a4632e18e27846
#32124134999e01f31256b15342b41c4de9e2477c4a6c
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to4134999e01f31256b15342b41c4de9e2477c4a6c
#3218fc4ca27b25464a11b3b86c9dbb5b6ed6065965c2
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp tofc4ca27b25464a11b3b86c9dbb5b6ed6065965c2
#324022fcd5fd110ba1ff592b4e23013d870831756259
by @localai-bot in chore: ⬆️ Update ggerganov/whisper.cpp to22fcd5fd110ba1ff592b4e23013d870831756259
#323906943a69f678fb32829ff06d9c18367b17d4b361
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to06943a69f678fb32829ff06d9c18367b17d4b361
#32455fd89a70ead34d1a17015ddecad05aaa2490ca46
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to5fd89a70ead34d1a17015ddecad05aaa2490ca46
#3248llama_add_bos_token
by @mudler in chore(deps): bump llama.cpp, renamellama_add_bos_token
#32538b3befc0e2ed8fb18b903735831496b8b0c80949
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to8b3befc0e2ed8fb18b903735831496b8b0c80949
#32572fb9267887d24a431892ce4dccc75c7095b0d54d
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to2fb9267887d24a431892ce4dccc75c7095b0d54d
#3260554b049068de24201d19dde2fa83e35389d4585d
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to554b049068de24201d19dde2fa83e35389d4585d
#32638b14837
to82a5e98
by @dependabot in chore(deps): Bump docs/themes/hugo-theme-relearn from8b14837
to82a5e98
#3274cfac111e2b3953cdb6b0126e67a2487687646971
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp tocfac111e2b3953cdb6b0126e67a2487687646971
#3315d65786ea540a5aef21f67cacfa6f134097727780
by @localai-bot in chore: ⬆️ Update ggerganov/whisper.cpp tod65786ea540a5aef21f67cacfa6f134097727780
#33442f3c1466ff46a2413b0e363a5005c46538186ee6
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp to2f3c1466ff46a2413b0e363a5005c46538186ee6
#3345fc54ef0d1c138133a01933296d50a36a1ab64735
by @localai-bot in chore: ⬆️ Update ggerganov/llama.cpp tofc54ef0d1c138133a01933296d50a36a1ab64735
#33569e3c5345cd46ea718209db53464e426c3fe7a25e
by @localai-bot in chore: ⬆️ Update ggerganov/whisper.cpp to9e3c5345cd46ea718209db53464e426c3fe7a25e
#3357Other Changes
New Contributors
Full Changelog: v2.19.4...v2.20.0
This discussion was created from the release v2.20.1.
Beta Was this translation helpful? Give feedback.
All reactions