ThomasDelteil commented on issue #10508: MXNet much slower than TensorFlow
URL: 
https://github.com/apache/incubator-mxnet/issues/10508#issuecomment-380675020
 
 
   You have an error in your tensorflow code @altosaar 
   You are setting  `t0 = time.time()` right before computing: `(time.time() - 
t0)`
   Hence the number through the roof for tensorflow (0.5M iter/sec on CPU 
should have startled you 😄 )
   
   After fixing that, using your benchmark and rewriting the metrics, MXNet is 
twice faster 🎉 :
   
   MXNet:
   ```
   Iter 11000   ELBO: -132.9     Examples/s: 24981.99
   Iter 12000   ELBO: -124.8     Examples/s: 26717.71
   ```
   
   Tensorflow:
   ```
   Iteration: 10000 ELBO: -96.456 Examples/s: 10878.597
   Iteration: 11000 ELBO: -103.466 Examples/s: 10898.741
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to