Skip to content

Commit 58428c3

Browse files
committed
RHOAIENG-11046 - Add support for AMD GPU image
1 parent 1fc12f8 commit 58428c3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Diff for: support/defaults.go

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ const (
88
CodeFlareSDKVersion = "v0.20.2"
99
RayVersion = "2.35.0"
1010
RayImage = "quay.io/modh/ray:2.35.0-py39-cu121"
11+
RayAMDGpuImage = "quay.io/rhoai/ray:2.35.0-py39-rocm61-torch24-fa26"
1112
)

Diff for: support/environment.go

+9-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ const (
2525
// The environment variables hereafter can be used to change the components
2626
// used for testing.
2727

28-
CodeFlareTestSdkVersion = "CODEFLARE_TEST_SDK_VERSION"
29-
CodeFlareTestRayVersion = "CODEFLARE_TEST_RAY_VERSION"
30-
CodeFlareTestRayImage = "CODEFLARE_TEST_RAY_IMAGE"
31-
CodeFlareTestPyTorchImage = "CODEFLARE_TEST_PYTORCH_IMAGE"
28+
CodeFlareTestSdkVersion = "CODEFLARE_TEST_SDK_VERSION"
29+
CodeFlareTestRayVersion = "CODEFLARE_TEST_RAY_VERSION"
30+
CodeFlareTestRayImage = "CODEFLARE_TEST_RAY_IMAGE"
31+
CodeFlareTestRayAMDGpuImage = "CODEFLARE_TEST_RAY_AMD_GPU_IMAGE"
32+
CodeFlareTestPyTorchImage = "CODEFLARE_TEST_PYTORCH_IMAGE"
3233

3334
// The testing output directory, to write output files into.
3435
CodeFlareTestOutputDir = "CODEFLARE_TEST_OUTPUT_DIR"
@@ -83,6 +84,10 @@ func GetRayImage() string {
8384
return lookupEnvOrDefault(CodeFlareTestRayImage, RayImage)
8485
}
8586

87+
func GetRayAMDGpuImage() string {
88+
return lookupEnvOrDefault(CodeFlareTestRayAMDGpuImage, RayAMDGpuImage)
89+
}
90+
8691
func GetPyTorchImage() string {
8792
return lookupEnvOrDefault(CodeFlareTestPyTorchImage, "pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime")
8893
}

0 commit comments

Comments
 (0)