Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add remaining Ubuntu 24.04 Dockerfile #16457

Merged
merged 5 commits into from
Dec 23, 2024
Merged

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Dec 23, 2024

This adds the remaining Dockerfiles we'll need for Ubuntu 24.04.

There will be two more containers added to the workflow after this PR, I can't add them now because they require changes in this PR and CI doesn't use the files from precommit.

@sarnex sarnex changed the title [CI] Add remaining Ubuntu 24.04 Docker containers [CI] Add remaining Ubuntu 24.04 Dockerfiles Dec 23, 2024
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@sarnex sarnex changed the title [CI] Add remaining Ubuntu 24.04 Dockerfiles [CI] Add remaining Ubuntu 24.04 Dockerfile Dec 23, 2024
@sarnex sarnex marked this pull request as ready for review December 23, 2024 19:16
@sarnex sarnex requested review from a team as code owners December 23, 2024 19:16
@@ -0,0 +1,42 @@
FROM nvidia/cuda:12.6.3-devel-ubuntu24.04
Copy link
Contributor

Choose a reason for hiding this comment

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

The Ubuntu 22 docker container uses CUDA 12.1.0 (https://github.com/intel/llvm/blob/sycl/devops/containers/ubuntu2204_build.Dockerfile#L1). Are we good to use CUDA 12.6.3 with DPC++?
Similarly, Ubuntu 22 container uses ROCM 6.1.1 while Ubuntu 24 uses ROCM 6.3.

Copy link
Contributor Author

@sarnex sarnex Dec 23, 2024

Choose a reason for hiding this comment

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

Good question. Based on the Codeplay doc (who owns the AMD/NVidia support), they say CUDA12+ works but isn't the version they are currently testing on:

image

And for ROCM:

image

Here it doesn't list 6.3 specifically but says a wide variety should work. Also one of the runners is already using an unsupported GPU so it's not like we are following this doc today.

So IMO based on the doc I think it's fine to try to use the newer API versions but we can revert if there's some problem.

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems reasonable to me. @npmiller @JackAKirk FYI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to merge this for now. This PR doesn't make us use the new versions in testing yet, it just adds the Docker images. There will be a subsequent PR to move the CI over to use those new images. Happy to address any feedback from the Codeplay team.

Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

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

LGTM overall, just one question.

sycl/doc/developer/DockerBKMs.md Outdated Show resolved Hide resolved
sycl/doc/developer/DockerBKMs.md Outdated Show resolved Hide resolved
sycl/doc/developer/DockerBKMs.md Outdated Show resolved Hide resolved
sarnex and others added 3 commits December 23, 2024 20:47
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
@sarnex sarnex merged commit 88667bd into intel:sycl Dec 23, 2024
25 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.

3 participants