Skip to content

Commit

Permalink
fix startup script for python version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Jan 9, 2025
1 parent 426e6ee commit b769e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fi

if [[ ${TEST} == "true" ]]; then
cd algorithmic-efficiency
COMMAND="python3 tests/test_traindiffs.py"
COMMAND="python tests/test_traindiffs.py"
echo $COMMAND
eval $COMMAND
exit
Expand Down Expand Up @@ -209,7 +209,7 @@ TUNING_RULESET_FLAG="--tuning_ruleset=${TUNING_RULESET}"

# Set run command prefix depending on framework
if [[ "${FRAMEWORK}" == "jax" ]]; then
COMMAND_PREFIX="python3"
COMMAND_PREFIX="python"
else
COMMAND_PREFIX="torchrun --redirects 1:0,2:0,3:0,4:0,5:0,6:0,7:0 --standalone --nnodes=1 --nproc_per_node=8"
fi
Expand Down

0 comments on commit b769e6c

Please sign in to comment.