-
Notifications
You must be signed in to change notification settings - Fork 49
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
Only do dnf install for cuda images #441
Conversation
Reviewer's Guide by SourceryThe PR modifies the container build script to only perform DNF package installation for CUDA images, removing the default case that was installing packages unnecessarily for Vulkan images. This change is implemented through a modification of the conditional logic in the dnf_install function. Sequence diagram for dnf_install function logicsequenceDiagram
participant Script
participant DNF
Script->>DNF: Check containerfile type
alt containerfile is rocm
Script->>DNF: dnf install rocm-dev hipblas-devel rocblas-devel
else containerfile is cuda
Script->>DNF: dnf install rpm_list
else containerfile is Vulkan
Script->>DNF: No installation, rebuild with -DGGML_VULKAN
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Should fix container build for Vulkan images Signed-off-by: Eric Curtin <[email protected]>
d0d5504
to
89236dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ericcurtin - I've reviewed your changes - here's some feedback:
Overall Comments:
- Please provide a more detailed commit message explaining why Vulkan images don't need additional packages installed and how this fixes the container build.
- There's a typo in the PR description: 'Shoudl' should be 'Should'
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
LGTM |
Should fix container build for Vulkan images
Summary by Sourcery
Enhancements: