File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ package support
55// ***********************
66
77const (
8- RayVersion = "2.35.0"
9- RayImage = "quay.io/modh/ray:2.35.0-py39-cu121"
8+ RayVersion = "2.35.0"
9+ RayImage = "quay.io/modh/ray:2.35.0-py39-cu121"
10+ RayAMDGpuImage = "quay.io/modh/ray:2.35.0-py39-rocm61"
1011)
Original file line number Diff line number Diff line change @@ -25,9 +25,10 @@ const (
2525 // The environment variables hereafter can be used to change the components
2626 // used for testing.
2727
28- CodeFlareTestRayVersion = "CODEFLARE_TEST_RAY_VERSION"
29- CodeFlareTestRayImage = "CODEFLARE_TEST_RAY_IMAGE"
30- CodeFlareTestPyTorchImage = "CODEFLARE_TEST_PYTORCH_IMAGE"
28+ CodeFlareTestRayVersion = "CODEFLARE_TEST_RAY_VERSION"
29+ CodeFlareTestRayImage = "CODEFLARE_TEST_RAY_IMAGE"
30+ CodeFlareTestRayAMDGpuImage = "CODEFLARE_TEST_RAY_AMD_GPU_IMAGE"
31+ CodeFlareTestPyTorchImage = "CODEFLARE_TEST_PYTORCH_IMAGE"
3132
3233 // The testing output directory, to write output files into.
3334 CodeFlareTestOutputDir = "CODEFLARE_TEST_OUTPUT_DIR"
@@ -78,6 +79,10 @@ func GetRayImage() string {
7879 return lookupEnvOrDefault (CodeFlareTestRayImage , RayImage )
7980}
8081
82+ func GetRayAMDGpuImage () string {
83+ return lookupEnvOrDefault (CodeFlareTestRayAMDGpuImage , RayAMDGpuImage )
84+ }
85+
8186func GetPyTorchImage () string {
8287 return lookupEnvOrDefault (CodeFlareTestPyTorchImage , "pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime" )
8388}
You can’t perform that action at this time.
0 commit comments