App.py build huggingface space

During the app.py build, I have noticed the below

  1. Whenever I make a small change in app.py, it is downloading the entire packages again from scratch. It is not only time consuming and more over it is consuming more network bandwidth. My question is, the required packages are already listed in requirements.txt, why can’t we cache the packages download and reuse it and we can download the packages only, when there is a change in requirements.txt. This will save lot of time and minimize the build time as well.
1 Like

Not only the packages, but the models too.

1 Like