File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 132132pushd " $PYTORCH_ROOT "
133133python setup.py clean
134134retry pip install -r requirements.txt
135- ver () {
136- printf " %3d%03d%03d%03d" $( echo " $1 " | tr ' .' ' ' ) ;
137- }
138- case ${DESIRED_PYTHON} in
139- cp38* )
140- retry pip install -q numpy==1.15
141- ;;
142- cp31* )
143- # CIRCLE_TAG contains the PyTorch version such as "1.13.0"
144- if [[ $( ver ${CIRCLE_TAG} ) -ge $( ver 2.4) ]]; then
145- retry pip install -q --pre numpy==2.0.2
146- else
147- retry pip install -q " numpy<2.0.0"
148- fi
149- ;;
150- # Should catch 3.9+
151- * )
152- if [[ $( ver ${CIRCLE_TAG} ) -ge $( ver 2.4) ]]; then
153- retry pip install -q --pre numpy==2.0.2
154- else
155- retry pip install -q " numpy<2.0.0"
156- fi
157- ;;
158- esac
159135
160136# ROCm RHEL8 packages are built with cxx11 abi symbols
161137if [[ " $DESIRED_DEVTOOLSET " == * " cxx11-abi" * || " $DESIRED_CUDA " == * " rocm" * ]]; then
You can’t perform that action at this time.
0 commit comments