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
In the README.md, it suggests using the torch of version 1.3.0, but there seems no that version in the previous version of PyTorch, link.
So, I use the latest version (1.7.1) of the torch, and when I start training, I got this Runtime Error.
And then I found that the error was caused in the prophetnet/ngram_multihead_attention.py line 255.
q=q*self.scaling
It looks like this operation is not allowed anymore, then I fixed the problem by the following:
In the README.md, it suggests using the torch of version
1.3.0
, but there seems no that version in the previous version of PyTorch, link.So, I use the latest version (
1.7.1
) of the torch, and when I start training, I got this Runtime Error.And then I found that the error was caused in the
prophetnet/ngram_multihead_attention.py
line 255.It looks like this operation is not allowed anymore, then I fixed the problem by the following:
The text was updated successfully, but these errors were encountered: