We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89ab7a5 commit 7271b98Copy full SHA for 7271b98
scripts/install_via_pip.sh
@@ -5,7 +5,7 @@ set -e
5
PYTORCH_NIGHTLY=false
6
DEPLOY=false
7
CHOSEN_TORCH_VERSION=-1
8
-INSTALL_MODE='test'
+INSTALL_MODE=test
9
10
while getopts 'ndfv:' flag; do
11
case "${flag}" in
@@ -14,7 +14,7 @@ while getopts 'ndfv:' flag; do
14
f) FRAMEWORKS=true ;;
15
v) CHOSEN_TORCH_VERSION=${OPTARG};;
16
m) INSTALL_MODE=${OPTARG};;
17
- *) echo "usage: $0 [-n] [-d] [-f] [-v version]" >&2
+ *) echo "usage: $0 [-n] [-d] [-f] [-v version] [-m install_mode]" >&2
18
exit 1 ;;
19
esac
20
done
0 commit comments