Skip to content

Conversation

@jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Jun 26, 2020

Stack from ghstack:

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D22268558

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
if (self.is_quantized()) {
result = at::empty_quantized(target_size, self);
} else {
result = at::empty(target_size, self.options());
Copy link
Contributor

Choose a reason for hiding this comment

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

does dispatching on tensor type not work for at::empty?

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, quantized parameters are not included in TensorOptions(self.options())

variants: method
device_guard: False

- func: empty_quantized(int[] size, Tensor original) -> Tensor
Copy link
Contributor

Choose a reason for hiding this comment

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

The name seems a little non-intuitive to me. Maybe make it explicit that original has to be a quantized tensor.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sg

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
@dr-ci
Copy link

dr-ci bot commented Jun 27, 2020

💊 CI failures summary and remediations

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


  • 1/1 failures introduced in this PR

1 job timed out:

  • pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test

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

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

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

This pull request has been merged in 61a8de7.

jerryzh168 added a commit that referenced this pull request Jun 29, 2020
Summary: Pull Request resolved: #40644

Test Plan: Imported from OSS

Differential Revision: D22268558

fbshipit-source-id: 3bc9a129bece1b547c519772ecc6b980780fb904
@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/369/head branch June 30, 2020 14:19
jerryzh168 added a commit that referenced this pull request Jul 2, 2020
Summary: Pull Request resolved: #40644

Test Plan: Imported from OSS

Differential Revision: D22268558

fbshipit-source-id: 3bc9a129bece1b547c519772ecc6b980780fb904
jerryzh168 added a commit that referenced this pull request Jul 3, 2020
Summary: Pull Request resolved: #40644

Test Plan: Imported from OSS

Differential Revision: D22268558

fbshipit-source-id: 3bc9a129bece1b547c519772ecc6b980780fb904
malfet pushed a commit that referenced this pull request Jul 7, 2020
* [quant] aten::repeat work for quantized tensor (#40644)

Summary: Pull Request resolved: #40644

Test Plan: Imported from OSS

Differential Revision: D22268558

fbshipit-source-id: 3bc9a129bece1b547c519772ecc6b980780fb904

* [quant][graphmode][fix] remove unsupported ops in the list (#40653)

Summary:
Pull Request resolved: #40653

(Note: this ignores all push blocking failures!)

Test Plan: Imported from OSS

Differential Revision: D22271413

fbshipit-source-id: a01611b5d90849ac673fa5a310f910c858e907a3
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.

6 participants