Skip to content

Handle arch-specific dependencies in tests#25739

Merged
boegel merged 1 commit into
easybuilders:developfrom
Flamefire:arch-specific-dep-test
May 27, 2026
Merged

Handle arch-specific dependencies in tests#25739
boegel merged 1 commit into
easybuilders:developfrom
Flamefire:arch-specific-dep-test

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

When a dependency version depends on the architecture we currently only test the single one for the host the test is running on, likely x86.

This makes tests fail when dependencies are removed as the parsed on dumped list of dependencies will have different lengths. Fix this by choosing another one, if possible.

Additionally always pick a random version when there are multiple versions such that multiple CI runs are likely to test all variants.

Alternative to #25737
Closes #25737

When a dependency version depends on the architecture we currently only
test the single one for the host the test is running on, likely x86.

This makes tests fail when dependencies are removed as the parsed on
dumped list of dependencies will have different lengths.
Fix this by choosing another one, if possible.

Additionally always pick a random version when there are multiple
versions such that multiple CI runs are likely to test all variants.
@Flamefire Flamefire changed the title Add imkl & ACL to PyTorch-2.9.1-foss-2024a Handle arch-specific dependencies in tests Apr 10, 2026
@boegel boegel added this to the next release (5.3.1?) milestone May 27, 2026

@boegel boegel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@boegel boegel merged commit 4daa2a4 into easybuilders:develop May 27, 2026
6 checks passed
@Flamefire Flamefire deleted the arch-specific-dep-test branch May 27, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants