Skip to content

Commit 7d54096

Browse files
committed
fixing code: permissions for non-root users, integration tests
1 parent bc5918a commit 7d54096

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/sagemaker/remote_function/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def remote(
9292
max_wait_time_in_seconds=None,
9393
use_torchrun=False,
9494
nproc_per_node=1,
95-
9695
):
9796
"""Decorator for running the annotated function as a SageMaker training job.
9897

src/sagemaker/remote_function/runtime_environment/bootstrap_runtime_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
REMOTE_FUNCTION_WORKSPACE = "sm_rf_user_ws"
4444
BASE_CHANNEL_PATH = "/opt/ml/input/data"
4545
FAILURE_REASON_PATH = "/opt/ml/output/failure"
46-
JOB_OUTPUT_DIRS = ["/opt/ml/output", "/opt/ml/model", "/tmp"]
46+
JOB_OUTPUT_DIRS = ["/opt/ml/input", "/opt/ml/output", "/opt/ml/model", "/tmp"]
4747
PRE_EXECUTION_SCRIPT_NAME = "pre_exec.sh"
4848
JOB_REMOTE_FUNCTION_WORKSPACE = "sagemaker_remote_function_workspace"
4949
SCRIPT_AND_DEPENDENCIES_CHANNEL_NAME = "pre_exec_script_and_dependencies"

0 commit comments

Comments
 (0)