File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
tests/unit/sagemaker/image_uris Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,17 @@ def test_smp_v2(load_config):
33
33
ACCOUNTS = load_config ["training" ]["versions" ][version ]["registries" ]
34
34
PY_VERSIONS = load_config ["training" ]["versions" ][version ]["py_versions" ]
35
35
for py_version in PY_VERSIONS :
36
- # py311 is only for PT 2.3.1 and SMP 2.4.0
37
- if py_version == "py311" and "2.3" not in version :
38
- continue
39
-
40
36
for region in ACCOUNTS .keys ():
41
37
for instance_type in CONTAINER_VERSIONS .keys ():
42
38
cuda_vers = CONTAINER_VERSIONS [instance_type ]
43
39
if "2.1" in version or "2.2" in version or "2.3" in version :
44
40
cuda_vers = "cu121"
45
41
42
+ if "2.3" in version :
43
+ py_version = "py311"
44
+
45
+ print (version , py_version )
46
+
46
47
uri = image_uris .get_training_image_uri (
47
48
region ,
48
49
framework = "pytorch" ,
You can’t perform that action at this time.
0 commit comments