We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e319db commit fd7e494Copy full SHA for fd7e494
python/ray/experimental/sgd/sgd_worker.py
@@ -205,9 +205,6 @@ def for_model(self, fn):
205
def compute_gradients(self):
206
start = time.time()
207
feed_dict = self._grad_feed_dict()
208
- # Aggregate feed dicts for each model on this worker.
209
- for model in self.models:
210
- feed_dict.update(model.get_feed_dict())
211
# We only need to fetch the first per_device_grad, since they are
212
# averaged across all devices by allreduce.
213
fetches = self.sess.run(
0 commit comments