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

Add docs for torch.chain_matmul, torch.qr, torch.range, torch.cholesky #59

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

arunppsg
Copy link
Contributor

@arunppsg arunppsg commented Jun 4, 2024

Partially addresses #56
Added TOR101 deprecation doc for torch.cholesky, torch.chain_matmul, torch.qr, torch.range.

@facebook-github-bot facebook-github-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 Jun 4, 2024
README.md Show resolved Hide resolved
README.md Outdated
The function `torch.range()` is deprecated as its usage is incompatible with Python's builtin range. Instead, use `torch.arange()` as it produces values in `[start, end)`.

Migration guide:
* The usage of `torch.range(a, b)` should be replaced with `torch.arange(a, b)`.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not correct, upper bound needs to be changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed changes in 34f8af9

README.md Outdated
This function is deprecated in favor of `torch.linalg.multi_dot`.

Migration guide:
`multi_dot` accepts a list of two or more tensors whereas `chain_multimul` accepted multiple tensors as input arguments. For migration, convert the multiple tensors in argument of `chain_multimul` into a list of two or more tensors for `multi_dot`.
Copy link
Contributor

Choose a reason for hiding this comment

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

This talks about chain_multimul, not chain_matmul

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addresses changes in 34f8af9

@kit1980 kit1980 merged commit 63cf152 into pytorch-labs:main Jun 17, 2024
2 checks passed
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. docathon-h1-2024 easy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants