Datasets are downloading only on node 0, rank 0 in Ignite examples.
See original GitHub issue🐛 Bug description
Datasets are downloading only on node 0, rank 0 in Ignite examples. idist.get_rank()
should be idist.get_local_rank()
cc @vfdev-5 for confirmation
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
ignite/main.py at master · pytorch/ignite - cifar10 - GitHub
Get train/test datasets. if idist.get_local_rank() > 0: # Ensure that only local rank 0 download the dataset. # Thus each node will download...
Read more >Collective Communication with Ignite
Let's spawn 3 processes with ranks 0, 1 and 2 and define a tensor on all of ... to make sure only the...
Read more >Apache Ignite
The Apache Calcite is a SQL engine with customizable modules. Requests can be splitted into more than 2 phases. A query engine can...
Read more >Distributed training with CPU's - ignite - PyTorch Forums
I tried using ignite.distributed with the gloo backend, but when … ... that only local rank 0 download the dataset # Thus each...
Read more >How to Fast Load Large Datasets into Apache Ignite by Using ...
The slow application is only one of the many entities that form the processing pipeline of the production system, so there are strict...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think that is correct to download dataset only on rank 0.
Usually, if you have multiple nodes, dataset is downloaded on a shared directory on the file system. We don’t want to have multiple datasets on memory.
I’m not sure. Cifar10 is a small dataset, I think that what is currently done is good.