Skip to content

Commit

Permalink
removed eval
Browse files Browse the repository at this point in the history
  • Loading branch information
goliaro committed Dec 12, 2022
1 parent b984eac commit e2c0d82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ fi


if [[ "$image" == "flexflow-environment" ]]; then
eval docker run -it "$gpu_arg" "--shm-size=${SHM_SIZE}" "flexflow-environment-${FF_GPU_BACKEND}:latest"
docker run -it $gpu_arg "--shm-size=${SHM_SIZE}" "flexflow-environment-${FF_GPU_BACKEND}:latest"
elif [[ "$image" == "flexflow" ]]; then
eval docker run -it "$gpu_arg" "--shm-size=${SHM_SIZE}" "flexflow-${FF_GPU_BACKEND}:latest"
docker run -it $gpu_arg "--shm-size=${SHM_SIZE}" "flexflow-${FF_GPU_BACKEND}:latest"
elif [[ "$image" == "mt5" ]]; then
# Backward compatibility
eval docker run -it "$gpu_arg" "--shm-size=${SHM_SIZE}" \
docker run -it $gpu_arg "--shm-size=${SHM_SIZE}" \
-v "$(pwd)"/../examples/python/pytorch/mt5/data:/usr/FlexFlow/examples/python/pytorch/mt5/data \
-v "$(pwd)"/../examples/python/pytorch/mt5/eng-sin.tar:/usr/FlexFlow/examples/python/pytorch/mt5/eng-sin.tar \
"flexflow-${FF_GPU_BACKEND}:latest"
Expand Down

0 comments on commit e2c0d82

Please sign in to comment.