fabito commented on issue #22402: URL: https://github.com/apache/beam/issues/22402#issuecomment-1201796326
Interesting. Looking at the `download_pretrained` function, looks like it caches the file in a local dir `~/.cache/clip`. In addition to that it doesn't always perform the SHA256 checksum check. https://github.com/mlfoundations/open_clip/blob/15bb1f7347acdfc2e5e3069455a84fbd188aa4f2/src/open_clip/pretrained.py#L127 It could be probably solved by: enabling checksum (preferrable), disabling local caching, or embedding the pre trained model in the docker image. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
