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/03/26 17:18:33 UTC

[GitHub] [incubator-mxnet] leezu edited a comment on issue #17914: Regression in '+' operator on GPU with CachedOp

leezu edited a comment on issue #17914: Regression in '+' operator on GPU with CachedOp
URL: https://github.com/apache/incubator-mxnet/issues/17914#issuecomment-604559218
 
 
   I can reproduce this with mxnet-cu101==1.6 on a G4 instancen. This appears to be a bug with operator fusion. If you export `MXNET_USE_FUSION=0` the program works as expect.
   
   ```
   % MXNET_USE_FUSION=0 python3 test.py                                           24s ~ ip-172-31-32-170
   hybridizing
   [[0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5]
    [0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5]
    [0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5]]
   % MXNET_USE_FUSION=1 python3 test.py                                                                                                                                                  7s ~ ip-172-31-32-170
   hybridizing
   [[0.  1.  2.  3.  4.  5.  6.  7.  8. ]
    [9.  0.  1.  2.  3.  4.  5.  6.  7. ]
    [8.  9.  0.  0.5 1.  1.5 2.  2.5 3. ]]
   ```
   
   CC @ptrendx 

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