Skip to content

Conversation

@z-a-f
Copy link

@z-a-f z-a-f commented Jun 19, 2020

Stack from ghstack:

Closes #40244

Differential Revision: D22134318

@z-a-f z-a-f requested a review from apaszke as a code owner June 19, 2020 05:52
@z-a-f z-a-f requested review from jerryzh168 and vkuzo June 19, 2020 05:55
z-a-f pushed a commit that referenced this pull request Jun 19, 2020
Closes #40244

ghstack-source-id: c51fa1f
Pull Request resolved: #40271
@dr-ci
Copy link

dr-ci bot commented Jun 19, 2020

💊 CI failures summary and remediations

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


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

ci.pytorch.org: 1 failed


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

output_size_d=st.integers(1, 10),
output_size_h=st.integers(1, 10),
output_size_w=st.integers(1, 10))
def test_adaptive_avg_pool3d(self, X, output_size_d, output_size_h,
Copy link
Contributor

Choose a reason for hiding this comment

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

there are many code duplications in these test, would be great if we can dedup some, I think dedup this one with ndhwc would be striaghtforward? also dedup with the 2d test as well if possible(maybe part of the code).

Copy link
Author

Choose a reason for hiding this comment

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

I partially refactored to remove some dups, but the ndhwc is much harder -- will refactor later

dispatch:
CPU: adaptive_avg_pool3d_cpu
CUDA: adaptive_avg_pool3d_cuda
QuantizedCPU: quantized_adaptive_avg_pool3d
Copy link
Contributor

@jerryzh168 jerryzh168 Jun 19, 2020

Choose a reason for hiding this comment

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

I feel we should rename this, it should be adaptive_avg_pool3d_quantized_cpu same for others, we need to refactor other names as well before we can expand to other backends

Copy link
Author

Choose a reason for hiding this comment

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

I think I can do it in a separate PR -- it involves changing other ones. WIll creaete a task for myself

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah we don't need to it in this PR, sounds good, thanks

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@jerryzh168 jerryzh168 left a comment

Choose a reason for hiding this comment

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

Please fix CI errors before land

z-a-f pushed a commit that referenced this pull request Jun 23, 2020
Closes #40244

ghstack-source-id: 9473f27
Pull Request resolved: #40271
z-a-f pushed a commit that referenced this pull request Jun 23, 2020
Closes #40244

ghstack-source-id: c6549bf
Pull Request resolved: #40271
z-a-f pushed a commit that referenced this pull request Jun 24, 2020
Closes #40244

ghstack-source-id: 6cfbc39
Pull Request resolved: #40271
z-a-f pushed a commit to z-a-f/pytorch that referenced this pull request Jun 24, 2020
Summary:
Pull Request resolved: pytorch#40271

Closes pytorch#40244

Test Plan: Imported from OSS

Reviewed By: vkuzo

Differential Revision: D22134318

Pulled By: z-a-f

fbshipit-source-id: 0489b6c083a3cbc21a1d81d8bfcc499372308088
@facebook-github-bot
Copy link
Contributor

@z-a-f merged this pull request in c314e0d.

@facebook-github-bot facebook-github-bot deleted the gh/z-a-f/38/head branch June 27, 2020 14:17
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