# What does 'pth.tar' extension mean?

**URL:** <https://discuss.pytorch.org/t/what-does-pth-tar-extension-mean/36697>\
**Category:** Uncategorized\
**Created:** [February 8, 2019, 2:33pm UTC](https://discuss.pytorch.org/t/what-does-pth-tar-extension-mean/36697 "2019-02-08T14:33:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tom](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/tom/32/3162_2.png) [@tom](https://discuss.pytorch.org/u/tom)\
**Post date:** [February 8, 2019, 2:56pm UTC](https://discuss.pytorch.org/t/what-does-pth-tar-extension-mean/36697/3 "2019-02-08T14:56:04Z")

</div>

To add some advice you didn’t ask for: I’d recommend to just use `.pt` as the extension.  
As you rightly note it’s been long ago that this used to be a tar file, and pth isn’t particularly compatible with Python’s “.pth” path files (there is an open issue to standardize on `.pt` in the PyTorch examples).

Best regards

Thomas

---

_[View the full topic](https://discuss.pytorch.org/t/what-does-pth-tar-extension-mean/36697)._
