Skip to content

Conversation

@jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Sep 17, 2019

Stack from ghstack:

Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

Differential Revision: D17464905

Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@jerryzh168 jerryzh168 requested a review from apaszke as a code owner September 17, 2019 00:59
@pytorchbot pytorchbot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 17, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Sep 17, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: 75026ca
Pull Request resolved: #26331
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Sep 18, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: 4171713
Pull Request resolved: #26331
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Sep 18, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: ba77f5d
Pull Request resolved: #26331
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Sep 18, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: 5339210
Pull Request resolved: #26331
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Sep 19, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: cc32f50
Pull Request resolved: #26331
// Rewrite subgraphs with many MMs into expressions that batch them.
BatchMM(graph);

if (at::globalContext().qEngine() == at::kFBGEMM ||
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if the qEngine is changed between when the code is compiled and when it is run? This seems suspicious. The GraphExecutor has no mechanism to invalidate compilation state and shouldn't grow such a mechanism.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Where should we put this then?

Choose a reason for hiding this comment

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

I think we should not be allowed to change qEngine on the fly. I think it's reasonable to be able to retrieve info about target we're running at and specializing for, and context seems to be fitting that well. However, the context should not be mutable in this scheme. @zdevito, does that make sense to you?

@jerryzh168 jerryzh168 merged commit b17c72b into gh/jerryzh168/70/base Sep 20, 2019
jerryzh168 added a commit that referenced this pull request Sep 20, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: 2f3573a
Pull Request resolved: #26331
jerryzh168 added a commit that referenced this pull request Sep 21, 2019
Summary:
att

Test Plan:
.

Reviewers:
pt1quant

Subscribers:

Tasks:

Tags:

ghstack-source-id: 6775366
Pull Request resolved: #26331
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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