Skip to content

[tests] AOT compilation failure fixes - #14553

Merged
sayakpaul merged 2 commits into
mainfrom
compilation-failures-fix
Aug 22, 2026
Merged

[tests] AOT compilation failure fixes#14553
sayakpaul merged 2 commits into
mainfrom
compilation-failures-fix

Conversation

@sayakpaul

Copy link
Copy Markdown
Member

#14464 fixed only a part of the AOT compilation failure problems. They are still happening see: https://github.com/huggingface/diffusers/actions/runs/32379919032.

This PR fully fixes it.

@github-actions github-actions Bot added the size/S PR with diff < 50 LOC label Aug 21, 2026
@sayakpaul

Copy link
Copy Markdown
Member Author

/diffusers-bot pytest -k "test_compile_works_with_aot" tests/models/

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

pytest -k "test_compile_works_with_aot" tests/models/ passed on GPU — view logs.

@sayakpaul
sayakpaul marked this pull request as ready for review August 21, 2026 07:28
@sayakpaul
sayakpaul requested a review from dg845 August 21, 2026 07:28
RUN apt install -y bash \
build-essential \
cuda-cudart-dev-12-9 \
cuda-nvcc-12-9 \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I asked Claude to review the comment and it says that cuda-crt-12-9 would suffice if we only need the crt/* headers, since that's where those headers actually live, and this would be better because cuda-crt-12-9 is much smaller than cuda-nvcc-12-9.

I'm not familiar enough with AOT to confirm this claim, but it seems like it could be worth testing out.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don’t think it’s worth repeating the entire testing process just because of a smaller binary because I don’t think we gain much from that (it’s already in a Docker container so we don’t save much on setup anyway).

@dg845 dg845 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! Left one comment.

@sayakpaul
sayakpaul merged commit ecfbf76 into main Aug 22, 2026
7 checks passed
@sayakpaul
sayakpaul deleted the compilation-failures-fix branch August 22, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants