Skip to content

Commit 17f7826

Browse files
authored
build_pytorch.sh replace tabs with spaces (#1211)
1 parent dc4529b commit 17f7826

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

conda/build_pytorch.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ else
267267
# TODO, simplify after anaconda fixes their cudatoolkit versioning inconsistency.
268268
# see: https://github.com/conda-forge/conda-forge.github.io/issues/687#issuecomment-460086164
269269
if [[ "$desired_cuda" == "11.8" ]]; then
270-
export CONDA_CUDATOOLKIT_CONSTRAINT=" - pytorch-cuda >=11.9,<12.0 # [not osx]"
271-
export MAGMA_PACKAGE=" - magma-cuda118 # [not osx and not win]"
270+
export CONDA_CUDATOOLKIT_CONSTRAINT=" - pytorch-cuda >=11.9,<12.0 # [not osx]"
271+
export MAGMA_PACKAGE=" - magma-cuda118 # [not osx and not win]"
272272
elif [[ "$desired_cuda" == "11.7" ]]; then
273-
export CONDA_CUDATOOLKIT_CONSTRAINT=" - pytorch-cuda >=11.7,<11.8 # [not osx]"
274-
export MAGMA_PACKAGE=" - magma-cuda117 # [not osx and not win]"
273+
export CONDA_CUDATOOLKIT_CONSTRAINT=" - pytorch-cuda >=11.7,<11.8 # [not osx]"
274+
export MAGMA_PACKAGE=" - magma-cuda117 # [not osx and not win]"
275275
elif [[ "$desired_cuda" == "11.6" ]]; then
276276
export CONDA_CUDATOOLKIT_CONSTRAINT=" - pytorch-cuda >=11.6,<11.7 # [not osx]"
277277
export MAGMA_PACKAGE=" - magma-cuda116 # [not osx and not win]"

0 commit comments

Comments
 (0)