spaCy/spacy/cli
Paul O'Leary McCann f9d17a644b
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-02 10:17:11 +01:00
..
project
templates Config generation fails for GPU without transformers (#11899) 2022-12-02 10:17:11 +01:00
__init__.py
_util.py
assemble.py
convert.py
debug_config.py
debug_data.py
debug_diff.py
debug_model.py
download.py
evaluate.py
find_threshold.py
info.py
init_config.py
init_pipeline.py
package.py
pretrain.py
profile.py
train.py
validate.py