-
Notifications
You must be signed in to change notification settings - Fork 472
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
AttributeError: 'NoneType' object has no attribute 'device' #457
Comments
What is your transformers version? |
@PhungVanDuy transformers==4.28.1 |
Let me downgrade transformers==4.27.1 and re-trying it... |
please try with transformers==4.26.0. I just want to make sure it works with the version the last time I trained with this script. |
OK. Please hold on. I'm trying transformers==4.27.1, which is pined in |
Let me pin it. |
🐛 Describe the bug
trlx_gptj_text_summarization.py raised error:
1 machine 4*16GV100, and all configs are by default.
Which trlX version are you using?
current master
Additional system and package information
python3.8
transformers==4.28.1
The text was updated successfully, but these errors were encountered: