Closed ss32 closed 1 year ago
Thank you for pointing this out. I'd somehow glossed over the fact that checksums were available. I've pushed a new commit that adds the ability to specify a checksum url and introduced a small helper that automatically gets the checksum for huggingface lfs files.
You can prevent update checking by passing --suppress-updates
as a main script arg.
This should be completed, but I'll leave the ticket open until it is more tested.
I've been using the feature for a few days now and I have not had any problems.
Adding an argument to check for a newer version of the models instead of automatically skipping would be nice.
The checksum of the model is available in the commit to Hugging Face: example, but I don't see an obvious way of finding this programmatically to compare against a local file.