Skip to content

Commit 2ba3604

Browse files
author
Payton Staub
committed
Remove comment
1 parent 120f187 commit 2ba3604

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/sagemaker/workflow/_repack_model.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,11 @@ def repack(inference_script, model_archive, dependencies=None, source_dir=None):
8484
else:
8585
if os.path.exists(lib_dir):
8686
shutil.rmtree(lib_dir)
87-
# a directory is in the dependencies. we have no choice but to copy
87+
# a directory is in the dependencies. we have to copy
8888
# all of /opt/ml/code into the lib dir because the original directory
8989
# was flattened by the SDK training job upload..
9090
shutil.copytree("/opt/ml/code", lib_dir)
9191
break
92-
# shutil.copytree(
93-
# actual_dependency_path,
94-
# os.path.join(lib_dir, os.path.basename(actual_dependency_path)),
95-
# )
9692

9793
# copy the "src" dir, which includes the previous training job's model and the
9894
# custom inference script, to the output of this training job

0 commit comments

Comments
 (0)