Skip to content

self.local_rank in LightningDataModule #12056

Discussion options

You must be logged in to vote

hey @austinmw !

you can access them using self.trainer.local_rank, self.trainer.global_rank & self.trainer.world_size.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@austinmw
Comment options

Answer selected by austinmw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment