[Relax][PyTorch] Add Meshgrid Op Support for Exported Program and FX graph#17904
Merged
tlopex merged 12 commits intoapache:mainfrom May 6, 2025
Merged
[Relax][PyTorch] Add Meshgrid Op Support for Exported Program and FX graph#17904tlopex merged 12 commits intoapache:mainfrom
tlopex merged 12 commits intoapache:mainfrom
Conversation
added 12 commits
April 27, 2025 14:36
Contributor
Author
|
@Hzfengsy Could you please review this PR |
ShiboXing
pushed a commit
to ShiboXing/tvm
that referenced
this pull request
Aug 10, 2025
…graph (apache#17904) * add torch.meshgrid op support into torch frontends * remove trailing whitespaces * fix lint issues * fix space issue in test script * fix func definition issue * set relax var shape to fix the unity issue * fix format issue in input declaration * fix lint issue * fix cpp lints * ix cpp lint issue in manipulate file * fix wrong input in struct info test script * add one more mapping for meshgrid in exported program --------- Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki.>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for the meshgrid operation in exported program and fx graph translator torch frontend. By adding this support, the following models are now able to run successfully: