We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053603c commit 356d55eCopy full SHA for 356d55e
packaging/pkg_helpers.bash
@@ -317,7 +317,7 @@ setup_conda_cudatoolkit_constraint() {
317
export CONDA_CUDATOOLKIT_CONSTRAINT="- cudatoolkit >=9.2,<9.3 # [not osx]"
318
;;
319
cpu)
320
- export CONDA_CUDATOOLKIT_CONSTRAINT=""
+ export CONDA_CUDATOOLKIT_CONSTRAINT="- cpuonly"
321
export CONDA_BUILD_VARIANT="cpu"
322
323
*)
packaging/torchvision/meta.yaml
@@ -17,9 +17,8 @@ requirements:
17
host:
18
- python
19
- setuptools
20
- {{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT') }}
+ {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
21
{{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
22
- {{ environ.get('CONDA_CPUONLY_FEATURE') }}
23
24
run:
25
0 commit comments