This repository was archived by the owner on Sep 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +36
-47
lines changed Expand file tree Collapse file tree 4 files changed +36
-47
lines changed Original file line number Diff line number Diff line change 11channels :
22 - defaults
3- - conda-forge
43dependencies :
54 - codecov
65 - pip
7- - nltk
8- - requests
9- - pytest
10- - pytest-cov
11- - sacremoses
12- - spacy>=3.0
13- - sphinx
14- - tqdm
15- - certifi
16- - future
17- - expecttest
186 - pip :
19- - revtok
20- - pytest-pythonpath
21- - sphinx-rtd-theme
22- - https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-3.0.0/de_core_news_sm-3.0.0.tar.gz#egg=de_core_news_sm==3.0.0
23- - https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz#egg=en_core_web_sm==3.0.0
7+ - dataclasses
8+ - nltk
9+ - requests
10+ - revtok
11+ - pytest
12+ - pytest-cov
13+ - pytest-pythonpath
14+ - sacremoses
15+ - spacy
16+ - sphinx
17+ - sphinx-rtd-theme
18+ - tqdm
19+ - expecttest
20+ - https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-3.0.0/de_core_news_sm-3.0.0.tar.gz#egg=de_core_news_sm==3.0.0
21+ - https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz#egg=en_core_web_sm==3.0.0
Original file line number Diff line number Diff line change 11channels :
22 - defaults
3- - conda-forge
43dependencies :
54 - codecov
65 - pip
7- - nltk
8- - requests
9- - pytest
10- - pytest-cov
11- - sacremoses
12- - spacy>=3.0
13- - sphinx
14- - tqdm
15- - certifi
16- - future
17- - expecttest
186 - pip :
19- - revtok
20- - pytest-pythonpath
21- - sphinx-rtd-theme
22- - https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-3.0.0/de_core_news_sm-3.0.0.tar.gz#egg=de_core_news_sm==3.0.0
23- - https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz#egg=en_core_web_sm==3.0.0
7+ - dataclasses
8+ - nltk
9+ - requests
10+ - revtok
11+ - pytest
12+ - pytest-cov
13+ - pytest-pythonpath
14+ - sacremoses
15+ - spacy
16+ - sphinx
17+ - sphinx-rtd-theme
18+ - tqdm
19+ - certifi
20+ - future
21+ - expecttest
22+ - https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-3.0.0/de_core_news_sm-3.0.0.tar.gz#egg=de_core_news_sm==3.0.0
23+ - https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz#egg=en_core_web_sm==3.0.0
Original file line number Diff line number Diff line change @@ -197,10 +197,9 @@ setup_conda_pytorch_constraint() {
197197
198198# Translate CUDA_VERSION into CUDA_CUDATOOLKIT_CONSTRAINT
199199setup_conda_cudatoolkit_constraint () {
200- export CONDA_BUILD_VARIANT= " cuda "
200+ export CONDA_CPUONLY_FEATURE= " "
201201 if [[ " $( uname) " == Darwin ]]; then
202202 export CONDA_CUDATOOLKIT_CONSTRAINT=" "
203- export CONDA_BUILD_VARIANT=" cpu"
204203 else
205204 case " $CU_VERSION " in
206205 cu100)
@@ -211,7 +210,7 @@ setup_conda_cudatoolkit_constraint() {
211210 ;;
212211 cpu)
213212 export CONDA_CUDATOOLKIT_CONSTRAINT=" "
214- export CONDA_BUILD_VARIANT= " cpu "
213+ export CONDA_CPUONLY_FEATURE= " - cpuonly "
215214 ;;
216215 * )
217216 echo " Unrecognized CU_VERSION=$CU_VERSION "
Original file line number Diff line number Diff line change 1- {% set build_variant = environ.get('CONDA_BUILD_VARIANT', 'cpu') %}
21package :
32 name : torchtext
43 version : " {{ environ.get('BUILD_VERSION') }}"
@@ -15,23 +14,15 @@ requirements:
1514 host :
1615 - python
1716 - setuptools
17+ - cpuonly
1818 {{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT') }}
1919
2020 run :
2121 - python
2222 - requests
2323 - tqdm
24- - pytorch-mutex 1.0 {{ build_variant }} # [not osx ]
2524 {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
2625
27- {% if build_variant == 'cpu' %}
28- run_constrained :
29- - cpuonly
30- {% elif not osx %}
31- run_constrained :
32- - cpuonly <0
33- {% endif %}
34-
3526build :
3627 string : py{{py}}
3728 script_env :
4940
5041 requires :
5142 - pytest
43+ - cpuonly
5244
5345about :
5446 home : https://github.com/pytorch/text
You can’t perform that action at this time.
0 commit comments