Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenable TestPoolingNNDeviceTypeXLA #6453

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Reenable TestPoolingNNDeviceTypeXLA #6453

merged 1 commit into from
Feb 2, 2024

Conversation

qihqi
Copy link
Collaborator

@qihqi qihqi commented Feb 1, 2024

No description provided.

@qihqi qihqi force-pushed the qihqi/core_aten_ops branch from 5fd627f to 75570d2 Compare February 2, 2024 00:56
@qihqi qihqi requested review from yeounoh and JackCaoG February 2, 2024 00:58
@qihqi qihqi changed the title Revert "Disable TestPoolingNNDeviceTypeXLA temporarily. (#6452)" Reenable TestPoolingNNDeviceTypeXLA Feb 2, 2024
@qihqi qihqi force-pushed the qihqi/core_aten_ops branch from 75570d2 to d4594e2 Compare February 2, 2024 17:56
Comment on lines +148 to +152
int64_t new_output_size =
(input_size + left_padding + right_padding + extra_padding -
kernel_size[i] + stride[i] - 1) /
stride[i] +
1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

lol this computation is really puzzling. reminds me other leetcode questions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is what was there before: https://github.com/pytorch/xla/pull/6409/files#diff-b7dcec47bb003c09d0f32235e139ca6f1bb411e30a5194a68d9745cb25032371L143

I thought those are too complex and useless so i removed them... turns out it's useful something

@qihqi qihqi requested a review from JackCaoG February 2, 2024 19:02
@qihqi qihqi merged commit 3e68409 into master Feb 2, 2024
18 checks passed
amithrm pushed a commit to amithrm/xla that referenced this pull request Mar 1, 2024
bhavya01 pushed a commit that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants