huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
135.1k stars 27.03k forks source link

about gradient accumulation #34648

Open TuuSiwei opened 1 week ago

TuuSiwei commented 1 week ago

System Info

none

Who can help?

No response

Information

Tasks

Reproduction

Hello, I would like to ask whether the latest stable version has fixed the problems related to gradient accumulation? Whether to still only install from source code to avoid this problem

Expected behavior

none

LysandreJik commented 2 days ago

cc @muellerzr