Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fix: Accelerator scaler set after initi (#363)
The "optimizer.py" script in accelerator has more variables that must be set if "scaler" is not set to None. I just copied the setup script directly from their code-base (link here: https://github.com/huggingface/accelerate/blob/956114ac92cfbdfe0874ca73aa37ac815326f040/src/accelerate/optimizer.py#L63)
- Loading branch information