From 7198be0f4bfd4ea6d63a18d01326d77827751841 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 19 Feb 2021 14:07:51 +0100 Subject: [PATCH] Add tip about --gpu-id to training quickstart --- website/docs/usage/training.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/usage/training.md b/website/docs/usage/training.md index 1758f677a..5e9d3303c 100644 --- a/website/docs/usage/training.md +++ b/website/docs/usage/training.md @@ -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 +> ``` + The recommended config settings generated by the quickstart widget and the