Skip to content

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Aug 19, 2020

Stack from ghstack:

Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D23221733

Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@dr-ci
Copy link

dr-ci bot commented Aug 19, 2020

💊 CI failures summary and remediations

As of commit dabe528 (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 1 fixed upstream failure:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

Since your merge base is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

Check out the recency history of this "viable master" tracking branch.


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 39 times.

Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
Porting op tests from test_quantize_jit.py

Test Plan:
TestQuantizeFxOps

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
raise Exception("unhandled conv type:", type(self.conv))
quantized = qconv.from_float(self.conv)
# TODO: make the mapping configurable?
assert type(self.conv) in DEFAULT_MODULE_MAPPING, \
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a looser check than the previous check which was checking for specific module classes. Is this sufficient?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah it is equivalent, the check on the left side can be represented by the mapping.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9984d33.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/394/head branch August 24, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants