Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MetaSchedule] Skip empty fx graph in TorchBench tuning script #13356

Merged
merged 3 commits into from
Nov 11, 2022

Conversation

yelite
Copy link
Contributor

@yelite yelite commented Nov 10, 2022

This PR makes the python/tvm/meta_schedule/testing/torchbench/run.py script skip optimizing empty fx graph.

This unblocks tuning models like moco and detectron for which TorchDynamo will generate empty fx graph.

cc @junrushao @zxybazh

Fix variable names
@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 10, 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

Copy link
Contributor

@shingjan shingjan left a comment

Choose a reason for hiding this comment

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

LGTM!

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, one nit for simplicity.

python/tvm/meta_schedule/testing/torchbench/run.py Outdated Show resolved Hide resolved
yelite and others added 2 commits November 10, 2022 17:21
@zxybazh zxybazh merged commit f3eb239 into apache:main Nov 11, 2022
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.

4 participants