accelerate icon indicating copy to clipboard operation
accelerate copied to clipboard

Reduction on all distributed system only return the sum, irrespective of the provided parameter. Only works as intended on multi-cpu.

Open AbdurRafae opened this issue 3 years ago • 2 comments

https://github.com/huggingface/accelerate/blob/a54cd0abd8f1f1f5e0f64ac030427c30760309d8/src/accelerate/utils/operations.py#L442-L462

AbdurRafae avatar Oct 06 '22 18:10 AbdurRafae

Thanks a lot for flagging! Do you want to open a PR to fix this?

sgugger avatar Oct 07 '22 12:10 sgugger

Yeah, sure. I can try that.

AbdurRafae avatar Oct 07 '22 18:10 AbdurRafae

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Nov 06 '22 15:11 github-actions[bot]