File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_async_pca():
66
66
endpoint_name = name_from_base ('pca' )
67
67
sagemaker_session = sagemaker .Session (boto_session = boto3 .Session (region_name = REGION ))
68
68
69
- with timeout (minutes = 20 ):
69
+ with timeout (minutes = 5 ):
70
70
71
71
data_path = os .path .join (DATA_DIR , 'one_p_mnist' , 'mnist.pkl.gz' )
72
72
pickle_args = {} if sys .version_info .major == 2 else {'encoding' : 'latin1' }
@@ -88,7 +88,7 @@ def test_async_pca():
88
88
print ("Detached from training job. Will re-attach in 20 seconds" )
89
89
time .sleep (20 )
90
90
91
- with timeout_and_delete_endpoint_by_name (endpoint_name , sagemaker_session , minutes = 20 ):
91
+ with timeout_and_delete_endpoint_by_name (endpoint_name , sagemaker_session , minutes = 35 ):
92
92
estimator = sagemaker .amazon .pca .PCA .attach (training_job_name = training_job_name ,
93
93
sagemaker_session = sagemaker_session )
94
94
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def test_cifar(sagemaker_session):
51
51
base_job_name = 'test-cifar' )
52
52
53
53
inputs = estimator .sagemaker_session .upload_data (path = dataset_path , key_prefix = 'data/cifar10' )
54
- estimator .fit (inputs )
54
+ estimator .fit (inputs , logs = False )
55
55
print ('job succeeded: {}' .format (estimator .latest_training_job .name ))
56
56
57
57
with timeout_and_delete_endpoint (estimator = estimator , minutes = 20 ):
You can’t perform that action at this time.
0 commit comments