mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Add tags to the rendezvous calls for TPU. (#921)
* Update data_loading.py * Update training_io.py * Update trainer.py
This commit is contained in:
@@ -233,7 +233,7 @@ class TrainerDataLoadingMixin(ABC):
|
||||
self.get_val_dataloaders()
|
||||
|
||||
# wait for all processes to catch up
|
||||
torch_xla.core.xla_model.rendezvous()
|
||||
torch_xla.core.xla_model.rendezvous("pl.TrainerDataLoadingMixin.get_dataloaders")
|
||||
|
||||
# support IterableDataset for train data
|
||||
self.is_iterable_train_dataloader = (
|
||||
|
||||
Reference in New Issue
Block a user