masahi commented on pull request #9375:
URL: https://github.com/apache/tvm/pull/9375#issuecomment-952444463


   Yeah, users need to acknowledge that TVM cannot represent all PT models. It 
is better to reject such models early than returning corrupted models.
   
   Since this request comes up too often, how about we do the following:
   * Add a new option like `allow_inplace_copy`, which is False by default. Add 
a converter for `copy_` only if this option is True
   * If `allow_inplace_copy` is False but we hit `copy_` op, emit a helpful 
error message saying "You can try allow_inplace_copy option but conversion is 
not guranteed to be correct".


-- 
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-unsubscr...@tvm.apache.org

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


Reply via email to