Thanks for this. Can you explain a bit more? is it like it like it downloads a once and caches or do you need to provide the pre download model s in a volume?
The model becomes part of the docker image.
I get that, but the model needs to be downloaded at least once? Do you download the models as part of the Dockerfile, then?
Yeah
Thanks. I am struggling a bit to login and download the model during GH CI pipeline. I keep getting invalid token error but it works when run locally. Any ideas? Sorry to post this question here.
> I keep getting invalid token error but it works when run locally. Any ideas? Sorry to post this question here.
Invalid token error while executing what?
Was in the middle of testing a PR to hfdownloader and was banging my head against the table trying to figure out what I'd broken... turns out - nothing!
I was also in the middle of writing a model downloader and was baffled as to why safetensors headers were suddenly much larger than 8 bytes!