import spacy - NVRTCError: NVRTC_ERROR_INVALID_OPTION (5) #12074
Unanswered
videru
asked this question in
Help: Installation
Replies: 1 comment
-
This appears to be an installation issue, so let's move this to the discussion forum. The above error points to an incompatible or incomplete installation of the prerequisite nVidia CUDA libraries. More information on this and instructions to install the same can be found on the CuPy website. Please try again after performing a clean installation of the CUDA toolkit for Windows. It could also help to update your GPU drivers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(base) PS C:\Windows\system32> python
Python 3.9.13 (main, Aug 25 2022, 23:51:50) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\spacy_init_.py", line 6, in
from .errors import setup_default_warnings
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\spacy\errors.py", line 2, in
from .compat import Literal
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\spacy\compat.py", line 38, in
from thinc.api import Optimizer # noqa: F401
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\thinc\api.py", line 2, in
from .initializers import normal_init, uniform_init, glorot_uniform_init, zero_init
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\thinc\initializers.py", line 4, in
from .backends import Ops
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\thinc\backends_init_.py", line 8, in
from .cupy_ops import CupyOps
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\thinc\backends\cupy_ops.py", line 5, in
from . import _custom_kernels
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\thinc\backends_custom_kernels.py", line 83, in
clipped_linear_kernel_float = _get_kernel("clipped_linear")
File "C:\Users\deru\AppData\Roaming\Python\Python39\site-packages\thinc\backends_custom_kernels.py", line 71, in _get_kernel
return KERNELS.get_function(name)
File "cupy_core\raw.pyx", line 470, in cupy._core.raw.RawModule.get_function
File "cupy_core\raw.pyx", line 394, in cupy._core.raw.RawModule.module.get
File "cupy_core\raw.pyx", line 402, in cupy._core.raw.RawModule._module
File "cupy_util.pyx", line 67, in cupy._util.memoize.decorator.ret
File "cupy_core\raw.pyx", line 547, in cupy._core.raw._get_raw_module
File "cupy_core\core.pyx", line 2064, in cupy._core.core.compile_with_cache
File "cupy_core\core.pyx", line 2124, in cupy._core.core.compile_with_cache
File "e:\ProgramData\Anaconda3\lib\site-packages\cupy\cuda\compiler.py", line 488, in _compile_module_with_cache
return _compile_with_cache_cuda(
File "e:\ProgramData\Anaconda3\lib\site-packages\cupy\cuda\compiler.py", line 531, in _compile_with_cache_cuda
base = _preprocess('', options, arch, backend)
File "e:\ProgramData\Anaconda3\lib\site-packages\cupy\cuda\compiler.py", line 420, in _preprocess
result, _ = prog.compile(options)
File "e:\ProgramData\Anaconda3\lib\site-packages\cupy\cuda\compiler.py", line 698, in compile
raise CompileException(log, self.src, self.name, options,
cupy.cuda.compiler.CompileException: nvrtc: error: invalid value for --gpu-architecture (-arch)
Beta Was this translation helpful? Give feedback.
All reactions