Skip to content

Conversation

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 22, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13593

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@SS-JIA
Copy link
Contributor Author

SS-JIA commented Aug 22, 2025

@SS-JIA has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80800081

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80800081

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80800081

SS-JIA added a commit that referenced this pull request Aug 23, 2025
#13598)

Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #13597
* #13596
* #13595
* #13594
* #13593
* #13600
* #13599
* __->__ #13598

Title says it all. For reduce ops, their signature are not all alike so
some extra legwork needs to be done to identify specific arguments that
need to be checked.

Also included a small update to partitioner logging to improve
debuggability.

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

---------

Co-authored-by: ssjia <[email protected]>
SS-JIA added a commit that referenced this pull request Aug 23, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #13597
* #13596
* #13595
* #13594
* #13593
* #13600
* __->__ #13599
* #13598

Title says it all!

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

---------

Co-authored-by: ssjia <[email protected]>
SS-JIA added a commit that referenced this pull request Aug 23, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #13597
* #13596
* #13595
* #13594
* #13593
* __->__ #13600
* #13599
* #13598

As title. Use XNNPACK's FuseBatchNorm pass since it can fuse into linear
layers as well.

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

Co-authored-by: ssjia <[email protected]>
Pull Request resolved: #13593

Title says it all. All scripts to help with building + running operator tests. Also fixes an error with building these tests.

CI will be added at a later date. Currently the tests cannot be built on Linux due to an unrelated error

```
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp: In member function ‘virtual void OperatorRegistryTest_RegisterKernels_Test::TestBody()’:
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp:307:20: error: could not convert ‘(executorch::runtime::EValue**)(& kernels)’ from ‘executorch::runtime::EValue**’ to ‘executorch::runtime::Span<executorch::runtime::EValue*>’
  307 |   (*func)(context, kernels);
      |                    ^~~~~~~
      |                    |
      |                    executorch::runtime::EValue**
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp: In member function ‘virtual void OperatorRegistryTest_RegisterTwoKernels_Test::TestBody()’:
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp:373:22: error: could not convert ‘(executorch::runtime::EValue**)(& evalues)’ from ‘executorch::runtime::EValue**’ to ‘executorch::runtime::Span<executorch::runtime::EValue*>’
  373 |   (*func_1)(context, evalues);
      |                      ^~~~~~~
      |                      |
      |                      executorch::runtime::EValue**
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp:384:22: error: could not convert ‘(executorch::runtime::EValue**)(& evalues)’ from ‘executorch::runtime::EValue**’ to ‘executorch::runtime::Span<executorch::runtime::EValue*>’
  384 |   (*func_2)(context, evalues);
      |                      ^~~~~~~
      |                      |
      |                      executorch::runtime::EValue**
[ 66%] Building CXX object kernels/portable/CMakeFiles/portable_kernels.dir/cpu/op_cat.cpp.o
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp: In member function ‘virtual void OperatorRegistryTest_ExecutorUsesKernel_Test::TestBody()’:
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp:485:20: error: could not convert ‘(executorch::runtime::EValue**)(& kernels)’ from ‘executorch::runtime::EValue**’ to ‘executorch::runtime::Span<executorch::runtime::EValue*>’
  485 |   (*func)(context, kernels);
      |                    ^~~~~~~
      |                    |
      |                    executorch::runtime::EValue**
[ 67%] Building CXX object kernels/portable/CMakeFiles/portable_kernels.dir/cpu/op_cdist_forward.cpp.o
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp: In member function ‘virtual void OperatorRegistryTest_ExecutorUsesFallbackKernel_Test::TestBody()’:
/home/ssjia/Github/executorch/runtime/kernel/test/operator_registry_test.cpp:513:20: error: could not convert ‘(executorch::runtime::EValue**)(& kernels)’ from ‘executorch::runtime::EValue**’ to ‘executorch::runtime::Span<executorch::runtime::EValue*>’
  513 |   (*func)(context, kernels);
      |                    ^~~~~~~
      |                    |
      |                    executorch::runtime::EValue**
```


@imported-using-ghimport

Differential Revision: [D80800081](https://our.internmc.facebook.com/intern/diff/D80800081/)
ghstack-source-id: 305143839
@SS-JIA SS-JIA changed the base branch from gh/SS-JIA/295/base to main August 23, 2025 14:01
@SS-JIA SS-JIA force-pushed the gh/SS-JIA/295/head branch from 639f1fd to d743a6c Compare August 23, 2025 14:03
@SS-JIA SS-JIA merged commit 818d095 into main Aug 23, 2025
100 of 101 checks passed
@SS-JIA SS-JIA deleted the gh/SS-JIA/295/head branch August 23, 2025 14:03
SS-JIA added a commit that referenced this pull request Aug 23, 2025
SS-JIA added a commit that referenced this pull request Aug 23, 2025
SS-JIA added a commit that referenced this pull request Aug 23, 2025
SS-JIA added a commit that referenced this pull request Aug 23, 2025
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
pytorch#13598)

Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* pytorch#13597
* pytorch#13596
* pytorch#13595
* pytorch#13594
* pytorch#13593
* pytorch#13600
* pytorch#13599
* __->__ pytorch#13598

Title says it all. For reduce ops, their signature are not all alike so
some extra legwork needs to be done to identify specific arguments that
need to be checked.

Also included a small update to partitioner logging to improve
debuggability.

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

---------

Co-authored-by: ssjia <[email protected]>
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* pytorch#13597
* pytorch#13596
* pytorch#13595
* pytorch#13594
* pytorch#13593
* __->__ pytorch#13600
* pytorch#13599
* pytorch#13598

As title. Use XNNPACK's FuseBatchNorm pass since it can fuse into linear
layers as well.

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

Co-authored-by: ssjia <[email protected]>
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
#13598)

Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #13597
* #13596
* #13595
* #13594
* #13593
* #13600
* #13599
* __->__ #13598

Title says it all. For reduce ops, their signature are not all alike so
some extra legwork needs to be done to identify specific arguments that
need to be checked.

Also included a small update to partitioner logging to improve
debuggability.

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

---------

Co-authored-by: ssjia <[email protected]>
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #13597
* #13596
* #13595
* #13594
* #13593
* #13600
* __->__ #13599
* #13598

Title says it all!

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

---------

Co-authored-by: ssjia <[email protected]>
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #13597
* #13596
* #13595
* #13594
* #13593
* __->__ #13600
* #13599
* #13598

As title. Use XNNPACK's FuseBatchNorm pass since it can fuse into linear
layers as well.

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

Co-authored-by: ssjia <[email protected]>
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
kimishpatel pushed a commit that referenced this pull request Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants