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(Dockerfile): allow to skip driver installation #4447

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Dec 22, 2024

Description

This PR introduces a SKIP_DRIVERS variable during container image build which allows to skip the drivers installations. This is useful e.g. when the drivers are already part of the image, for instance to build an image for the Nvidia AGX Orin:

docker build --build-arg SKIP_DRIVERS=true --build-arg BUILD_TYPE=cublas --build-arg BASE_IMAGE=nvcr.io/nvidia/l4t-jetpack:r36.4.0 --build-arg IMAGE_TYPE=core -t localai-orin .

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@mudler mudler added the enhancement New feature or request label Dec 22, 2024
Copy link

netlify bot commented Dec 22, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit d312f7f
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/6768570a55c09a00086f7549
😎 Deploy Preview https://deploy-preview-4447--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 site configuration.

@mudler mudler force-pushed the dockerfile_drivers branch from 9af15cd to d312f7f Compare December 22, 2024 18:14
@mudler mudler merged commit 478014c into master Dec 22, 2024
31 checks passed
@mudler mudler deleted the dockerfile_drivers branch December 22, 2024 20:28
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.

2 participants