-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: 'DataModule' object has no attribute 'has_teardown_None' #7286
Comments
That's correct! Thanks for pinging |
Ok, but no duplicate right? |
This was reported in Slack and lazy me didn't create an issue and jumped straight into fixing it 😝
The refactor is required and I would like that it makes it to 1.3, this way we don't have to worry about conflicts for the 1.4 bugfix releases. |
Hi, is there a temporary workaround for this issue in 1.3.0rc1? Such as maybe defining a dummy 'has_teardown_None' attribute for our datamodule? We have come to rely on some of the new features in 1.3 and cannot easily downgrade but would like to avoid waiting as much as possible. |
@GuillaumeTong we plan to include #7173 into 1.3 which should fix it.
Yes, this workaround would work.
|
🐛 Bug
AttributeError: 'DataModule' object has no attribute 'has_teardown_None'
Happens when Ctrl+C a GPU training script.
Please reproduce using the BoringModel
To Reproduce
git checkout b6706470c1e7a1db47f5dc2440fe3b970bdf209c
(current master)python pl_examples/basic_examples/simple_image_classifier.py --trainer.gpus 1
Error:
Expected behavior
No error.
Environment
- GPU:
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- GeForce RTX 3090
- available: True
- version: 11.1
- numpy: 1.20.2
- pyTorch_debug: False
- pyTorch_version: 1.8.1+cu111
- pytorch-lightning: 1.3.0rc2
- tqdm: 4.60.0
- OS: Linux
- architecture:
- 64bit
- ELF
- processor: x86_64
- python: 3.8.8
- version: added test model to do also #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020
The text was updated successfully, but these errors were encountered: