You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest version of the utilities library, automatic device transfer converts namedtuples into regular tuples, causing loss of attribute access provided by the namedtuple.
This script fails with attribute error AttributeError: 'tuple' object has no attribute 'features', when the library version is 0.10.0 and runs without errors on 0.9.0. The Pytorch lightning version was unchanged, 2.1.2 for both.
Additional context
Environment details
PyTorch Version (e.g., 1.0): 2.1.1+cu121
OS (e.g., Linux): Ubuntu
How you installed PyTorch (conda, pip, source): pip
Python version: 3.10.13
CUDA/cuDNN version: 12.2
This happened for both single GPU and multi GPU run with DDP. This was a bit of work to track down since the pinned pytorch_lightning version was unchanged.
This is the exact same as a previous lightning issue, although that one seems to have been due to PyTorch?
The text was updated successfully, but these errors were encountered:
🐛 Bug
In the latest version of the utilities library, automatic device transfer converts namedtuples into regular tuples, causing loss of attribute access provided by the namedtuple.
To Reproduce
This script fails with attribute error
AttributeError: 'tuple' object has no attribute 'features'
, when the library version is 0.10.0 and runs without errors on 0.9.0. The Pytorch lightning version was unchanged, 2.1.2 for both.Additional context
Environment details
conda
,pip
, source): pipThis happened for both single GPU and multi GPU run with DDP. This was a bit of work to track down since the pinned pytorch_lightning version was unchanged.
This is the exact same as a previous lightning issue, although that one seems to have been due to PyTorch?
The text was updated successfully, but these errors were encountered: