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


   Yes we should definitely add a warning at least. 
   
   A safer alternative, which I'm more comfortable with, is make use of the 
custom convert map 
https://github.com/apache/tvm/blob/0df4edccdfd10463e6d42f51f29693c0a0aab2bf/python/tvm/relay/frontend/pytorch.py#L3810.
 You can add a converter for `copy_` and pass it to `from_torch`. If that's 
acceptable for your use cases, I think this is the most reasonable compromise.


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


Reply via email to