Skip to content

Commit e594056

Browse files
icywang86ruiRui Wang Napieralski
authored andcommitted
fix: disable profiler in some release tests (aws#2261)
Co-authored-by: Rui Wang Napieralski <[email protected]>
1 parent 2be9a7a commit e594056

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/integ/test_horovod.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def _create_and_fit_estimator(sagemaker_session, tf_version, py_version, instanc
9191
py_version=py_version,
9292
framework_version=tf_version,
9393
distribution={"mpi": {"enabled": True}},
94+
disable_profiler=True,
9495
)
9596

9697
with timeout.timeout(minutes=integ.TRAINING_DEFAULT_TIMEOUT_MINUTES):

tests/integ/test_huggingface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_huggingface_training(
5858
"repo": "https://github.com/huggingface/transformers.git",
5959
"branch": f"v{huggingface_training_latest_version}",
6060
},
61+
disable_profiler=True,
6162
)
6263

6364
train_input = hf.sagemaker_session.upload_data(

tests/integ/test_tf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def test_mnist_distributed(
141141
framework_version=tensorflow_training_latest_version,
142142
py_version=tensorflow_training_latest_py_version,
143143
distribution=PARAMETER_SERVER_DISTRIBUTION,
144+
disable_profiler=True,
144145
)
145146
inputs = estimator.sagemaker_session.upload_data(
146147
path=os.path.join(MNIST_RESOURCE_PATH, "data"), key_prefix="scriptmode/distributed_mnist"

0 commit comments

Comments
 (0)