Skip to content

Conversation

albanD
Copy link
Collaborator

@albanD albanD commented Apr 10, 2023

The comment is quite confusing as given the use of sizeof(), this was never backward compatible as the state is not the same size as it used to be.

Running this through CI right now. If it turns our we serialize some rng_state Tensor, I will update the set function to be BC.

cc @ezyang @gchanan

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 10, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 25963c7:
💚 Looks good so far! There are no failures yet. 💚

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

@albanD albanD added the suppress-api-compatibility-check Suppresses the failures of API backward-compatibility linter (Lint/bc_linter) label Apr 11, 2023
@facebook-github-bot
Copy link
Contributor

@albanD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@albanD albanD added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 11, 2023
@albanD albanD marked this pull request as ready for review April 11, 2023 17:28
@albanD albanD added topic: not user facing topic category module: bc-breaking Related to a BC-breaking change labels Apr 11, 2023
@albanD albanD requested a review from ngimel April 11, 2023 17:30
@albanD
Copy link
Collaborator Author

albanD commented Apr 11, 2023

Unlinked internal and will land now.

@albanD
Copy link
Collaborator Author

albanD commented Apr 11, 2023

@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 merging module: bc-breaking Related to a BC-breaking change suppress-api-compatibility-check Suppresses the failures of API backward-compatibility linter (Lint/bc_linter) topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants