Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
18 stars 4 forks source link

warn users if they've baked weights into their image by mistake #359

Closed OwenPriceSkelly closed 9 months ago

OwenPriceSkelly commented 9 months ago

it's pretty easy to accidentally write test code that downloads your weights from huggingface and accidentally leave it there when publishing the notebook.

In general we won't be able to anticipate every case of this, but if users are downloading with our recommended HFConnector approach we should at least warn them if the .stage() method is called during the publication process