Skip to content

Conversation

@Deivanayaki-S
Copy link
Contributor

This PR refactors the logic for detecting unsupported ops by moving _check_unsupported_func_type into a shared utility in base_fx_graph_translator.py file. Previously, this logic was implemented separately in both from_fx and from_exported_program. By centralizing this function, we reduce duplication and ensure consistent missing op reporting across Torch frontends.

@Deivanayaki-S Deivanayaki-S marked this pull request as ready for review April 15, 2025 11:05
@mshr-h
Copy link
Contributor

mshr-h commented Apr 16, 2025

LGTM! Thanks for the tidy up!

@mshr-h mshr-h merged commit fcb8853 into apache:main Apr 16, 2025
10 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
…ends (apache#17840)

* combine missing op logic of export and fx graph into common utilities

* move func call above builder and fix lint issue

* add type hint for nodes in helper function

---------

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.

3 participants