-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Improve error message on invalid values to Distribution methods #61056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
💊 CI failures summary and remediationsAs of commit 50d17e2 (more details on the Dr. CI page and at hud.pytorch.org/pr/61056): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 Preview docs built from this PR This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
a042b18
to
2a821fc
Compare
.github/workflows/periodic-pytorch-win-vs2019-cuda11-cudnn8-py3.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for improving the error message! Could you remove the change to the CI workflow? I think we can handle that in a separate PR if needed and get this merged sooner.
a872394
to
5276424
Compare
I believe remaining test errors are unrelated. |
@neerajprad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Thanks for reviewing @neerajprad! |
@neerajprad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@neerajprad merged this pull request in 81e36d0. |
cc @neerajprad looks like this broke lint |
@eellison: As discussed in another thread, this doesn't touch any files that are currently being flagged by mypy. I think the change is due to changes in the linter settings itself introduced in #61119. |
Summary: Partial fix for #66800. (Duplicate of #67725 against pytorch/pytorch so as to trigger TorchBench) #61056 added a more verbose error message for distributions failing argument validation. However, it did not replace the earlier error check as was originally intended and was flagged by xuzhao9 as being the potential cause of a perf regression in `test_eval[soft_actor_critic-cuda-eager]`. xuzhao9: Is there a way for me to check if this resolves the perf issue you mentioned? cc VitalyFedyunin ngimel Note that existing tests already check for the error message and should verify that the removed lines are redundant. RUN_TORCHBENCH: soft_actor_critic Pull Request resolved: #67741 Reviewed By: neerajprad Differential Revision: D32135675 Pulled By: xuzhao9 fbshipit-source-id: 37dfd3ff53b95017c763371979ab3a2c302a72b9
Fixes #18133