Skip to content

Conversation

@Deivanayaki-S
Copy link
Contributor

@Deivanayaki-S Deivanayaki-S commented May 6, 2025

This PR adds support for avg_pool1d and avg_pool3d operations, extending the existing avg_pool2d functionality to handle 1D and 3D pooling. It includes the necessary mappings, and comprehensive tests for these new operations. Additionally, avgpool2d was refactored to match the result of pytorch implementation. By adding this support, the following models are now able to run successfully.

  1. X3D
  2. 3D ResNet

@Deivanayaki-S
Copy link
Contributor Author

@tvm-bot rerun

@Deivanayaki-S
Copy link
Contributor Author

@tlopex Could you pls review this pr?

@Deivanayaki-S Deivanayaki-S marked this pull request as ready for review May 7, 2025 08:34
@Deivanayaki-S Deivanayaki-S force-pushed the avg_pool_1d_3d_op_support branch from 7d9258b to f771166 Compare May 9, 2025 04:11
@Deivanayaki-S Deivanayaki-S force-pushed the avg_pool_1d_3d_op_support branch from 50c02b0 to e90def7 Compare May 9, 2025 08:49
@Deivanayaki-S Deivanayaki-S force-pushed the avg_pool_1d_3d_op_support branch from e90def7 to 32f9398 Compare May 9, 2025 08:55
@Hzfengsy Hzfengsy merged commit b818183 into apache:main May 10, 2025
10 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
…m and FX graph (apache#17921)

* add avg pool 1d and 3d op mappings and added test script

* fix lint format and test script issues

* update test script to avoid unity issues

* fix formatting and conflict issues

---------

Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki>
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