Let's avoid *.pth extension at least for newer models
Open
Nobody has claimed this yet.
needs discussion
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
Description
🐛 Describe the bug
pth is a special extension for Python related to module search paths
https://github.com/pytorch/pytorch/issues/14864
Versions
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked PyTorch issue and tracing where model artifacts receive the .pth extension. The payload names no files, tests, or entry points, so first identify the newer models in scope and the affected artifact-generation path. Done means the applicable newer models no longer use the problematic extension and existing behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100