fix(build): remove non-redistributable CUDA files from CUDA and XPU container images#3614
Open
dabhi365 wants to merge 1 commit into
Open
fix(build): remove non-redistributable CUDA files from CUDA and XPU container images#3614dabhi365 wants to merge 1 commit into
dabhi365 wants to merge 1 commit into
Conversation
This file contains hidden or 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
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.
📝 Description
Two issues where non-redistributable NVIDIA CUDA files were not being correctly removed from published container images, violating the NVIDIA EULA.
XPU image (#3597):
The XPU build pipeline branches off of
anomalib-studio-baseand has no cleanup stage. The triton dependencies mentioned in the issue are not even used by Triton as they have an Intel backend. This fix removes it afteruv sync.CUDA Image (#3598):
The existing cleanup had an extra flag
-path "*cupti*"for thefindcommand. The non-compliant files are installed via pip wheels and land under.../nvidia/cu13/lib/so the filter was skipping them and they survived into the final image.✨ Changes
Select what type of change your PR is:
✅ Checklist
Before you submit your pull request, please make sure you have completed the following steps: