Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main branch changes #4063

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ while [ "$1" != "" ]; do
option_data_dir="$2"
shift
;;
--download-artifacts)
# Set download artifacts option
option_download_artifacts=true
;;
*)
args+=("$1")
;;
Expand Down Expand Up @@ -85,7 +89,7 @@ fi

# Check installation of CUDA Drivers
if [ "$option_no_cuda_drivers" = "true" ]; then
ansible_args+=("--extra-vars" "install_cuda_drivers=false")
ansible_args+=("--extra-vars" "cuda_install_drivers=false")
fi

# Check installation of dev package
Expand All @@ -97,6 +101,12 @@ else
ansible_args+=("--extra-vars" "tensorrt_install_devel=true")
fi

# Check downloading artifacts
if [ "$option_yes" = "true" ] || [ "$option_download_artifacts" = "true" ]; then
echo -e "\e[36mArtifacts will be downloaded to $option_data_dir\e[m"
ansible_args+=("--extra-vars" "prompt_download_artifacts=y")
fi

ansible_args+=("--extra-vars" "data_dir=$option_data_dir")

# Load env
Expand Down
Loading