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: 🐍 add mamba support #1589

Merged
merged 1 commit into from
Jan 19, 2024
Merged

feat: 🐍 add mamba support #1589

merged 1 commit into from
Jan 19, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jan 14, 2024

Description

This PR fixes #1588 and adds support for mamba (https://github.com/state-spaces/mamba)

Examples: #1618

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Jan 14, 2024

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit 23f38c0
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/65aaba514b32cd0008d96f98

@mudler mudler added the enhancement New feature or request label Jan 19, 2024
@mudler mudler changed the title feat: add mamba support feat: 🐍 add mamba support Jan 19, 2024
@mudler mudler marked this pull request as ready for review January 19, 2024 18:06
This is a first iteration of the mamba backend, loosely based on
mamba-chat(https://github.com/havenhq/mamba-chat).
@mudler mudler merged commit 9e653d6 into master Jan 19, 2024
24 checks passed
@mudler mudler deleted the mamba branch January 19, 2024 22:42
truecharts-admin added a commit to truecharts/charts that referenced this pull request Jan 21, 2024
….0 by renovate (#17442)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/localai/localai](https://togithub.com/mudler/LocalAI) |
minor | `v2.5.1-cublas-cuda11-ffmpeg-core` ->
`v2.6.0-cublas-cuda11-ffmpeg-core` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>mudler/LocalAI (docker.io/localai/localai)</summary>

### [`v2.6.0`](https://togithub.com/mudler/LocalAI/releases/tag/v2.6.0)

[Compare
Source](https://togithub.com/mudler/LocalAI/compare/v2.5.1...v2.6.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

##### What's Changed

##### Bug fixes 🐛

- move BUILD_GRPC_FOR_BACKEND_LLAMA logic to makefile: errors in this
section now immediately fail the build by
[@&#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1576
- prepend built binaries in PATH for BUILD_GRPC_FOR_BACKEND_LLAMA by
[@&#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1593

##### Exciting New Features 🎉

- minor: replace shell pwd in Makefile with CURDIR for better windows
compatibility by [@&#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1571
- Makefile: allow to build without GRPC_BACKENDS by
[@&#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1607
- feat: 🐍 add mamba support by
[@&#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1589
- feat(extra-backends): Improvements, adding mamba example by
[@&#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1618

##### 👒 Dependencies

- ⬆️ Update docs version mudler/LocalAI by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1567
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1568
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1573
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1578
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1583
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1587
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1590
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1594
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1599

##### Other Changes

- Moving the how tos to self hosted by
[@&#8203;lunamidori5](https://togithub.com/lunamidori5) in
[mudler/LocalAI#1574
- docs: missing golang requirement for local build for debian by
[@&#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1596
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1597
- docs/examples: enhancements by
[@&#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1572
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1604
- Update README.md by
[@&#8203;lunamidori5](https://togithub.com/lunamidori5) in
[mudler/LocalAI#1601
- docs: re-use original permalinks by
[@&#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1610
- ⬆️ Update ggerganov/llama.cpp by
[@&#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1612
- Expanded and interlinked Docker documentation by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[mudler/LocalAI#1614
- Modernized LlamaIndex integration by
[@&#8203;jamesbraza](https://togithub.com/jamesbraza) in
[mudler/LocalAI#1613

##### New Contributors

- [@&#8203;dionysius](https://togithub.com/dionysius) made their first
contribution in
[mudler/LocalAI#1571

**Full Changelog**:
mudler/LocalAI@v2.5.1...v2.6.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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
discretizer pushed a commit to discretizer/charts that referenced this pull request Jan 29, 2024
….0 by renovate (truecharts#17442)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/localai/localai](https://togithub.com/mudler/LocalAI) |
minor | `v2.5.1-cublas-cuda11-ffmpeg-core` ->
`v2.6.0-cublas-cuda11-ffmpeg-core` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>mudler/LocalAI (docker.io/localai/localai)</summary>

### [`v2.6.0`](https://togithub.com/mudler/LocalAI/releases/tag/v2.6.0)

[Compare
Source](https://togithub.com/mudler/LocalAI/compare/v2.5.1...v2.6.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

##### What's Changed

##### Bug fixes 🐛

- move BUILD_GRPC_FOR_BACKEND_LLAMA logic to makefile: errors in this
section now immediately fail the build by
[@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1576
- prepend built binaries in PATH for BUILD_GRPC_FOR_BACKEND_LLAMA by
[@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1593

##### Exciting New Features 🎉

- minor: replace shell pwd in Makefile with CURDIR for better windows
compatibility by [@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1571
- Makefile: allow to build without GRPC_BACKENDS by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1607
- feat: 🐍 add mamba support by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1589
- feat(extra-backends): Improvements, adding mamba example by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1618

##### 👒 Dependencies

- ⬆️ Update docs version mudler/LocalAI by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1567
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1568
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1573
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1578
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1583
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1587
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1590
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1594
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1599

##### Other Changes

- Moving the how tos to self hosted by
[@&truecharts#8203;lunamidori5](https://togithub.com/lunamidori5) in
[mudler/LocalAI#1574
- docs: missing golang requirement for local build for debian by
[@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1596
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1597
- docs/examples: enhancements by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1572
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1604
- Update README.md by
[@&truecharts#8203;lunamidori5](https://togithub.com/lunamidori5) in
[mudler/LocalAI#1601
- docs: re-use original permalinks by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1610
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1612
- Expanded and interlinked Docker documentation by
[@&truecharts#8203;jamesbraza](https://togithub.com/jamesbraza) in
[mudler/LocalAI#1614
- Modernized LlamaIndex integration by
[@&truecharts#8203;jamesbraza](https://togithub.com/jamesbraza) in
[mudler/LocalAI#1613

##### New Contributors

- [@&truecharts#8203;dionysius](https://togithub.com/dionysius) made their first
contribution in
[mudler/LocalAI#1571

**Full Changelog**:
mudler/LocalAI@v2.5.1...v2.6.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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
GabrielBarzen pushed a commit to GabrielBarzen/charts that referenced this pull request Feb 2, 2024
….0 by renovate (truecharts#17442)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/localai/localai](https://togithub.com/mudler/LocalAI) |
minor | `v2.5.1-cublas-cuda11-ffmpeg-core` ->
`v2.6.0-cublas-cuda11-ffmpeg-core` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>mudler/LocalAI (docker.io/localai/localai)</summary>

### [`v2.6.0`](https://togithub.com/mudler/LocalAI/releases/tag/v2.6.0)

[Compare
Source](https://togithub.com/mudler/LocalAI/compare/v2.5.1...v2.6.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

##### What's Changed

##### Bug fixes 🐛

- move BUILD_GRPC_FOR_BACKEND_LLAMA logic to makefile: errors in this
section now immediately fail the build by
[@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1576
- prepend built binaries in PATH for BUILD_GRPC_FOR_BACKEND_LLAMA by
[@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1593

##### Exciting New Features 🎉

- minor: replace shell pwd in Makefile with CURDIR for better windows
compatibility by [@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1571
- Makefile: allow to build without GRPC_BACKENDS by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1607
- feat: 🐍 add mamba support by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1589
- feat(extra-backends): Improvements, adding mamba example by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1618

##### 👒 Dependencies

- ⬆️ Update docs version mudler/LocalAI by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1567
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1568
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1573
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1578
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1583
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1587
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1590
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1594
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1599

##### Other Changes

- Moving the how tos to self hosted by
[@&truecharts#8203;lunamidori5](https://togithub.com/lunamidori5) in
[mudler/LocalAI#1574
- docs: missing golang requirement for local build for debian by
[@&truecharts#8203;dionysius](https://togithub.com/dionysius) in
[mudler/LocalAI#1596
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1597
- docs/examples: enhancements by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1572
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1604
- Update README.md by
[@&truecharts#8203;lunamidori5](https://togithub.com/lunamidori5) in
[mudler/LocalAI#1601
- docs: re-use original permalinks by
[@&truecharts#8203;mudler](https://togithub.com/mudler) in
[mudler/LocalAI#1610
- ⬆️ Update ggerganov/llama.cpp by
[@&truecharts#8203;localai-bot](https://togithub.com/localai-bot) in
[mudler/LocalAI#1612
- Expanded and interlinked Docker documentation by
[@&truecharts#8203;jamesbraza](https://togithub.com/jamesbraza) in
[mudler/LocalAI#1614
- Modernized LlamaIndex integration by
[@&truecharts#8203;jamesbraza](https://togithub.com/jamesbraza) in
[mudler/LocalAI#1613

##### New Contributors

- [@&truecharts#8203;dionysius](https://togithub.com/dionysius) made their first
contribution in
[mudler/LocalAI#1571

**Full Changelog**:
mudler/LocalAI@v2.5.1...v2.6.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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
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.

s4 mamba support
1 participant