Skip to content

Commit

Permalink
[skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Dalton committed Jun 25, 2024
1 parent 7ce8c33 commit 8e3ca49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install-cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ PY_VERSION=3.11
TFP_VERSION=0.24.0
TF_VERSION=2.16.1

source $CONDA_PREFIX/etc/profile.d/conda.sh
conda activate base

result=$(conda create -n $ENVNAME python=$PY_VERSION 3>&2 2>&1 1>&3)

echo $result
if [ ! -z "${result}" ]; then
if [[ $result == *"CondaSystemExit"* ]]; then
echo "User aborted anaconda env creation. Exiting... "
return
fi
Expand Down

0 comments on commit 8e3ca49

Please sign in to comment.