Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cupy.cuda.compiler.CompileException: nvrtc: error: failed to load builtins #17

Closed
prologueyan-hr opened this issue Nov 12, 2018 · 0 comments

Comments

@prologueyan-hr
Copy link

prologueyan-hr commented Nov 12, 2018

First of all thanks your amazing work!
when I run the code I have met the following issue:
Traceback (most recent call last): File "main.py", line 300, in <module> Train() File "main.py", line 147, in Train Model[device_id](img, lbl, dataset, train=True) File "/home/wangliu/Hr/SPReID/modelx.py", line 387, in __call__ xo = self.segmentation.predictor(x) File "/home/wangliu/Hr/SPReID/modelx.py", line 324, in __call__ x = convolution(x) File "/home/wangliu/Hr/SPReID/modelx.py", line 315, in convolution x = self.convolution[0](x) File "/home/wangliu/Hr/SPReID/modelx.py", line 60, in __call__ x = self.conv(x) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/link.py", line 242, in __call__ out = forward(*args, **kwargs) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/links/connection/convolution_2d.py", line 173, in forward groups=self.groups) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/functions/connection/convolution_2d.py", line 572, in convolution_2d y, = fnode.apply(args) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/function_node.py", line 263, in apply outputs = self.forward(in_data) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/function_node.py", line 369, in forward return self.forward_gpu(inputs) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/functions/connection/convolution_2d.py", line 173, in forward_gpu return self._forward_gpu_core(x, W, b) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/functions/connection/convolution_2d.py", line 180, in _forward_gpu_core cover_all=self.cover_all, dy=self.dy, dx=self.dx) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/chainer/utils/conv.py", line 123, in im2col_gpu h, w, out_h, out_w, kh, kw, sy, sx, ph, pw, dy, dx, col) File "cupy/core/_kernel.pyx", line 558, in cupy.core._kernel.ElementwiseKernel.__call__ File "cupy/core/_kernel.pyx", line 579, in cupy.core._kernel.ElementwiseKernel._get_elementwise_kernel File "cupy/core/_kernel.pyx", line 392, in cupy.core._kernel._get_elementwise_kernel File "cupy/core/_kernel.pyx", line 26, in cupy.core._kernel._get_simple_elementwise_kernel File "cupy/core/_kernel.pyx", line 46, in cupy.core._kernel._get_simple_elementwise_kernel File "cupy/core/carray.pxi", line 148, in cupy.core.core.compile_with_cache File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 135, in compile_with_cache base = _preprocess('', options, arch) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 98, in _preprocess result = prog.compile(options) File "/home/wangliu/anaconda3/envs/aligned_reid/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 245, in compile raise CompileException(log, self.src, self.name, options) cupy.cuda.compiler.CompileException: nvrtc: error: failed to load builtins
Do you know how to solve that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant