Skip to content

Commit

Permalink
fixing code: permissions for non-root users, integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopistone committed Jan 15, 2025
1 parent bc5918a commit 7d54096
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/sagemaker/remote_function/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def remote(
max_wait_time_in_seconds=None,
use_torchrun=False,
nproc_per_node=1,

):
"""Decorator for running the annotated function as a SageMaker training job.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
REMOTE_FUNCTION_WORKSPACE = "sm_rf_user_ws"
BASE_CHANNEL_PATH = "/opt/ml/input/data"
FAILURE_REASON_PATH = "/opt/ml/output/failure"
JOB_OUTPUT_DIRS = ["/opt/ml/output", "/opt/ml/model", "/tmp"]
JOB_OUTPUT_DIRS = ["/opt/ml/input", "/opt/ml/output", "/opt/ml/model", "/tmp"]
PRE_EXECUTION_SCRIPT_NAME = "pre_exec.sh"
JOB_REMOTE_FUNCTION_WORKSPACE = "sagemaker_remote_function_workspace"
SCRIPT_AND_DEPENDENCIES_CHANNEL_NAME = "pre_exec_script_and_dependencies"
Expand Down

0 comments on commit 7d54096

Please sign in to comment.