transformers
Fix race condition on cleaning checkpoints when save_total_limit set to 1
#20989
Merged

Fix race condition on cleaning checkpoints when save_total_limit set to 1 #20989

sgugger merged 2 commits into huggingface:main from radcheb:patch-1
radcheb
radcheb Update trainer.py
73773c70
sgugger
sgugger approved these changes on 2023-01-03
HuggingFaceDocBuilderDev
fix style
342f51c0
radcheb
sgugger sgugger merged cd918492 into main 3 years ago
radcheb radcheb deleted the patch-1 branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone