diff --git a/docker_run.sh b/docker_run.sh index 7d503da693cebcd35a8368d802da84a0a6914269..e79f4d0da81631da2f148165e8d7ff35dcccb4ef 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -26,7 +26,14 @@ echo "Total build time: $BUILD_TIME seconds" # 'python /submission/local_evaluation.py' is the command executed inside the container. # the -w sets the workind directory to /submission. # It then local_evaluation.py using software runtime set up in the Dockerfile. -docker run -v "$(pwd)":/submission -w /submission $IMAGE_NAME python local_evaluation.py +docker run \ + --gpus all \ + -v "$(pwd)":/submission \ + -w /submission \ + $IMAGE_NAME python local_evaluation.py + +# Note: We assume you have nvidia-container-toolkit installed and configured +# to use the --gpus all flag. If you are not using GPUs, you can remove this flag. # Note 1: Please refer to the Dockerfile to understand how the software runtime is set up.