Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update training_args.py to remove the runtime error (huggingface#25920)
This cl iterates through a list of keys rather than dict items while updating the dict elements. Fixes the following error: File "..../transformers/training_args.py", line 1544, in post_init for k, v in self.fsdp_config.items(): RuntimeError: dictionary keys changed during iteration
- Loading branch information