Skip to content

Conversation

@guan404ming
Copy link
Member

@guan404ming guan404ming commented Nov 19, 2025

Why

We have finished the migration for our tests then we could set default to run ep decompose.

How

Update tests and exported_program_translator.py

@guan404ming guan404ming marked this pull request as ready for review November 19, 2025 09:19
@guan404ming
Copy link
Member Author

cc @tlopex

@mshr-h mshr-h self-requested a review November 20, 2025 04:21
run_ep_decomposition : bool
A boolean flag indicating whether to run PyTorch's decomposition on the
exported program before translation. When True, high-level operators will
be decomposed into their constituent parts. Defaults to False for backward
Copy link
Contributor

@mshr-h mshr-h Nov 20, 2025

Choose a reason for hiding this comment

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

Please update docstring as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I've updated.

@mshr-h mshr-h merged commit a8c7580 into apache:main Nov 20, 2025
14 checks passed
@guan404ming guan404ming deleted the enable-decomposition-by-default branch November 20, 2025 10:25
@guan404ming
Copy link
Member Author

Thanks!

@tlopex
Copy link
Member

tlopex commented Nov 21, 2025

Thank you! @mshr-h @guan404ming

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.

3 participants