Skip to content

[Docs] Fix broken PyTorch tutorial link in ResNet fine-tune example - #60036

Merged
ArturNiederfahrenhorst merged 4 commits into
ray-project:masterfrom
sjp611:sjp611-patch-1
May 13, 2026
Merged

ArturNiederfahrenhorst merged 4 commits into
ray-project:masterfrom
sjp611:sjp611-patch-1

Conversation

@sjp611

@sjp611 sjp611 commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

Why are these changes needed?

The original PyTorch tutorial "Finetuning Torchvision Models" has been removed and now incorrectly redirects to an unrelated Object Detection tutorial.

Changed to Transfer Learning tutorial which covers the same content (ResNet fine-tuning on hymenoptera_data).

Old URL (broken): https://pytorch.org/tutorials/beginner/finetuning_torchvision_models_tutorial.html
→ Now redirects to Object Detection (Mask R-CNN, PennFudan dataset)

New URL: https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html
→ Covers ResNet fine-tuning on hymenoptera_data (same as Ray example)

Note: Kept the link text "Finetuning Torchvision Models" unchanged to minimize change scope.

Related issue number

N/A

Checks

The original PyTorch tutorial "Finetuning Torchvision Models" has been removed
and now incorrectly redirects to an unrelated Object Detection tutorial.

Changed to Transfer Learning tutorial which covers the same content
(ResNet fine-tuning on hymenoptera_data).

Signed-off-by: Sungjoon Park <[email protected]>
@sjp611
sjp611 requested review from a team as code owners January 11, 2026 16:48

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request correctly fixes a broken link in a PyTorch tutorial within the ResNet fine-tuning example. The updated URL is appropriate. I've provided one suggestion to also update the link's display text to match the new tutorial's title, which would improve clarity for users.

@ray-gardener ray-gardener Bot added docs An issue or change related to documentation train Ray Train Related Issue community-contribution Contributed by the community labels Jan 11, 2026
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Ricardo Decal <[email protected]>

@crypdick crypdick left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I confirmed that the new link is the appropriate tutorial based on hymenoptera_data
I agreed with the Gemini suggestion to update the link text and merged that in
(ray docs stamp)

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Jan 26, 2026
@sjp611

sjp611 commented Jan 26, 2026

Copy link
Copy Markdown
Contributor Author

Still waiting for code owner review from ray-train team.
Would appreciate if someone could take a look. Thanks!

@github-actions github-actions Bot added unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels Jan 26, 2026

@TimothySeah TimothySeah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

new link looks good

@pseudo-rnd-thoughts pseudo-rnd-thoughts left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR updating the link

@pseudo-rnd-thoughts pseudo-rnd-thoughts added the go add ONLY when ready to merge, run all tests label May 12, 2026
@ArturNiederfahrenhorst
ArturNiederfahrenhorst merged commit 7af8d27 into ray-project:master May 13, 2026
3 checks passed
alexandrplashchinsky pushed a commit to alexandrplashchinsky/ray-alex that referenced this pull request May 29, 2026
…ay-project#60036)

## Why are these changes needed?

The original PyTorch tutorial "Finetuning Torchvision Models" has been
removed and now incorrectly redirects to an unrelated Object Detection
tutorial.

Changed to Transfer Learning tutorial which covers the same content
(ResNet fine-tuning on hymenoptera_data).

**Old URL (broken):**
`https://pytorch.org/tutorials/beginner/finetuning_torchvision_models_tutorial.html`
→ Now redirects to Object Detection (Mask R-CNN, PennFudan dataset)

**New URL:**
`https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html`
→ Covers ResNet fine-tuning on hymenoptera_data (same as Ray example)

Note: Kept the link text "Finetuning Torchvision Models" unchanged to
minimize change scope.

## Related issue number

N/A

## Checks

- [x] I've signed off every commit (by using the -s flag, i.e., git
commit -s) in this PR.
- [x] I've run scripts/format.sh to lint the changes in this PR.
- [x] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've made sure the tests are passing.

---------

Signed-off-by: Sungjoon Park <[email protected]>
Signed-off-by: Ricardo Decal <[email protected]>
Co-authored-by: Ricardo Decal <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: matthewdeng <[email protected]>
Signed-off-by: Alexandr Plashchinsky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community docs An issue or change related to documentation go add ONLY when ready to merge, run all tests train Ray Train Related Issue unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants