You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/xxx/selective_scan_interface.py", line 331, in backward dx, dconv1d_weight, dconv1d_bias = causal_conv1d_cuda.causal_conv1d_bwd( RuntimeError: weight must have shape (dim, width)
#22
Open
zyzcuczyu opened this issue
Apr 21, 2024
· 0 comments
Before that, I print the shape of conv1d_weight:
shape: torch.Size([1536, 4]) is_contiguous: True
It seems that the shape of conv1d_weight is right, but the code still goes wrong. I really don't know why.
The image shows the details.
btw, these are versions of my packages:
Hope someone can solve my problem :(
The text was updated successfully, but these errors were encountered:
This is the line where the error code is located:
Before that, I print the shape of conv1d_weight:
shape: torch.Size([1536, 4]) is_contiguous: True
It seems that the shape of conv1d_weight is right, but the code still goes wrong. I really don't know why.
The image shows the details.
btw, these are versions of my packages:
Hope someone can solve my problem :(
The text was updated successfully, but these errors were encountered: