Skip to content

feat: support adaptive avg pool 2d and 3d dynamo converters#2632

Merged
narendasan merged 5 commits intopytorch:mainfrom
zewenli98:adaptive_avg_poolNd_dynamo_converter
Apr 12, 2024
Merged

feat: support adaptive avg pool 2d and 3d dynamo converters#2632
narendasan merged 5 commits intopytorch:mainfrom
zewenli98:adaptive_avg_poolNd_dynamo_converter

Conversation

@zewenli98
Copy link
Copy Markdown
Collaborator

Description

Support adaptive_avg_pool2d and adaptive_avg_pool3d.

Fixes #2611 #2612

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified

@zewenli98 zewenli98 self-assigned this Feb 1, 2024
@github-actions github-actions bot added component: tests Issues re: Tests component: conversion Issues re: Conversion stage component: converters Issues re: Specific op converters component: api [Python] Issues re: Python API component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths labels Feb 1, 2024
@github-actions github-actions bot requested a review from apbose February 1, 2024 01:59
@zewenli98 zewenli98 removed component: tests Issues re: Tests component: conversion Issues re: Conversion stage component: api [Python] Issues re: Python API component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths labels Feb 1, 2024
@narendasan narendasan linked an issue Feb 6, 2024 that may be closed by this pull request
@zewenli98 zewenli98 force-pushed the adaptive_avg_poolNd_dynamo_converter branch from 98524e0 to 8c41f14 Compare February 9, 2024 00:56
@github-actions github-actions bot added component: tests Issues re: Tests component: conversion Issues re: Conversion stage component: api [Python] Issues re: Python API component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths labels Feb 9, 2024
@zewenli98 zewenli98 requested a review from narendasan February 17, 2024 00:22
@zewenli98 zewenli98 force-pushed the adaptive_avg_poolNd_dynamo_converter branch from 65bbf45 to 2100974 Compare February 23, 2024 01:55
Copy link
Copy Markdown
Collaborator

@narendasan narendasan left a comment

Choose a reason for hiding this comment

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

LGTM pending CI

@zewenli98 zewenli98 force-pushed the adaptive_avg_poolNd_dynamo_converter branch from 2100974 to e2e0aa5 Compare March 21, 2024 23:58
@zewenli98 zewenli98 requested a review from narendasan April 8, 2024 20:40
Copy link
Copy Markdown
Contributor

@gs-olive gs-olive left a comment

Choose a reason for hiding this comment

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

Overall looks good - added a few small suggestions

@zewenli98 zewenli98 requested a review from gs-olive April 10, 2024 17:10
Copy link
Copy Markdown
Contributor

@gs-olive gs-olive left a comment

Choose a reason for hiding this comment

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

Added two small comments - looks good to me pending CI for the test cases and those fixes.

Copy link
Copy Markdown
Collaborator

@narendasan narendasan left a comment

Choose a reason for hiding this comment

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

LGTM

@narendasan narendasan merged commit e232ffa into pytorch:main Apr 12, 2024
@zewenli98 zewenli98 deleted the adaptive_avg_poolNd_dynamo_converter branch January 12, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed component: api [Python] Issues re: Python API component: conversion Issues re: Conversion stage component: converters Issues re: Specific op converters component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths component: tests Issues re: Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aten.adaptive_avg_pool3d aten.adaptive_avg_pool2d

4 participants