You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "jinhongyii (via GitHub)" <gi...@apache.org> on 2023/05/04 20:14:16 UTC

[GitHub] [tvm] jinhongyii opened a new pull request, #14769: [Unity][Pass] Lazy transform params

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

   Currently the transform_params function lifted by LiftTransformParams will first load all inputs into memory, and transform. That may exceed memory limit. The better way is to load the input to memory on demand, and immediately free it after the last use. This PR implements such method. It replaces all `params[i]` with `get_item(i)` and inserts `set_item(i)` and `kill_object` after the last use except in return stmt.
   
   cc: @tqchen @MasterJH5574 


-- 
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] tqchen merged pull request #14769: [Unity][Pass] Lazy transform params

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen merged PR #14769:
URL: https://github.com/apache/tvm/pull/14769


-- 
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] tvm-bot commented on pull request #14769: [Unity][Pass] Lazy transform params

Posted by "tvm-bot (via GitHub)" <gi...@apache.org>.
tvm-bot commented on PR #14769:
URL: https://github.com/apache/tvm/pull/14769#issuecomment-1535354298

   <!---bot-comment-->
   
   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](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
   
   <!--bot-comment-ccs-start-->
    * cc @quic-sanirudh <sub>See [#10317](https://github.com/apache/tvm/issues/10317) for details</sub><!--bot-comment-ccs-end-->
   
   <sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>


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