monklof commented on a change in pull request #7496:
URL: https://github.com/apache/tvm/pull/7496#discussion_r586076683
##########
File path: python/tvm/topi/cuda/dense.py
##########
@@ -42,11 +42,8 @@ def dense_cublas(cfg, data, weight, bias=None,
out_dtype=None):
batch, in_dim = data.shape
out_dim, _ = weight.shape
matmul = cublas.matmul(data, weight, False, True)
- if isinstance(batch, int):
+ if isinstance(batch, int) and isinstance(in_dim, int) and
isinstance(out_dim, int):
Review comment:
@comaniac Thanks, I'll fix it later
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]