edmBernard commented on issue #8427: Bug: ThreadedEnginePerDevice: speed variation with mixed Mxnet API and Amalgamation API URL: https://github.com/apache/incubator-mxnet/issues/8427#issuecomment-341637172 I just realize that ThreadedEnginePerDevice should have the same impact than NaiveEngine since I don't use GPU :( On separated script I got these timing: | MXNET_ENGINE_TYPE | API | time (s) | | -- | -- | -- | | `NaiveEngine` | Module API | 12.8s | | `NaiveEngine` | Amalgamation | 12.3s | | `ThreadedEngine` | Module API | 0.9s | | `ThreadedEngine` | Amalgamation | 1.1s | If launch several time the same API in the same script I got the same time on all iteration. Time change if I mixed Amalgamation and Module API on the same script: | MXNET_ENGINE_TYPE | API | time (s) | | -- | -- | -- | | `NaiveEngine` | Amalgamation / Module API / Amalgamation | 12.6s / 12.9s / 12.6s | | `ThreadedEngine` | Amalgamation / Module API / Amalgamation | 1.4s / 0.9s / 0.9s | | `ThreadedEnginePerDevice` | Amalgamation / Module API / Amalgamation | 12.8s / 0.7s / 0.78s |
---------------------------------------------------------------- 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