We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639df69 commit dcafe4dCopy full SHA for dcafe4d
1 file changed
scripts/ray/sagemaker_entrypoint.sh
@@ -19,8 +19,8 @@ echo "Detected ${NUM_GPUS} GPU(s)"
19
if [ $# -eq 0 ] || [ "$1" = "serve" ]; then
20
echo "Starting Ray Serve for SageMaker..."
21
22
- # Add model directory to Python path before ray start
23
- export PYTHONPATH="/opt/ml/model:${PYTHONPATH}"
+ # Add model directory and SDK code/ subdir to Python path before ray start
+ export PYTHONPATH="/opt/ml/model:/opt/ml/model/code:${PYTHONPATH}"
24
25
# Install runtime requirements before Ray starts
26
if [ -f "/opt/ml/model/code/requirements.txt" ]; then
0 commit comments