ChaiBapchya opened a new issue #17568: mp_lamb_update float32 input type 
inconsistent issue
URL: https://github.com/apache/incubator-mxnet/issues/17568
 
 
   ## Description
   Upon passing all the inputs as float32, it incorrectly infers as float16.
   
   ```
   > 
nd.mp_lamb_update_phase1(weight=weight,grad=nd.random_normal(shape=(5,5)),mean=nd.random_normal(shape=(5,5)),var=nd.random_normal(shape=(5,5)),weight32=weight,t=1,wd=0.1)
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "<string>", line 120, in mp_lamb_update_phase1
     File "/home/ubuntu/incubator-mxnet/python/mxnet/_ctypes/ndarray.py", line 
107, in _imperative_invoke
       ctypes.byref(out_stypes)))
     File "/home/ubuntu/incubator-mxnet/python/mxnet/base.py", line 273, in 
check_call
       raise get_last_ffi_error()
   mxnet.base.MXNetError: MXNetError: Type inconsistent, Provided = float32, 
inferred type = float16
   ```
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to