You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "MasterJH5574 (via GitHub)" <gi...@apache.org> on 2024/03/22 23:41:57 UTC
[PR] [Fix] Fix the purity flag of "vm.call_tir_dyn" and "kill" ops [tvm]
MasterJH5574 opened a new pull request, #16773:
URL: https://github.com/apache/tvm/pull/16773
This PR fixes the purity flag of `relax.vm.call_tir_dyn` and another few "kill" ops. Their purity flags were set to True, which made them possible to be removed by `remove_all_unused`.
* `relax.vm.call_tir_dyn` works by mutating the input args in place, which is not pure.
* though the "kill" ops have no actions so far, their semantics suggest that they are impure.
A regression test is added to prevent the unexpected removal from happening again.
--
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
Re: [PR] [Fix] Fix the purity flag of "vm.call_tir_dyn" and "kill" ops [tvm]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen merged PR #16773:
URL: https://github.com/apache/tvm/pull/16773
--
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