Skip to content

Commit fcc6235

Browse files
committed
Fix flake style errors
1 parent be3088d commit fcc6235

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sagemaker_pytorch_container/training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def train(training_environment):
5252
_set_distributed_environment(training_environment.hosts)
5353

5454
mpi_enabled = training_environment.additional_framework_parameters.get(LAUNCH_MPI_ENV_NAME)
55-
55+
5656
pytorch_ddp_enabled = training_environment.additional_framework_parameters.get(
5757
LAUNCH_PYTORCH_DDP_ENV_NAME, False
5858
)

test/unit/test_train.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def test_train_smdataparallel(run_module, training_env):
8787
capture_error=True,
8888
runner_type=runner.SMDataParallelRunnerType,
8989
)
90-
91-
90+
91+
9292
@patch("sagemaker_training.entry_point.run")
9393
@patch('socket.gethostbyname', MagicMock())
9494
def test_train_pytorch_ddp(run_module, training_env):

0 commit comments

Comments
 (0)