-
Notifications
You must be signed in to change notification settings - Fork 90
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
Cuda error 77, please suggest how to debug #68
Comments
You could modify ele->use_kernel() to true to use elementwise kernel in cudnn. This method can avoid this bug.
|
Hi, @Alex-Sol , /home/TASO/src/cudnn/cuda_helper.cu:83: void helperSetBroadcastableTensorDescriptor(const taso::Tensor&, const taso::Tensor&, cudnnTensorDescriptor_t): Assertion `input.default_layout()' failed. Could you help me to solve this problem? |
I found the problem is related to gemm opearter. If I comment some code in init.py like following, I don't have layout problem. But still I need to know how to solve it perfectly. @Alex-Sol def _gemm(op, graph, tensors, initializer): |
@jiahuiyang This may be a bug about mismatch of dims of bias and matmul. if len(inputs) > 2:
dim = inputs[2].dim(0)
reshape_bias = graph.reshape(inputs[2], (1,dim))
outputs = graph.add(outputs, reshape_bias)
return outputs |
great. Thanks |
Hi. I applied TASO (commit dce8c4d) to the several models of onnx-models. One frequent error I got is:
Affected models are: inception-v2-9, mnist-8.log, resnet101-v2-7, resnet18-v2-7, roberta-base-11, shufflenet-9, vgg19-7, yolov4.
Since trivial mnist is in the list, I suspect that the problem was caused by some environment bug, such as package version mismatch or alike.
The error message is not very verbose, and named CUDA line doesn't look suspicious. I would be glad to provide more debugging information but unfortunately I'm not a expert in low-level CUDA. Could you please suggest what can I do to collect more information?
The text was updated successfully, but these errors were encountered: