Feature request: Read gin file from google cloud bucket path
Hey, I've seen libraries like T5X that are able to read model configs from cloud buckets. As a product from google I kind of expected this feature to be implemented here and was surprised to find it wasn't. Implementation plan:
- save gin file from remote path into a temporary file
- use that as the gin file
Hi @OhadRubin, after some time searching for a solution, I found this code: https://github.com/google/gin-config/blob/1b6f0548f6dbf71ca97e1ab3ca97f955da5ec508/gin/tf/utils.py#L31
Using it I was able to read gin files from a GCS bucket. I think that frameworks like T5 and T5x are able to to it because they also import this code.
Best, Marcos
I actually found this at some point too, this should really be added to the documentation!
Yes, it really should!