Skip to content

Add ROCm CI alongside CUDA - #259

Merged
Luthaf merged 4 commits into
lab-cosmo:mainfrom
RMeli:amd-ci-standalone
Nov 24, 2026
Merged

Luthaf merged 4 commits into
lab-cosmo:mainfrom
RMeli:amd-ci-standalone

Conversation

@RMeli

@RMeli RMeli commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Tests sphericart on both GH200 and MI300 GPUs.

Tested in #258, on top of #257.

The two pipelines are separate (I changed the configuration at https://cicd-ext-mw.cscs.ch):

cscs-run ci cuda
cscs-run ci rocm

@RMeli
RMeli requested a review from Luthaf November 20, 2026 14:56
@RMeli

RMeli commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

cscs-run ci cuda

@Luthaf

Luthaf commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Do we need to manually ask for both CI? Or can cscs-ci run run both cuda and rocm?

@RMeli

RMeli commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

I thought it was better to run them separately not to wait on ROCm (smaller cluster, less priority than the GH200 cluster when there are issues, ...) if not needed, but if you want to run both at the same time with a single command, that can be done.

@Luthaf

Luthaf commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

I'd say it would be nice to have options! If cscs-ci run and cscs-ci run cuda and cscs-ci run rocm can all work, we can pick/restart a specific one when needed but also have an easy option for "run everything"!

@RMeli

RMeli commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

If cscs-ci run and cscs-ci run cuda and cscs-ci run rocm can all work

This is unfortunately not possible. Is either both at the same time with an unnamed (default) pipeline, or having multiple named pipelines.

What I could add though is a third pipeline named all (or something similar) that runs both at the same time. So the mandatory check is on all, but during PR development one can trigger only the relevant pipeline (if any)?

So the options are either

cscs-ci run cuda,rocm

or

cscs-ci run all

if you still want the possibility to trigger them separately, otherwise if you really want only

cscs-ci run

then they can be combined in a single pipeline but you can't trigger them separately.

@Luthaf

Luthaf commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Let's go with the all option. I think we want to run CI every time on everything, because even if the PR did not touch rocm it could still fail because the environment changed and we'll want to know.

@RMeli

RMeli commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

cscs-ci run all

@Luthaf
Luthaf force-pushed the amd-ci-standalone branch 2 times, most recently from 7e2e5f2 to 6b9275a Compare November 23, 2026 09:35
@Luthaf

Luthaf commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

cscs-ci run all

@RMeli

RMeli commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator Author

CI all green, thanks for fixing the unrelated issues.

@Luthaf
Luthaf merged commit 227fc23 into lab-cosmo:main Nov 24, 2026
119 checks 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.

2 participants