Allow GradientAccumulationPlugin to be configured from AcceleratorConfig (#29589)
* add gradient_accumulation_kwargs to AcceleratorConfig
* add suggestions from @muellerzr to docstrings, new behavior and tests
* Documentation suggestions from @muellerz
Co-authored-by: Zach Mueller <muellerzr@gmail.com>
* addressed @muellerzr comments regarding tests and test utils
* moved accelerate version to top of file.
* @muellerzr's variable fix
Co-authored-by: Zach Mueller <muellerzr@gmail.com>
* address @amyeroberts. fix tests and docstrings
* address @amyeroberts additional suggestions
---------
Co-authored-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
Co-authored-by: Zach Mueller <muellerzr@gmail.com>