Remove variable_excluded_from_dispatch() check for factory functions.#46371
Remove variable_excluded_from_dispatch() check for factory functions.#46371ailzhang wants to merge 2 commits intogh/ailzhang/30/basefrom
Conversation
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit e565991 (more details on the Dr. CI page):
1 failure not recognized by patterns:
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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 3 times. |
|
Some perf data Before this PRAfter this PRDelta of instruction counts for torch.empty((1,))Seems like an easy perf win if we just disable this check for factory ops. :D |
|
questions from @bhosmer on the old thread: Curiosity question #2 - is anybody still asserting on variable_excluded_from_dispatch() after this change? This is the minimal set I need to remove to make tests pass and I made sure they're called through factory ops. |
💊 CI failures summary and remediationsAs of commit 0cc8779 (more details on the Dr. CI page):
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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 6 times. |
|
The upstream breakages are not fixed |
… functions." Differential Revision: [D24324545](https://our.internmc.facebook.com/intern/diff/D24324545) [ghstack-poisoned]
Codecov Report
@@ Coverage Diff @@
## gh/ailzhang/30/base #46371 +/- ##
======================================================
Coverage ? 68.33%
======================================================
Files ? 410
Lines ? 53805
Branches ? 0
======================================================
Hits ? 36770
Misses ? 17035
Partials ? 0 Continue to review full report at Codecov.
|
1 similar comment
…92168) When tracing a model using dynamo, theses assertions fail. Following #29653 and #46371, we think it might be OK to remove these two assertions as well. Pull Request resolved: #92168 Approved by: https://github.com/ezyang
Stack from ghstack:
Differential Revision: D24324545