KEMBAR78
Documentation update torch.clone #156644 by morrison-turnansky · Pull Request #157007 · pytorch/pytorch · GitHub
Skip to content

Conversation

@morrison-turnansky
Copy link
Contributor

updated torch clone docs to reflect implemented memory behavior

Fixes #156644

@pytorch-bot pytorch-bot bot added the release notes: python_frontend python frontend release notes category label Jun 26, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 26, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ You can merge normally! (1 Unrelated Failure)

As of commit ac87644 with merge base f5e1b24 (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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

@morrison-turnansky morrison-turnansky marked this pull request as ready for review June 26, 2025 19:36
@malfet malfet added the topic: docs topic category label Jun 27, 2025
@malfet
Copy link
Contributor

malfet commented Jun 27, 2025

@pytorchbot megre

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 27, 2025

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: argument command: invalid choice: 'megre' (choose from 'merge', 'revert', 'rebase', 'label', 'drci', 'cherry-pick')

usage: @pytorchbot [-h] {merge,revert,rebase,label,drci,cherry-pick} ...

Try @pytorchbot --help for more info.

Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
@morrison-turnansky
Copy link
Contributor Author

morrison-turnansky commented Jun 27, 2025

@svekars Thank you for the suggestion. Are you able review/approve the new commit?

@msaroufim
Copy link
Member

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jun 27, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@morrison-turnansky morrison-turnansky deleted the issue-156644-clone-tensor branch July 7, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: python_frontend python frontend release notes category topic: docs topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clone(memory_format=torch.preserve_format) is inconsistent for non-contiguous views (fails on slice, works on transpose)

6 participants