Skip to content

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Mar 6, 2020

Stack from ghstack:

Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

Differential Revision: D20504454

Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@dr-ci
Copy link

dr-ci bot commented Mar 6, 2020

💊 CircleCI build failures summary and remediations

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


  • 4/4 failures introduced in this PR

4 failures not recognized by patterns:

Job Step Status
CircleCI caffe2_onnx_main_py3_6_clang7_ubuntu16_04_build Build
CircleCI caffe2_onnx_py2_gcc5_ubuntu16_04_build Build
CircleCI binary_linux_libtorch_2_7m_cpu_devtoolset7_shared-with-deps_build Checkout pytorch/builder repo
CircleCI binary_linux_manywheel_2_7mu_cpu_devtoolset7_build Checkout pytorch/builder repo

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.

This comment has been revised 134 times.

Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
return get_qtensorimpl(self)->quantizer()->dequantize(self);
}

std::vector<Tensor> dequantize_tensors_quant(TensorList tensors) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't return a std::vector, return a TensorList instead (TensorList == torch::List). std::vector requires a copy behind the scenes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that is not the type generated by native_functions.yaml, I looked up another function that returns Tensor[] and it says:

795:std::vector<Tensor> meshgrid(TensorList tensors); // {"schema": "aten::meshgrid(Tensor[] tensors) -> Tensor[]", "compound": "true"}

Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

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

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

This pull request has been merged in 3fa7813.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/240/head branch March 24, 2020 14:16
okly366 pushed a commit to okly366/pytorch that referenced this pull request Apr 26, 2020
Summary:
We need this function to do swap dequantize for prim::ListConstruct since
the output of prim::ListConstruct is a list of Tensors

Test Plan:
.
Reviewers:
.
Subscribers:

Tasks:

Tags:

ghstack-source-id: c66bbf5
Pull Request resolved: pytorch/pytorch#34348
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.

7 participants