spaCy/spacy/cli
Paul O'Leary McCann d4d4d69cb4 Config generation fails for GPU without transformers (#11899)
If you don't have spacy-transformers installed, but try to use `init
config` with the GPU flag, you'll get an error. The issue is that the
`use_transformers` flag in the config is conflated with the GPU flag,
and then there's an attempt to access transformers config info that may
not exist.

There may be a better way to do this, but this stops the error.
2022-12-12 14:02:50 +01:00
..
project Support env vars and CLI overrides for project.yml 2021-02-10 13:45:27 +11:00
templates Config generation fails for GPU without transformers (#11899) 2022-12-12 14:02:50 +01:00
__init__.py assemble CLI command (#7783) 2021-04-19 18:39:11 +10:00
_util.py Add smart_open requirement, update deprecated options (#11864) 2022-12-12 14:02:50 +01:00
assemble.py assemble CLI command (#7783) 2021-04-19 18:39:11 +10:00
convert.py Fix other open calls without context managers (#8245) 2021-07-16 15:47:55 +02:00
debug_config.py Add --code to spacy debug CLI 2021-03-12 09:51:26 +01:00
debug_data.py Update debug data for textcat (#8066) 2021-05-17 13:27:04 +02:00
debug_model.py Fix 'debug model' for transformers + generalize (#7973) 2021-05-06 18:43:32 +10:00
download.py textcat scoring fix and multi_label docs (#6974) 2021-03-09 23:04:22 +11:00
evaluate.py Fix displacy output in evaluate CLI (#7122) 2021-02-19 23:01:20 +11:00
info.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
init_config.py Add --code option to init fill-config 2021-03-12 10:03:57 +01:00
init_pipeline.py WIP: Various small training changes (#6818) 2021-01-26 14:51:52 +11:00
package.py Fix duplicate spacy package CLI opts (#8551) 2021-07-16 15:48:19 +02:00
pretrain.py Check if the resume path points to a directory (#7919) 2021-04-28 09:17:15 +02:00
profile.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
train.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
validate.py Update validate CLI to fix compat and ignore warnings (#8423) 2021-07-14 23:28:08 +02:00