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

add CUDA container for logdetective #56

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

TomasTomecek
Copy link
Collaborator

this enables running logdetective in a container while accelerated by CUDA

details: https://blog.tomecek.net/post/running-logdetective-service-on-cuda-ec2/

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@jkonecny12
Copy link
Collaborator

I wonder, could we somehow use RHEL AI? Isn't there a Fedora AI variant?

Comment on lines +4 to +9
&& echo "[cuda-fedora39-x86_64]" >> /etc/yum.repos.d/cuda.repo \
&& echo "name=cuda-fedora39-x86_64" >> /etc/yum.repos.d/cuda.repo \
&& echo "baseurl=https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64" >> /etc/yum.repos.d/cuda.repo \
&& echo "enabled=1" >> /etc/yum.repos.d/cuda.repo \
&& echo "gpgcheck=1" >> /etc/yum.repos.d/cuda.repo \
&& echo "gpgkey=https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64/D42D0685.pub" >> /etc/yum.repos.d/cuda.repo \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to just have .repo file next to the Containerfile and COPY it into the container. It's seems simpler.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it would, but your comment would become even more relevant :) I agree I don't want to flood the root dir of this repo with "random" files

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like that now we can see the content of the repo file and i.e. once F40 variant is available, we can s/39/40/g in one file

Copy link
Member

@xsuchy xsuchy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@TomasTomecek
Copy link
Collaborator Author

I wonder, could we somehow use RHEL AI? Isn't there a Fedora AI variant?

since we discussed this on our sync meeting, I'll reply here as well

there is no official release right now of those: once something's out, I totally want to explore :)

@jpodivin jpodivin merged commit b5db413 into fedora-copr:main Aug 22, 2024
2 checks passed
@TomasTomecek TomasTomecek deleted the cuda-container branch August 27, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants