Skip to content

Conversation

@Deivanayaki-S
Copy link
Contributor

This PR adds support for the trunc and div.Tensor_mode op in exported program and fx graph translator torch frontend. By adding this support, the following models are now able to run successfully:

  1. anton-l/wav2vec2-random-tiny-classifier
  2. microsoft/table-transformer-detection
  3. facebook/detr-resnet-50
  4. facebook/mask2former-swin-tiny-coco-instance
  5. detr-resnet-50-dc5-fashionpedia-finetuned
  6. jonathandinu/face-parsing

@Deivanayaki-S Deivanayaki-S marked this pull request as ready for review May 7, 2025 06:35
@Deivanayaki-S
Copy link
Contributor Author

@Hzfengsy @tlopex Could you please review this PR

@tlopex tlopex self-assigned this May 7, 2025
Copy link
Member

@tlopex tlopex left a comment

Choose a reason for hiding this comment

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

LGTM!

@tlopex tlopex merged commit bcb68b1 into apache:main May 7, 2025
12 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
…d Program and FX graph (apache#17924)

* add div.Tensor_mode and trunc op support

* rename the func name into _div

---------

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