How to log Molecules via wandb in case of multi-gpu training? #15972
Unanswered
glukhove
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
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.
-
Hello!
I'd like to log Molecule on each validation step.
So for 1-GPU training I was able to use
wandb_logger
created outside of the scope. So, instead ofself.log
I usedwandb_logger.log_table(...)
and it was fine.But when I use multiple GPUs
wandb_logger
would work only on rank 0 gpu, all other will not upload anything.I was trying to create a workaround, but wasn't able to find anything decent.
Beta Was this translation helpful? Give feedback.
All reactions