-
Notifications
You must be signed in to change notification settings - Fork 29k
End2end pytorch lightning errors #25525
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
Comments
I guess you are also using a newer Transformers version. My advice is to use the latest Transformers and Lightning. I can help with debugging the lightning errors. |
Hey, thanks so much for responding so quickly. When I upgraded to the latest stable version of Lightning (2.0.7) and Transformers (4.31), I ran into an issue where the most recent update of PyTorch Lightning removed support for
I'm not too familiar with PyTorch Lightning; do you know if there's a work-around for this parser code in |
yes, the latest version of Trainer doesn't have such a thing. You can manually enter. https://lightning.ai/docs/pytorch/stable/common/trainer.html |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Hello @albertsun1 |
System Info
transformers
version: 4.31.0Who can help?
@shamanez
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Hey @shamanez, I'm attempting to run
sh ./test_run/test_finetune.sh
using one GPU. Unfortunately, I've been running into errors with PyTorch lightning. I've tried using PyTorch Lightning version 1.6.4 as recommended in the requirements.txt, but I've gotten errors. This other thread seemed to get the same type of bugs: #22210I've also experimented with other versions to see if I could get it fixed, but it still doesn't work:
I tried adding
acclerator=‘gpu’
oraccelerator=‘auto’
as parameters to the Trainer code, but doing either simply gave me the same error.Expected behavior
I'd expect the code to train a RAG end-to-end model, but it has this bug before we can start training the model.
The text was updated successfully, but these errors were encountered: