marcoabreu commented on a change in pull request #10108: [MXNET-99] Upgrade to cuda 9.1 cudnn 7 URL: https://github.com/apache/incubator-mxnet/pull/10108#discussion_r175964469
########## File path: python/mxnet/model.py ########## @@ -848,7 +848,7 @@ def fit(self, X, y=None, eval_data=None, eval_metric='acc', # init optmizer if isinstance(self.optimizer, str): batch_size = data.batch_size - if kvstore and 'dist' in kvstore.type and not '_async' in kvstore.type: + if kvstore and 'dist' in kvstore.type and '_async' not in kvstore.type: batch_size *= kvstore.num_workers Review comment: Approved? ---------------------------------------------------------------- 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