chore: Create cuda runtime docker from scratch and drop NCCL - #1931
Open
fcollonval wants to merge 2 commits into
Open
chore: Create cuda runtime docker from scratch and drop NCCL#1931fcollonval wants to merge 2 commits into
fcollonval wants to merge 2 commits 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.
Summary
I wanted to share a modification I did to the
Dockerfile.cudato make it slimmer by only bundling the tool in ascratchcontainer.Here is the reported sizes targeting a ARM device (namely Jetson Thor):
It also disable NCCL (NVIDIA Collective Communication Library https://developer.nvidia.com/nccl) has this is not useful in the general case of local inference.
Related Issue / Discussion
None
Additional Information
One consequence is that the container is "empty" meaning there is no point to try to execute it interactively as there is not even a shell - only the final stable-diffusion.cpp binaries.
Checklist