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

使用ExternalAttention时报错 #13

Open
yy-wy opened this issue Jul 2, 2021 · 1 comment
Open

使用ExternalAttention时报错 #13

yy-wy opened this issue Jul 2, 2021 · 1 comment

Comments

@yy-wy
Copy link

yy-wy commented Jul 2, 2021

有人使用时遇到过这个错误吗?
RuntimeError: mat1 dim 1 must match mat2 dim 0
程序中关于nn.Linear应该没有问题
(mk): Linear(in_features=576, out_features=8, bias=False)
(mv): Linear(in_features=8, out_features=576, bias=False)

另外主干程序使用EAattention没有问题

@YuQi9797
Copy link

你维度没弄对把 可能是。

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

2 participants