Skip to content

Conversation

Deivanayaki-S
Copy link
Contributor

@Deivanayaki-S Deivanayaki-S commented Apr 17, 2025

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

Model Type Models
Text Generation - gpt2
- facebook-opt 125M
- distillgpt2
Question Answering - bert-base-cased
- Indobert-QA
Summarisation - text_summarisation
Text Classification - ProsusAI/finbert
- ms-marco-MiniLM-L6-v2
- bert-base-multilingual-uncased-sentiment
- bge-reranker-v2-m3
- twitter-roberta-base-sentiment-latest
Token Classification - wikineural-multilingual-ner
- french-camembert-postag-model
Text2Text Generation - grammar_error_correcter_v1
- google/byt5-base
- google/flan-t5-small
Zero-shot Classification - distilcamembert-base-nli
- scandi-nli-large
- nli-MiniLM2-L6-H768
- rubert-base-cased-nli-threeway
Text-to-Audio - facebook/musicgen-small
Text-to-Speech - microsoft/speecht5_tts
Audio Classification - anton-l/wav2vec2-random-tiny-classifier
Video Classification - microsoft/xclip-base-patch32
Object Detection - microsoft/table-transformer-detection
- facebook/detr-resnet-50
Image to Text - Salesforce/blip-image-captioning-base
Zero-shot Image Classification - openai/clip-vit-base-patch32
- patrickjohncyh/fashion-clip

@Deivanayaki-S Deivanayaki-S marked this pull request as ready for review April 17, 2025 11:07
@Hzfengsy Hzfengsy merged commit aafb0db into apache:main Apr 18, 2025
11 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
apache#17849)

* add rsub op support into exported and fx graph frontend

* fix trailing whitespace issue

* fix lint issues in test scripts

---------

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