Skip to content

Conversation

@blzheng
Copy link
Collaborator

@blzheng blzheng commented Dec 18, 2024

Stack from ghstack (oldest at bottom):

Fix #142853
fallback_random=True should cause RNG to match between compile/eager (by having compile fall back to eager for RNG ops), but the bernoulli_p decompose function is not fully consistent with the eager CPU implementation.
We remove the decomp and keep the version for fallback_random=False.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 18, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 939637b with merge base e890d67 (image):
💚 Looks good so far! There are no failures yet. 💚

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

[ghstack-poisoned]
blzheng added a commit that referenced this pull request Dec 18, 2024
ghstack-source-id: 49a16ac
Pull Request resolved: #143460
@jansel
Copy link
Contributor

jansel commented Dec 19, 2024

Should we just remove this decomp entirely and keep the version for fallback_random=False?

[ghstack-poisoned]
blzheng added a commit that referenced this pull request Dec 19, 2024
ghstack-source-id: bbd6860
Pull Request resolved: #143460
@blzheng
Copy link
Collaborator Author

blzheng commented Dec 19, 2024

Yes. I have updated the code.

[ghstack-poisoned]
blzheng added a commit that referenced this pull request Dec 19, 2024
ghstack-source-id: fde7ced
Pull Request resolved: #143460
[ghstack-poisoned]
blzheng added a commit that referenced this pull request Dec 19, 2024
ghstack-source-id: 8ceb033
Pull Request resolved: #143460
@blzheng
Copy link
Collaborator Author

blzheng commented Dec 19, 2024

@pytorchbot merge

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

@github-actions github-actions bot deleted the gh/blzheng/2/head branch January 19, 2025 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants