Skip to content

Best way to store .pth files in GitHub #140659

Answered by Topromm
henry-AY asked this question in General
Discussion options

You must be logged in to vote

Cloud Storage + Links: You could store your .pth files on a cloud storage service like Google Drive, AWS S3, or Azure, and then add links to them in your repo.

DVC (Data Version Control): If you're looking for something more integrated, DVC is a great option. It’s designed for handling bigger datasets and model files while keeping version control in sync with Git. It can store your checkpoints remotely (cloud, S3, etc.) and manage them through Git without committing the actual files.

Since you're in the training phase, DVC might be ideal since it tracks different versions of your files and works well with Git. Either that or stick to LFS.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@AnuraagR9251
Comment options

Comment options

You must be logged in to vote
1 reply
@henry-AY
Comment options

Answer selected by henry-AY
Comment options

You must be logged in to vote
1 reply
@henry-AY
Comment options

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment