# RuntimeError: cublas runtime error : the GPU program failed to execute at

**URL:** <https://discuss.pytorch.org/t/runtimeerror-cublas-runtime-error-the-gpu-program-failed-to-execute-at/11470>\
**Category:** Uncategorized\
**Created:** [December 22, 2017, 3:36pm UTC](https://discuss.pytorch.org/t/runtimeerror-cublas-runtime-error-the-gpu-program-failed-to-execute-at/11470 "2017-12-22T15:36:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhang\_Wen](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/zhang_wen/32/794_2.png) [@Zhang\_Wen](https://discuss.pytorch.org/u/Zhang_Wen)\
**Post date:** [December 22, 2017, 3:36pm UTC](https://discuss.pytorch.org/t/runtimeerror-cublas-runtime-error-the-gpu-program-failed-to-execute-at/11470/1 "2017-12-22T15:36:27Z")

</div>

hello everyone,

i got following error, can anyone help me ?

File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py’, line 325, in **call**  
result = self.forward(\*input, \*\*kwargs)  
File ‘/home/wen/1.research/zh-en/iwslt/with\_transformer/models/transformer.py’, line 269, in forward  
attn\_mask=dec\_mask)  
File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py’, line 325, in **call**  
result = self.forward(_input, \*\*kwargs)  
File ‘/home/wen/1.research/zh-en/iwslt/with\_transformer/models/transformer.py’, line 119, in forward  
query\_up = shape\_projection(self.w\_q(q)) # (B_h, trg\_L, dim)  
File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py’, line 325, in **call**  
result = self.forward(\*input, \*\*kwargs)  
File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/nn/modules/linear.py’, line 55, in forward  
return F.linear(input, self.weight, self.bias)  
File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/nn/functional.py’, line 837, in linear  
output = input.matmul(weight.t())  
File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/autograd/variable.py’, line 386, in matmul  
return torch.matmul(self, other)  
File ‘/home/wen/anaconda2/lib/python2.7/site-packages/torch/functional.py’, line 191, in matmul  
output = [torch.mm](http://torch.mm)(tensor1, tensor2)  
RuntimeError: cublas runtime error : the GPU program failed to execute at
