# Saving only the best performing checkpoint

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsaving-only-the-best-performing-checkpoint%2F552%3E%5C
**Category:** 🤗Transformers\
**Created:** [August 1, 2020, 12:53am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsaving-only-the-best-performing-checkpoint%2F552 "2020-08-01T00:53:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![whydinkov](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/whydinkov/32/2575_2.png) [@whydinkov](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwhydinkov)%5C
**Post date:** [August 26, 2021, 6:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsaving-only-the-best-performing-checkpoint%2F552%2F6 "2021-08-26T18:53:29Z")

</div>

@sgugger So if I understand this correctly, in this post [Checkpoints and disk storage - #9 by sgugger](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcheckpoints-and-disk-storage%2F1412%2F9) you actually “confirm” that the proposed configuration from @karthikcs will actually achieve the asked functionality (from the original question), namely having

```auto
save_total_limit=1

```

will actually save and load ONLY the best performing checkpoint (save because the best is always on top and “never gets deleted”, load because there is only one endpoint left). Is this correct?

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsaving-only-the-best-performing-checkpoint%2F552)._
