Best place to .to(device)
a torchmetrics.Metric
#14997
Unanswered
ZhaofengWu
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 2 comments 5 replies
-
Bump |
Beta Was this translation helpful? Give feedback.
0 replies
-
can you explain more on what do you mean by moving the metrics to the device. What do you want to do exactly? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the init of my
LightningModule
, I have something likeI'm wondering where's the best place to move these
torchmetrisc.Metric
s to GPU? Should I overridedef to
?Beta Was this translation helpful? Give feedback.
All reactions