Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix trainer logging_nan_inf_filter in torch_xla mode (huggingface#13896)
* Fix logging_nan_inf_filter in torch_xla mode * Update src/transformers/trainer.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Fix format Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
- Loading branch information