Skip to content

feat(cli): allow to install backends from OCI tar files #5816

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

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jul 8, 2025

Description

This PR allows to install backends locally, for instance:

docker build --build-arg BACKEND=llama-cpp -t llama-cpp-backend -f backend/Dockerfile.llama-cpp .
docker save llama-cpp-backend -o llama-backend.tar
local-ai backends install "ocifile://$PWD/llama-backend.tar"

It also now avoid duplication of commands when installing things locally or not, it will work the same across the codebase (hence why more removals).

Notes for Reviewers

This is needed in order to go ahead with #5790 - we need to build some backends on-the-fly to run CI tests.

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Jul 8, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 6bec8c8
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/686e7f0717dec60008a90ab4
😎 Deploy Preview https://deploy-preview-5816--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler mudler force-pushed the feat/install-backends-locally branch from 65c1f0b to 8d930f4 Compare July 9, 2025 10:46
@mudler mudler force-pushed the feat/install-backends-locally branch from 8d930f4 to 6bec8c8 Compare July 9, 2025 14:39
@mudler mudler merged commit ec206cc into master Jul 9, 2025
28 checks passed
@mudler mudler deleted the feat/install-backends-locally branch July 9, 2025 16:19
@mudler mudler added the enhancement New feature or request label Jul 9, 2025
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.

1 participant