Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead link in torch.jit.optimize_for_inference source code #1583

Open
rubencn4 opened this issue Mar 5, 2024 · 2 comments
Open

Dead link in torch.jit.optimize_for_inference source code #1583

rubencn4 opened this issue Mar 5, 2024 · 2 comments

Comments

@rubencn4
Copy link

rubencn4 commented Mar 5, 2024

🕋 Website

The link https://pytorch.org/docs/stable/_modules/torch/jit/_freeze.html#optimize_for_inference is a dead end.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://pytorch.org/docs/stable/generated/torch.jit.optimize_for_inference.html'
  2. Click on source ('https://pytorch.org/docs/stable/_modules/torch/jit/_freeze.html#optimize_for_inference')
  3. Oops! You've reached a dead end.
@Suvendu-UI
Copy link

No issue there

@Tony-Y
Copy link

Tony-Y commented Nov 30, 2024

There is a dead end in the docs for version 1.10:

https://pytorch.org/docs/1.10/_modules/torch/jit/_freeze.html#optimize_for_inference

Screenshot

Edit
There is a similar dead link in the docs for an older version than 2.3. This issue was fixed at version 2.3.
https://pytorch.org/docs/2.2/generated/torch.jit.optimize_for_inference.html#torch.jit.optimize_for_inference has a dead link, but
https://pytorch.org/docs/2.3/generated/torch.jit.optimize_for_inference.html#torch.jit.optimize_for_inference has no dead link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants