-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[fx][acc_tracer] fix defaulted placeholder normalization #73406
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 Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit e881c1e (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
This pull request was exported from Phabricator. Differential Revision: D34463493 |
|
This pull request was exported from Phabricator. Differential Revision: D34463493 |
4454410 to
113e94e
Compare
Summary: Pull Request resolved: pytorch#73406 Placeholder defaults are stored in `node.args`, during normalization we had dropped these. This diff passes the default args through the normalization transformation. Test Plan: Added tests to cover cases with optional inputs, test covers * nothing passed to optional input * `None` passed to optional input * a tensor passed to optional input Reviewed By: jfix71 Differential Revision: D34463493 fbshipit-source-id: 02bfa84229c0dd940d05a51d4c26e4c0c1f078c9
|
This pull request was exported from Phabricator. Differential Revision: D34463493 |
113e94e to
e881c1e
Compare
Summary: Pull Request resolved: #73406 Placeholder defaults are stored in `node.args`, during normalization we had dropped these. This diff passes the default args through the normalization transformation. Test Plan: Added tests to cover cases with optional inputs, test covers * nothing passed to optional input * `None` passed to optional input * a tensor passed to optional input Reviewed By: jfix71 Differential Revision: D34463493 fbshipit-source-id: f0c3a4083cb3dd4a69111a758561f0d2c0609787
|
Hey @alexbeloi. |
Summary: Placeholder defaults are stored in
node.args, during normalization we had dropped these. This diff passes the default args through the normalization transformation.Test Plan:
Added tests to cover cases with optional inputs, test covers
Nonepassed to optional inputDifferential Revision: D34463493