You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/27 15:02:56 UTC

[GitHub] [tvm] Lunderberg opened a new pull request, #11913: [TIR] Improved error message if tir.Schedule passed to lower/build

Lunderberg opened a new pull request, #11913:
URL: https://github.com/apache/tvm/pull/11913

   Previously, if a TIR Schedule is passed to `tvm.lower`, the error message is returned `ValueError: ('Expected input to be an IRModule, PrimFunc or Schedule, but got, ', <class 'tvm.tir.schedule.schedule.Schedule'>)`.  This can cause user confusion, as the expected class name in the error message does not differentiate between between a `tvm.te.Schedule` and a `tvm.tir.Schedule`.  Updated error message to explicitly state that this should be a `te.Schedule`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] driazati commented on pull request #11913: [TIR] Improved error message if tir.Schedule passed to lower/build

Posted by GitBox <gi...@apache.org>.
driazati commented on PR #11913:
URL: https://github.com/apache/tvm/pull/11913#issuecomment-1167528509

   @tvm-bot rerun


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] junrushao1994 commented on pull request #11913: [TIR] Improved error message if tir.Schedule passed to lower/build

Posted by GitBox <gi...@apache.org>.
junrushao1994 commented on PR #11913:
URL: https://github.com/apache/tvm/pull/11913#issuecomment-1167736307

   Thanks @Lunderberg!!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] junrushao1994 merged pull request #11913: [TIR] Improved error message if tir.Schedule passed to lower/build

Posted by GitBox <gi...@apache.org>.
junrushao1994 merged PR #11913:
URL: https://github.com/apache/tvm/pull/11913


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org