mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-09 15:52:31 +03:00
Merge 74439d3e1c
into 311f7cc9fb
This commit is contained in:
commit
c58c1e250c
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
@ -166,7 +166,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pytest --pyargs spacy -W error
|
python -m pytest --pyargs spacy -W error
|
||||||
if: "!(startsWith(matrix.os, 'macos') && matrix.python_version == '3.11')"
|
if: "!(startsWith(matrix.os, 'macos') && matrix.python_version == '3.11')"
|
||||||
|
|
||||||
- name: "Run CPU tests with thinc-apple-ops"
|
- name: "Run CPU tests with thinc-apple-ops"
|
||||||
run: |
|
run: |
|
||||||
python -m pip install 'spacy[apple]'
|
python -m pip install 'spacy[apple]'
|
||||||
|
|
|
@ -5,8 +5,8 @@ requires = [
|
||||||
"cymem>=2.0.2,<2.1.0",
|
"cymem>=2.0.2,<2.1.0",
|
||||||
"preshed>=3.0.2,<3.1.0",
|
"preshed>=3.0.2,<3.1.0",
|
||||||
"murmurhash>=0.28.0,<1.1.0",
|
"murmurhash>=0.28.0,<1.1.0",
|
||||||
"thinc>=8.3.0,<8.4.0",
|
"thinc>=8.3.3,<8.4.0",
|
||||||
"numpy>=2.0.0,<3.0.0"
|
"numpy>=1.15.0,<3.0.0"
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ spacy-legacy>=3.0.11,<3.1.0
|
||||||
spacy-loggers>=1.0.0,<2.0.0
|
spacy-loggers>=1.0.0,<2.0.0
|
||||||
cymem>=2.0.2,<2.1.0
|
cymem>=2.0.2,<2.1.0
|
||||||
preshed>=3.0.2,<3.1.0
|
preshed>=3.0.2,<3.1.0
|
||||||
thinc>=8.3.0,<8.4.0
|
thinc>=8.3.3,<8.4.0
|
||||||
ml_datasets>=0.2.0,<0.3.0
|
ml_datasets>=0.2.0,<0.3.0
|
||||||
murmurhash>=0.28.0,<1.1.0
|
murmurhash>=0.28.0,<1.1.0
|
||||||
wasabi>=0.9.1,<1.2.0
|
wasabi>=0.9.1,<1.2.0
|
||||||
|
|
46
setup.cfg
46
setup.cfg
|
@ -41,7 +41,7 @@ setup_requires =
|
||||||
cymem>=2.0.2,<2.1.0
|
cymem>=2.0.2,<2.1.0
|
||||||
preshed>=3.0.2,<3.1.0
|
preshed>=3.0.2,<3.1.0
|
||||||
murmurhash>=0.28.0,<1.1.0
|
murmurhash>=0.28.0,<1.1.0
|
||||||
thinc>=8.3.0,<8.4.0
|
thinc>=8.3.3,<8.4.0
|
||||||
install_requires =
|
install_requires =
|
||||||
# Our libraries
|
# Our libraries
|
||||||
spacy-legacy>=3.0.11,<3.1.0
|
spacy-legacy>=3.0.11,<3.1.0
|
||||||
|
@ -49,7 +49,7 @@ install_requires =
|
||||||
murmurhash>=0.28.0,<1.1.0
|
murmurhash>=0.28.0,<1.1.0
|
||||||
cymem>=2.0.2,<2.1.0
|
cymem>=2.0.2,<2.1.0
|
||||||
preshed>=3.0.2,<3.1.0
|
preshed>=3.0.2,<3.1.0
|
||||||
thinc>=8.3.0,<8.4.0
|
thinc>=8.3.3,<8.4.0
|
||||||
wasabi>=0.9.1,<1.2.0
|
wasabi>=0.9.1,<1.2.0
|
||||||
srsly>=2.4.3,<3.0.0
|
srsly>=2.4.3,<3.0.0
|
||||||
catalogue>=2.0.6,<2.1.0
|
catalogue>=2.0.6,<2.1.0
|
||||||
|
@ -57,8 +57,8 @@ install_requires =
|
||||||
# Third-party dependencies
|
# Third-party dependencies
|
||||||
typer>=0.3.0,<1.0.0
|
typer>=0.3.0,<1.0.0
|
||||||
tqdm>=4.38.0,<5.0.0
|
tqdm>=4.38.0,<5.0.0
|
||||||
numpy>=1.15.0; python_version < "3.9"
|
numpy>=1.15.0,<3.0; python_version < "3.9"
|
||||||
numpy>=1.19.0; python_version >= "3.9"
|
numpy>=1.19.0,<3.0; python_version >= "3.9"
|
||||||
requests>=2.13.0,<3.0.0
|
requests>=2.13.0,<3.0.0
|
||||||
pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0
|
pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0
|
||||||
jinja2
|
jinja2
|
||||||
|
@ -77,43 +77,43 @@ lookups =
|
||||||
transformers =
|
transformers =
|
||||||
spacy_transformers>=1.1.2,<1.4.0
|
spacy_transformers>=1.1.2,<1.4.0
|
||||||
cuda =
|
cuda =
|
||||||
cupy>=5.0.0b4,<13.0.0
|
cupy>=5.0.0b4,<14.0.0
|
||||||
cuda80 =
|
cuda80 =
|
||||||
cupy-cuda80>=5.0.0b4,<13.0.0
|
cupy-cuda80>=5.0.0b4,<14.0.0
|
||||||
cuda90 =
|
cuda90 =
|
||||||
cupy-cuda90>=5.0.0b4,<13.0.0
|
cupy-cuda90>=5.0.0b4,<14.0.0
|
||||||
cuda91 =
|
cuda91 =
|
||||||
cupy-cuda91>=5.0.0b4,<13.0.0
|
cupy-cuda91>=5.0.0b4,<14.0.0
|
||||||
cuda92 =
|
cuda92 =
|
||||||
cupy-cuda92>=5.0.0b4,<13.0.0
|
cupy-cuda92>=5.0.0b4,<14.0.0
|
||||||
cuda100 =
|
cuda100 =
|
||||||
cupy-cuda100>=5.0.0b4,<13.0.0
|
cupy-cuda100>=5.0.0b4,<14.0.0
|
||||||
cuda101 =
|
cuda101 =
|
||||||
cupy-cuda101>=5.0.0b4,<13.0.0
|
cupy-cuda101>=5.0.0b4,<14.0.0
|
||||||
cuda102 =
|
cuda102 =
|
||||||
cupy-cuda102>=5.0.0b4,<13.0.0
|
cupy-cuda102>=5.0.0b4,<14.0.0
|
||||||
cuda110 =
|
cuda110 =
|
||||||
cupy-cuda110>=5.0.0b4,<13.0.0
|
cupy-cuda110>=5.0.0b4,<14.0.0
|
||||||
cuda111 =
|
cuda111 =
|
||||||
cupy-cuda111>=5.0.0b4,<13.0.0
|
cupy-cuda111>=5.0.0b4,<14.0.0
|
||||||
cuda112 =
|
cuda112 =
|
||||||
cupy-cuda112>=5.0.0b4,<13.0.0
|
cupy-cuda112>=5.0.0b4,<14.0.0
|
||||||
cuda113 =
|
cuda113 =
|
||||||
cupy-cuda113>=5.0.0b4,<13.0.0
|
cupy-cuda113>=5.0.0b4,<14.0.0
|
||||||
cuda114 =
|
cuda114 =
|
||||||
cupy-cuda114>=5.0.0b4,<13.0.0
|
cupy-cuda114>=5.0.0b4,<14.0.0
|
||||||
cuda115 =
|
cuda115 =
|
||||||
cupy-cuda115>=5.0.0b4,<13.0.0
|
cupy-cuda115>=5.0.0b4,<14.0.0
|
||||||
cuda116 =
|
cuda116 =
|
||||||
cupy-cuda116>=5.0.0b4,<13.0.0
|
cupy-cuda116>=5.0.0b4,<14.0.0
|
||||||
cuda117 =
|
cuda117 =
|
||||||
cupy-cuda117>=5.0.0b4,<13.0.0
|
cupy-cuda117>=5.0.0b4,<14.0.0
|
||||||
cuda11x =
|
cuda11x =
|
||||||
cupy-cuda11x>=11.0.0,<13.0.0
|
cupy-cuda11x>=11.0.0,<14.0.0
|
||||||
cuda12x =
|
cuda12x =
|
||||||
cupy-cuda12x>=11.5.0,<13.0.0
|
cupy-cuda12x>=11.5.0,<14.0.0
|
||||||
cuda-autodetect =
|
cuda-autodetect =
|
||||||
cupy-wheel>=11.0.0,<13.0.0
|
cupy-wheel>=11.0.0,<14.0.0
|
||||||
apple =
|
apple =
|
||||||
thinc-apple-ops>=1.0.0,<2.0.0
|
thinc-apple-ops>=1.0.0,<2.0.0
|
||||||
# Language tokenizers with external dependencies
|
# Language tokenizers with external dependencies
|
||||||
|
|
|
@ -265,7 +265,7 @@ def test_pretraining_tagger():
|
||||||
|
|
||||||
|
|
||||||
# Try to debug segfault on windows
|
# Try to debug segfault on windows
|
||||||
#def test_pretraining_training():
|
# def test_pretraining_training():
|
||||||
# """Test that training can use a pretrained Tok2Vec model"""
|
# """Test that training can use a pretrained Tok2Vec model"""
|
||||||
# config = Config().from_str(pretrain_string_internal)
|
# config = Config().from_str(pretrain_string_internal)
|
||||||
# nlp = util.load_model_from_config(config, auto_fill=True, validate=False)
|
# nlp = util.load_model_from_config(config, auto_fill=True, validate=False)
|
Loading…
Reference in New Issue
Block a user