MCPcopy Index your code
hub / github.com/MoonInTheRiver/DiffSinger / parallel_apply

Method parallel_apply

utils/pl_utils.py:253–254  ·  view source on GitHub ↗
(self, replicas, inputs, kwargs)

Source from the content-addressed store, hash-verified

251 return self.gather(outputs, self.output_device)
252
253 def parallel_apply(self, replicas, inputs, kwargs):
254 return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
255
256
257class GradientAccumulationScheduler:

Callers 1

forwardMethod · 0.95

Calls 1

parallel_applyFunction · 0.85

Tested by

no test coverage detected