You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/02/11 19:16:14 UTC

[GitHub] [incubator-mxnet] ChaiBapchya opened a new issue #17568: mp_lamb_update float32 input type inconsistent issue

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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17568: mp_lamb_update float32 input type inconsistent issue

Posted by GitBox <gi...@apache.org>.
ChaiBapchya commented on issue #17568: mp_lamb_update float32 input type inconsistent issue
URL: https://github.com/apache/incubator-mxnet/issues/17568#issuecomment-584803983
 
 
   @access2rohit 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services