Skip to content

Fix uv-managed CUDA base compatibility - #3160

Merged
anish-sahoo merged 5 commits into
mainfrom
fix/cog-base-pep668
Aug 21, 2026
Merged

Fix uv-managed CUDA base compatibility#3160
anish-sahoo merged 5 commits into
mainfrom
fix/cog-base-pep668

Conversation

@anish-sahoo

@anish-sahoo anish-sahoo commented Aug 21, 2026

Copy link
Copy Markdown
Member
  • Pass --break-system-packages when CUDA 13+ Cog bases provide uv-managed Python.
  • Add the python alias expected by Cog runtime and image inspection commands.
  • Apply the alias to both prebuilt CUDA 13 bases and the direct CUDA path.
  • Update h2 to 0.4.16 for the current RustSec advisory.
  • Keep existing behavior for older Cog bases and non-CUDA builds.

Closes #3159

@ask-bonk

ask-bonk Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@anish-sahoo anish-sahoo changed the title Fix PEP 668 installs on CUDA 13 Cog bases Fix uv-managed CUDA base compatibility Aug 21, 2026
@ask-bonk

ask-bonk Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@anish-sahoo
anish-sahoo marked this pull request as ready for review August 21, 2026 17:07
@anish-sahoo
anish-sahoo requested a review from a team as a code owner August 21, 2026 17:07
@ask-bonk

ask-bonk Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@ask-bonk

ask-bonk Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@anish-sahoo
anish-sahoo enabled auto-merge August 21, 2026 21:42

@michaeldwan michaeldwan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good, thanks!

@anish-sahoo
anish-sahoo added this pull request to the merge queue Aug 21, 2026
Merged via the queue into main with commit 6110c91 Aug 21, 2026
45 checks passed
@anish-sahoo
anish-sahoo deleted the fix/cog-base-pep668 branch August 21, 2026 22:29
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.

CUDA 13 Cog base fails Python dependency install under PEP 668

2 participants