AndrewZhaoLuo commented on a change in pull request #8069:
URL: https://github.com/apache/tvm/pull/8069#discussion_r648649618



##########
File path: python/tvm/relay/transform/transform.py
##########
@@ -1199,3 +1198,20 @@ def FakeQuantizationToInteger():
         The registered SimplifyExpr pass.
     """
     return _ffi_api.FakeQuantizationToInteger()
+
+
+def AMPRewrite():

Review comment:
       Hmm, I would prefer `ToMixedPrecision` still if that is fine with you.
   
   The example you list only works for me because it exists under the `amp` 
namespace. `AutoCast` by itself without being part of `torch.cuda.amp` does not 
show mixed precision.




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

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


Reply via email to