cudaError on a VM with CUDA installed but no GPU
How to reproduce the behaviour
import spacy
nlp = spacy.load('en_core_web_sm', disable=['parser', 'tagger'])
doc = nlp(u'Apple is looking at buying U.K. startup for $1 billion'
CUDARuntimeError Traceback (most recent call last)
C:\Anaconda\lib\site-packages\spacy\language.py in call(self, text, disable) 344 if not hasattr(proc, 'call'): 345 raise ValueError(Errors.E003.format(component=type(proc), name=name)) --> 346 doc = proc(doc) 347 if doc is None: 348 raise ValueError(Errors.E005.format(name=name))
nn_parser.pyx in spacy.syntax.nn_parser.Parser.call()
nn_parser.pyx in spacy.syntax.nn_parser.Parser.parse_batch()
C:\Anaconda\lib\site-packages\spacy\util.py in get_cuda_stream(require) 236 237 def get_cuda_stream(require=False): --> 238 return CudaStream() if CudaStream is not None else None 239 240
C:\Anaconda\lib\site-packages\cupy\cuda\stream.py in init(self, null, non_blocking) 108 self.ptr = runtime.streamCreateWithFlags(runtime.streamNonBlocking) 109 else: --> 110 self.ptr = runtime.streamCreate() 111 112 def del(self):
cupy/cuda/runtime.pyx in cupy.cuda.runtime.streamCreate()
cupy/cuda/runtime.pyx in cupy.cuda.runtime.streamCreate()
cupy/cuda/runtime.pyx in cupy.cuda.runtime.check_status()
CUDARuntimeError: cudaErrorUnknown: unknown error
Your Environment
- Operating System: Windows-10-10.0.14393-SP0
- Python Version Used: 3.6.7
- spaCy Version Used: 2.0.18
- Environment Information:
The error seems similar to that reported here #2343
A similar VM with spacy 2.0.17 works instead fine.
Could you try v2.1.1? I think the problem should be resolved.
This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.