Skip to content

Conversation

@yelite
Copy link
Contributor

@yelite yelite commented Nov 21, 2022

This PR adds an option to disallow unsupported operators in the sub graphs produced by TorchDynamo. This makes TVM being able to at least partially tune models with unsupported PyTorch operators (like aten::copy_).

cc: @junrushao @zxybazh

@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 21, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@yelite yelite force-pushed the torchbench-add-torchdynamo-disallow-func branch from 12bcaba to 281781c Compare November 21, 2022 15:15
@junrushao
Copy link
Member

CC: @zxybazh

Copy link
Member

@zxybazh zxybazh left a comment

Choose a reason for hiding this comment

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

LGTM, would you please fix the linting?

@masahi masahi merged commit 723a13a into apache:main Nov 22, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
…tors in sub graph (apache#13453)

* Add option to disallow operator in TorchDynamo

Add missing type annotation

* Fix lint
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.

5 participants