Add tip about --gpu-id to training quickstart

This commit is contained in:
Adriane Boyd 2021-02-19 14:07:51 +01:00
parent 4188beda87
commit 7198be0f4b

View File

@ -95,6 +95,14 @@ spaCy's binary `.spacy` format. You can either include the data paths in the
$ python -m spacy train config.cfg --output ./output --paths.train ./train.spacy --paths.dev ./dev.spacy
```
> #### Tip: Enable your GPU
>
> Use the `--gpu-id` option to select the GPU:
>
> ```cli
> $ python -m spacy train config.cfg --gpu-id 0
> ```
<Accordion title="How are the config recommendations generated?" id="quickstart-source" spaced>
The recommended config settings generated by the quickstart widget and the