Skip to content

Conversation

@soulitzer
Copy link
Contributor

@soulitzer soulitzer commented Jan 3, 2024

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 3, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 529e1e5 with merge base e5f2ac1 (image):
💚 Looks good so far! There are no failures yet. 💚

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

soulitzer added a commit that referenced this pull request Jan 3, 2024
ghstack-source-id: a782516
Pull Request resolved: #116710
@soulitzer soulitzer requested review from albanD and kit1980 January 3, 2024 19:48
@stas00
Copy link
Contributor

stas00 commented Jan 3, 2024

Thank you for working on providing more clarity around this transition, @soulitzer

This is being discussed at https://pytorch.slack.com/archives/C3PDTEV8E/p1704308146846339

Repasting 2 items from that thread here:

I think the current proposal of this PR is a good start but more is needed:

  1. The discussion of the defaults needs to be updated
  2. The current error message isn't very coherent either:

ValueError: torch.utils.checkpoint: please pass in use_reentrant=True or use_reentrant=False explicitly. The default value of use_reentrant will be updated to be False in the future. [...]

If I try to parse this statement to me it says " The default value will be updated" which implies that there is a default. Which implies it shouldn't be required to pass.

@soulitzer soulitzer changed the title Make clearer that you must pass use_reentrant in docs Make not passing use_reentrant back to warning instead of erroring and clarify docs Jan 5, 2024
…erroring and clarify docs"

[ghstack-poisoned]
Copy link
Contributor

@stas00 stas00 left a comment

Choose a reason for hiding this comment

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

This version looks excellent, Jeffrey!

I made a few small style consistency tweaks and added a question.

…erroring and clarify docs"

[ghstack-poisoned]
soulitzer added a commit that referenced this pull request Jan 5, 2024
ghstack-source-id: 2b719e4
Pull Request resolved: #116710
@soulitzer soulitzer requested a review from stas00 January 5, 2024 02:52
@soulitzer
Copy link
Contributor Author

Updated!

Copy link
Contributor

@stas00 stas00 left a comment

Choose a reason for hiding this comment

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

That's much better with the actual version! it's a call for action

added a few more small nits

…erroring and clarify docs"

[ghstack-poisoned]
Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

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

Sounds good to me as well!
Thanks @stas00 for helping review this!

…erroring and clarify docs"

[ghstack-poisoned]
…erroring and clarify docs"

[ghstack-poisoned]
@soulitzer soulitzer added the release notes: autograd release notes category label Jan 5, 2024
@soulitzer
Copy link
Contributor Author

@pytorchbot merge

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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

…erroring and clarify docs"

[ghstack-poisoned]
soulitzer added a commit that referenced this pull request Jan 5, 2024
ghstack-source-id: 9bc4956
Pull Request resolved: #116710
…erroring and clarify docs"

[ghstack-poisoned]
soulitzer added a commit that referenced this pull request Jan 9, 2024
ghstack-source-id: 38b1790
Pull Request resolved: #116710
@soulitzer
Copy link
Contributor Author

@pytorchbot merge

@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 release notes: autograd release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants