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] Tuning Script Upgrade #11797

Merged
merged 21 commits into from
Jun 30, 2022

Conversation

zxybazh
Copy link
Member

@zxybazh zxybazh commented Jun 21, 2022

This PR introduces changes to upgrade the onnx / relay tuning script:

  • support int8 / uint8 as testing input for onnx and relay
  • integration test for int8 / uint8
  • refactor functions to clearly display per layer and e2e performance.
  • support using VirtualMachine in addtion to GraphModule as a script option.
  • integration test to check VM support

@zxybazh zxybazh force-pushed the feature/2022-06-20/fix-uint8-vm-support branch from f9e6e6e to 0869ed3 Compare June 23, 2022 00:44
@zxybazh zxybazh marked this pull request as ready for review June 23, 2022 05:52
@zxybazh zxybazh force-pushed the feature/2022-06-20/fix-uint8-vm-support branch from 336e28f to 16a9add Compare June 23, 2022 05:54
@junrushao
Copy link
Member

let's rebase against the lastest HEAD

@zxybazh zxybazh force-pushed the feature/2022-06-20/fix-uint8-vm-support branch from a9ea1b6 to fb2e184 Compare June 29, 2022 07:36
@zxybazh
Copy link
Member Author

zxybazh commented Jun 29, 2022

Rebase and ready for review!

Copy link
Member

@junrushao junrushao 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

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

LGTM

@zxybazh zxybazh merged commit 558ba99 into apache:main Jun 30, 2022
blackkker pushed a commit to blackkker/tvm that referenced this pull request Jul 7, 2022
* Support uint8.

* Modify tuning functions.

* Follow legacy setting, use int32 for uint8.

* Add vm support.

* Fix vm usage.

* Use vm in rpc run module.

* Fix lint & stuff.

* Fix backend.

* Fix ftimer.

* Fix lint.

* Limit backend choice.

* Add try catch.

* Display name in rpc try catch.

* Support ahb from tune_relay.

* Modify scripts.

* Fix typo.

* Minor fix.

* Fix try catch & func name.

* Fix utils.

* Move utils to tune_utils.

* Fix tune_utils.
masahi pushed a commit to masahi/tvm that referenced this pull request Jul 15, 2022
* Support uint8.

* Modify tuning functions.

* Follow legacy setting, use int32 for uint8.

* Add vm support.

* Fix vm usage.

* Use vm in rpc run module.

* Fix lint & stuff.

* Fix backend.

* Fix ftimer.

* Fix lint.

* Limit backend choice.

* Add try catch.

* Display name in rpc try catch.

* Support ahb from tune_relay.

* Modify scripts.

* Fix typo.

* Minor fix.

* Fix try catch & func name.

* Fix utils.

* Move utils to tune_utils.

* Fix tune_utils.
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
* Support uint8.

* Modify tuning functions.

* Follow legacy setting, use int32 for uint8.

* Add vm support.

* Fix vm usage.

* Use vm in rpc run module.

* Fix lint & stuff.

* Fix backend.

* Fix ftimer.

* Fix lint.

* Limit backend choice.

* Add try catch.

* Display name in rpc try catch.

* Support ahb from tune_relay.

* Modify scripts.

* Fix typo.

* Minor fix.

* Fix try catch & func name.

* Fix utils.

* Move utils to tune_utils.

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