-
Notifications
You must be signed in to change notification settings - Fork 73
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
modeling_cpt.py问题请教 #68
Comments
gradient_checkpoint部分没有维护,可能会有问题。torch.utils.checkpoint.checkpoint应该是可以用。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第762行是否修改成torch.utils.checkpoint.checkpoint才能正常运行,我检查过配置是符合,然后这里一直报错,后面我看了modeling_bart的源码修改才能正常运行,是属于什么问题呢
![微信图片_20230501213649](https://user-images.githubusercontent.com/90093699/235459440-fd845120-4cae-4d2d-a9a6-fa242ce63ef8.png)
The text was updated successfully, but these errors were encountered: