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

 ##########
 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:
   Then came the following:
   
![image](https://user-images.githubusercontent.com/2626883/37691818-d447912a-2c71-11e8-8bc7-3a19f63fa1ef.png)
   
![image](https://user-images.githubusercontent.com/2626883/37691824-e7f89dd6-2c71-11e8-993b-d696fada61f8.png)
   Clearly there are conflicting messages, so I think it would be better to 
clarify them.

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