Skip to content

Conversation

@Deivanayaki-S
Copy link
Contributor

This pull request adds support for the following operations in the exported program frontend for TVM Relax: mul_.Tensor, max.default, min.default, and pow.Scalar. These operations enable efficient inference for various models across multiple domains, including text generation, object detection, and image classification.

Supported Operations and Models:

Operation Supported Models
mul_.Tensor - Text Generation: tinyBloom
- Text Classification: ms-marco-MiniLM-L6-v2
- Image Classification: microsoft/beit-base-patch16-224-pt22k-ft22k
- ASR: openai/whisper-base.en
- Depth Estimation: Intel/dpt-beit-large-512
max.default - Summarisation: T5-Base_GNAD
- Text Classification: twitter-roberta-base-sentiment-latest
- Text2Text Generation: google/flan-t5-small
pow.Scalar - Object Detection: microsoft/table-transformer-detection, facebook/detr-resnet-50
- Image Segmentation: facebook/mask2former-swin-tiny-coco-instance

@Deivanayaki-S Deivanayaki-S marked this pull request as ready for review April 17, 2025 05:01
@Hzfengsy Hzfengsy merged commit 4e36b9b into apache:main Apr 18, 2025
11 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
…alar Op Support into Exported Program Frontend (apache#17843)

* add mapping to the missing binary ops

* add test script for the supported ops

---------

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