@@ -158,9 +158,9 @@ def test_unsupported_BYOC(
158
158
):
159
159
byoc = (
160
160
"1.dkr.ecr.us-east-1.amazonaws.com/huggingface-pytorch-trcomp-training:"
161
- "1.9.0 -"
162
- "transformers4.10.2 -gpu-"
163
- "py38-cu111 -ubuntu20.04"
161
+ "1.10.2 -"
162
+ "transformers4.17.0 -gpu-"
163
+ "py38-cu113 -ubuntu20.04"
164
164
)
165
165
with pytest .raises (ValueError ):
166
166
HuggingFace (
@@ -451,9 +451,9 @@ def test_attach(
451
451
):
452
452
training_image = (
453
453
"1.dkr.ecr.us-east-1.amazonaws.com/huggingface-pytorch-trcomp-training:"
454
- "1.9.0 -"
455
- "transformers4.10.2 -gpu-"
456
- "py38-cu111 -ubuntu20.04"
454
+ "1.10.2 -"
455
+ "transformers4.17.0 -gpu-"
456
+ "py38-cu113 -ubuntu20.04"
457
457
)
458
458
returned_job_description = {
459
459
"AlgorithmSpecification" : {"TrainingInputMode" : "File" , "TrainingImage" : training_image },
@@ -488,8 +488,8 @@ def test_attach(
488
488
estimator = HuggingFace .attach (training_job_name = "hopper" , sagemaker_session = sagemaker_session )
489
489
assert estimator .latest_training_job .job_name == "hopper"
490
490
assert estimator .py_version == "py38"
491
- assert estimator .framework_version == "4.10.2 "
492
- assert estimator .pytorch_version == "1.9.0 "
491
+ assert estimator .framework_version == "4.17.0 "
492
+ assert estimator .pytorch_version == "1.10.2 "
493
493
assert estimator .role == "arn:aws:iam::366:role/SageMakerRole"
494
494
assert estimator .instance_count == 1
495
495
assert estimator .max_run == 24 * 60 * 60
0 commit comments