Skip to content

Conversation

@zeshengzong
Copy link
Contributor

Fixes #138013

Replace DEFAULT_PROTOCOL with actual default value 2 in torch.save method document

Before
image

After
image

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 17, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit d6b5336 with merge base 7711f00 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@zeshengzong
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Oct 17, 2024
@zeshengzong zeshengzong marked this pull request as ready for review October 17, 2024 06:09
Copy link
Contributor

@mikaylagawarecki mikaylagawarecki left a comment

Choose a reason for hiding this comment

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

Thanks

@mikaylagawarecki mikaylagawarecki changed the title [Docs] Fix description in docs to show actural value instead of variable name [Docs] Fix description in torch.save docs to show default for pickle_protocol instead of variable name Oct 17, 2024
@mikaylagawarecki mikaylagawarecki added release notes: python_frontend python frontend release notes category topic: docs topic category and removed topic: not user facing topic category labels Oct 17, 2024
@mikaylagawarecki
Copy link
Contributor

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 17, 2024
@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

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.

The doc of save() should say the default value of pickle_protocol parameter is 2

4 participants