Closed lucyhe closed 10 months ago
I refactored some tests so that the new force_download tests wouldnt feel too verbose. Please let me know if you disagree with any refactoring, and I'm happy to revert!
And also, looks like shutil.rmtree
is failing for some versions of Python based on whether files are there or not. See the tests run from CI.
And also, looks like
shutil.rmtree
is failing for some versions of Python based on whether files are there or not. See the tests run from CI.
Thanks for the quick review! Are the CI checks identical except for python version? Want to make sure I've narrowed down what could be happening
Previously, after a model or file was downloaded with
model_download
, there was no way to programmatically force a new download. This PR enables forced downloads.More Details
force_download
defaults to FalseNew flag usage: