From f414285e0a9d574ee9d65e15bd71c62079cac2dd Mon Sep 17 00:00:00 2001 From: Benjamin Zheng Date: Mon, 12 Aug 2024 10:08:33 -0500 Subject: [PATCH] fix: trigger workflow --- src/sagemaker/local/image.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/sagemaker/local/image.py b/src/sagemaker/local/image.py index b95340aa80..5ba029eb1f 100644 --- a/src/sagemaker/local/image.py +++ b/src/sagemaker/local/image.py @@ -239,18 +239,6 @@ def process( # Continue even if rm sagemaker-local fails pass - # Remove sagemaker-local network, compose_command will fail if an existing - # network is still around - remove_sagemaker_local = ["docker", "network", "rm", STUDIO_HOST_NAME] - remove_process = subprocess.Popen( - remove_sagemaker_local, stdout=subprocess.PIPE, stderr=subprocess.STDOUT - ) - try: - _stream_output(remove_process) - except RuntimeError: - # Continue even if rm sagemaker-local fails - pass - compose_command = self._compose() process = subprocess.Popen( compose_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT