Skip to content

COG_UBUNTU_VERSION env support for CUDA base images #2472

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bzikst
Copy link

@bzikst bzikst commented Jul 23, 2025

This PR is related to #2377

Cog base images with Ubuntu 24.04 is broken as it looks from my side, some issue with Python build. For now, Cog automatically select Ubuntu 24.04 from Nvidia's CUDA devel images as highest available version. This PR adds ability to force 22.04 and build working image via new env COG_UBUNTU_VERSION.

It worked out for me, maybe it will be usefull for you guys. Indeed, fixing Python build on 24.04 is a better option, but I personally cant understand how to do it — spent some time with no result.

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.

1 participant