Skip to content

Conversation

@zxybazh
Copy link
Member

@zxybazh zxybazh commented Mar 8, 2022

This PR introduces 2 bug fixes:

  1. The PrimFuncs are not lowered before sent to codegen after applying tuned ones from meta schedule.
  2. The order of input output tensors for given PrimFunc was same as before lowering.

Thanks @sunggg @junrushao1994 for helping me debug and figure out the cause.

@masahi
Copy link
Member

masahi commented Mar 9, 2022

@zxybazh Can you remove the debug log at

LOG(INFO) << "\n" << tir::AsTVMScript(func);

and

LOG(INFO) << "Applied history best for: " << task_name;

?

@zxybazh
Copy link
Member Author

zxybazh commented Mar 10, 2022

Debug info removed and regression tests added.

@masahi masahi merged commit 201a584 into apache:main Mar 10, 2022
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
* Bug fix.

* Fix tune relay script.

* Remove debug info.

* Retest CI.

* Add regression test.

* Remove comments.
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