Skip to content

Revert attempt to reduce script output for modules we know shouldn't exist - #30

Merged
ocaisa merged 1 commit into
mainfrom
arch_mapping
Oct 14, 2026
Merged

ocaisa merged 1 commit into
mainfrom
arch_mapping

Conversation

@ocaisa

@ocaisa ocaisa commented Oct 14, 2026

Copy link
Copy Markdown
Member

I made an attempt to not check for modulefiles which I know don't exist (for example Granite Rapids in anything other than 2026.06), but I seem to have messed up the condition I used in https://github.com/EESSI/api_data/pull/29/files#diff-c03413527863bd66b517e8e5f1938df64308f3baf7ef0365e03fd6efe6cd2e92R148

This reverts that change and also fixes a bug for ROCm archs

# If we have an accelerator module let's check which architectures are supported
if detected_accel_arch:
base_version_dict["gpu_arch"][arch] = []
if detected_accel_arch in ROCM_ARCHITECTURES:

@ocaisa ocaisa Oct 14, 2026 •

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.

This incorrectly had accel_arch previously so was only checking NVIDIA accelerators

@ocaisa

ocaisa commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

I have to get this out as we now have bad data in the wild...but we clearly need better CI that checks more things

@ocaisa

ocaisa commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

I'll revisit the effort to reduce the unnecessary checks and take the opportunity to add more checks

@ocaisa
ocaisa merged commit 35d25bd into main Oct 14, 2026
1 check passed
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