Skip to content

Conversation

@naman1303
Copy link
Contributor

@naman1303 naman1303 commented Jan 16, 2025

Problem - MNIST download links for https://yann.lecun.com/exdb/mnist are not working for sometime now and the system tends to download it from https://ossci-datasets.s3.amazonaws.com/mnist eventually.
This is unnecessarily adding to the execution time + failure messages.

Solution - I have simply reversed the order of mirror links, so that it tries the working one first resulting in minimal execution time. Also, once the yann.lecun.com starts working, it will anyways be part of the list.

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 16, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8865

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

Hi @naman1303!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@naman1303 naman1303 closed this Jan 16, 2025
@naman1303 naman1303 reopened this Jan 16, 2025
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@noopurintel
Copy link

Anyone looking at this PR?

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @naman1303 .

@NicolasHug NicolasHug merged commit b199170 into pytorch:main Feb 19, 2025
1 check passed
@github-actions
Copy link

Hey @NicolasHug!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Jul 9, 2025
Summary: Co-authored-by: Nicolas Hug <[email protected]>

Reviewed By: scotts

Differential Revision: D77997064

fbshipit-source-id: 7141bd84315f71fcb2da4326da6b36a8abfcabb0
yanmxa added a commit to yanmxa/ocm-addon-contrib that referenced this pull request Nov 27, 2025
Upgrade torch from 2.5.0 to 2.7.0 and torchvision from 0.20.0 to 0.22.0
to fix MNIST dataset download failure caused by unreliable yann.lecun.com
server returning HTTP 404 errors.

The fix was merged in pytorch/vision#8865 which reorders the mirror list
to prioritize the reliable AWS S3 mirror over yann.lecun.com.

Related issues:
- pytorch/vision#8568
- pytorch/vision#8865

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Meng Yan <[email protected]>
yanmxa added a commit to yanmxa/ocm-addon-contrib that referenced this pull request Nov 27, 2025
Upgrade torch from 2.5.0 to 2.9.0 and torchvision from 0.20.0 to 0.24.0
to fix MNIST dataset download failure caused by unreliable yann.lecun.com
server returning HTTP 404 errors.

The fix was merged in pytorch/vision#8865 which reorders the mirror list
to prioritize the reliable AWS S3 mirror over yann.lecun.com.

Related issues:
- pytorch/vision#8568
- pytorch/vision#8865

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Meng Yan <[email protected]>
openshift-merge-bot bot pushed a commit to open-cluster-management-io/addon-contrib that referenced this pull request Nov 28, 2025
Upgrade torch from 2.5.0 to 2.9.0 and torchvision from 0.20.0 to 0.24.0
to fix MNIST dataset download failure caused by unreliable yann.lecun.com
server returning HTTP 404 errors.

The fix was merged in pytorch/vision#8865 which reorders the mirror list
to prioritize the reliable AWS S3 mirror over yann.lecun.com.

Related issues:
- pytorch/vision#8568
- pytorch/vision#8865

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Meng Yan <[email protected]>
Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants