Skip to content

Conversation

@jinhongyii
Copy link
Contributor

In this PR, I add a "StopLifting" attribute to primfunc to signal the LiftTransformParam Pass to stop lifting a call_tir and any other var bindings that consumes it. This is useful in cases like low-bit quantization, where we add encode and decode function and we only want to lift the encode function.

cc: @vinx13 @tqchen

@tvm-bot
Copy link
Collaborator

tvm-bot commented Mar 22, 2023

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 by @-ing them in a comment.

Generated by tvm-bot

@jinhongyii
Copy link
Contributor Author

@tqchen please review again

@tqchen
Copy link
Member

tqchen commented Mar 24, 2023

cc @vinx13 please also help and take a look

@tqchen tqchen changed the title [Unity] Add "StopLifting" attribute to prevent lifting call_tir into transform_params [Unity][Op] Add stop_lift_params Mar 25, 2023
@tqchen tqchen merged commit eff9a0a into apache:unity Mar 25, 2023
farshidsp pushed a commit to farshidsp/tvm that referenced this pull request Mar 27, 2023
This PR adds a stop_lift_params op to as a hint to the parameter lifter to stop at that boundary point.
tqchen pushed a commit that referenced this pull request Apr 1, 2023
This PR adds a stop_lift_params op to as a hint to the parameter lifter to stop at that boundary point.
tqchen pushed a commit that referenced this pull request Apr 1, 2023
This PR adds a stop_lift_params op to as a hint to the parameter lifter to stop at that boundary point.
tqchen pushed a commit that referenced this pull request Apr 1, 2023
This PR adds a stop_lift_params op to as a hint to the parameter lifter to stop at that boundary point.
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.

5 participants