Closed wind91725 closed 5 years ago
Hi,
Are you using a GPU to run? May I know the full command you use and the complete log output?
Hi,thank you for your reply. Here is full command and complete log output . On 08/6/2019 07:06,Chengleinotifications@github.com wrote:
Hi,
Are you using a GPU to run? May I know the full command you use and the complete log output?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Note: this issue has been solved by updating the versions to: Python 3.6, Pytorch 1.0.1, cuda10
modeling_xlnet.py ,line 892 in forward mems_mask = torch.zeros([data_mask.shape[0],men,bsz]).to(data_mask)
RuntimeError : sizes must be non=negative