We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 709d6d9 + 7c6a975 commit 09a5f03Copy full SHA for 09a5f03
spacy/cli/_util.py
@@ -12,7 +12,7 @@
12
from typer.main import get_command
13
from contextlib import contextmanager
14
from thinc.api import Config, ConfigValidationError, require_gpu
15
-from thinc.util import has_cupy, gpu_is_available
+from thinc.util import gpu_is_available
16
from configparser import InterpolationError
17
import os
18
@@ -554,5 +554,5 @@ def setup_gpu(use_gpu: int, silent=None) -> None:
554
require_gpu(use_gpu)
555
else:
556
local_msg.info("Using CPU")
557
- if has_cupy and gpu_is_available():
+ if gpu_is_available():
558
local_msg.info("To switch to GPU 0, use the option: --gpu-id 0")
0 commit comments