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 PyTorch Lightning official documentation they discourage the use of to or cuda call in the code. However, in order to perform GPU augmenations with MONAI, it is necessary to use monai.transforms.ToDevice which is nothing but a wrapped to call. Is it safe to use GPU data augmentation with MONAI + PyTorch Lightning in multi GPU training, could someone give an explanation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
In PyTorch Lightning official documentation they discourage the use of
to
orcuda
call in the code. However, in order to perform GPU augmenations with MONAI, it is necessary to usemonai.transforms.ToDevice
which is nothing but a wrappedto
call. Is it safe to use GPU data augmentation with MONAI + PyTorch Lightning in multi GPU training, could someone give an explanation?Beta Was this translation helpful? Give feedback.
All reactions