Skip to content

Sync: rank-0 CIFAR-10 download + barrier (fix examples gloo timeout)#270

Open
wz337 wants to merge 1 commit into
facebookresearch:mainfrom
wz337:export-D112649967
Open

Sync: rank-0 CIFAR-10 download + barrier (fix examples gloo timeout)#270
wz337 wants to merge 1 commit into
facebookresearch:mainfrom
wz337:export-D112649967

Conversation

@wz337

@wz337 wz337 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary:
Regenerated OSS tree (oss_sync.sh) to propagate the dev-source fix in the
parent diff: the CIFAR-10 example now downloads on rank 0 only and barriers
before all ranks load the shared dataset with download=False. This fixes the
persistent examples / Python 3.12 GitHub CI failure where concurrent
per-rank downloads throttled + desynced the gloo ranks, timing out the
all-reduce in loss.backward() after the 30-min deadline.

Only examples/utils.py changes in content; the rest of the tree is unchanged.

Differential Revision: D112649967

Summary:
Regenerated OSS tree (oss_sync.sh) to propagate the dev-source fix in the
parent diff: the CIFAR-10 example now downloads on rank 0 only and barriers
before all ranks load the shared dataset with download=False. This fixes the
persistent `examples / Python 3.12` GitHub CI failure where concurrent
per-rank downloads throttled + desynced the gloo ranks, timing out the
all-reduce in loss.backward() after the 30-min deadline.

Only examples/utils.py changes in content; the rest of the tree is unchanged.

Differential Revision: D112649967
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 18, 2026
@meta-codesync

meta-codesync Bot commented Jul 18, 2026

Copy link
Copy Markdown

@wz337 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D112649967.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant