Skip to content

[quant][graphmode] Support prim::TupleUnpack and prim::TupleConstruct#39895

Closed
jerryzh168 wants to merge 9 commits intogh/jerryzh168/344/basefrom
gh/jerryzh168/344/head
Closed

[quant][graphmode] Support prim::TupleUnpack and prim::TupleConstruct#39895
jerryzh168 wants to merge 9 commits intogh/jerryzh168/344/basefrom
gh/jerryzh168/344/head

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Jun 11, 2020

Stack from ghstack:

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D22009854

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Jun 11, 2020

💊 CI failures summary and remediations

As of commit b317440 (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).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.

See how this bot performed.

This comment has been revised 25 times.

…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
}
return inputs;
} else if (n->kind() == prim::ListUnpack) {
} else if (n->kind() == prim::ListUnpack || n->kind() == prim::TupleUnpack) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why you return input(0) here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

input(0) is the input of the list unpack/ tuple unpack. which is a list/tuple. this function is to propagate observed property from input to output, in this case we can propagate the observed property from the list/tuple to their output, which are the unpacked values.

…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
Copy link
Copy Markdown
Contributor

@vkuzo vkuzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

…leConstruct"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D22009854](https://our.internmc.facebook.com/intern/diff/D22009854)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in f37b8e7.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/344/head branch June 19, 2020 14:16
xwang233 pushed a commit to xwang233/pytorch that referenced this pull request Jun 20, 2020
…ytorch#39895)

Summary: Pull Request resolved: pytorch#39895

Test Plan: Imported from OSS

Differential Revision: D22009854

fbshipit-source-id: a5dab2b4f943e5e047ba9e8573088adf66f5da6b
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…ytorch#39895)

Summary: Pull Request resolved: pytorch#39895

Test Plan: Imported from OSS

Differential Revision: D22009854

fbshipit-source-id: a5dab2b4f943e5e047ba9e8573088adf66f5da6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants