tqchen commented on code in PR #14368: URL: https://github.com/apache/tvm/pull/14368#discussion_r1145032939
########## include/tvm/relax/expr.h: ########## @@ -983,6 +983,8 @@ constexpr const char* kCodegen = "Codegen"; constexpr const char* kComposite = "Composite"; /*! \brief Indicate the function was created by the Pattern Partitioning Pass. */ constexpr const char* kPartitionedFromPattern = "PartitionedFromPattern"; +/*! \brief Indicate the function cannot be lifted to transform_params*/ +constexpr const char* kStopLifting = "StopLifting"; Review Comment: can we instead add a special relax op, `relax.builtin.stop_lifting`, which is an identity op, and can be used to mark the boundary -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
