File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
tests/unit/sagemaker/jumpstart Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -688,6 +688,7 @@ def test_gated_model_non_model_package_s3_uri(
688688 instance_count = 1 ,
689689 image_uri = "763104351884.dkr.ecr.us-west-2.amazonaws.com/huggingface-pyt"
690690 "orch-training:2.0.0-transformers4.28.1-gpu-py310-cu118-ubuntu20.04" ,
691+ model_uri = 's3://jumpstart-private-cache-prod-us-west-2/some/dummy/key' ,
691692 source_dir = "s3://jumpstart-cache-prod-us-west-2/source-d"
692693 "irectory-tarballs/meta/transfer_learning/textgeneration/prepack/v1.0.1/sourcedir.tar.gz" ,
693694 entry_point = "transfer_learning.py" ,
Original file line number Diff line number Diff line change @@ -332,9 +332,6 @@ def test_jumpstart_model_header():
332332def test_use_training_model_artifact ():
333333 specs1 = JumpStartModelSpecs (BASE_SPEC )
334334 assert specs1 .use_training_model_artifact ()
335- specs1 .gated_bucket = True
336- assert not specs1 .use_training_model_artifact ()
337- specs1 .gated_bucket = False
338335 specs1 .training_model_package_artifact_uris = {"region1" : "blah" , "region2" : "blah2" }
339336 assert not specs1 .use_training_model_artifact ()
340337
You can’t perform that action at this time.
0 commit comments