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

modeling_cpt.py问题请教 #68

Open
LKAMING97 opened this issue May 1, 2023 · 1 comment
Open

modeling_cpt.py问题请教 #68

LKAMING97 opened this issue May 1, 2023 · 1 comment

Comments

@LKAMING97
Copy link

第762行是否修改成torch.utils.checkpoint.checkpoint才能正常运行,我检查过配置是符合,然后这里一直报错,后面我看了modeling_bart的源码修改才能正常运行,是属于什么问题呢
微信图片_20230501213649

@choosewhatulike
Copy link
Member

gradient_checkpoint部分没有维护,可能会有问题。torch.utils.checkpoint.checkpoint应该是可以用。

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