Can I force rebuild a huggingface space?
I want to know if it is possible to force a full rebuild of a huggingface space without committing any changes to the repository.The use case is I would like to pip install a development package from a github repository, and if there is a bug fix in the github repository, I would like to trigger a build of the space to get the latest package.
2022-05-27T03:05:06Z
In Space settings, you can find “Factory reboot this space”. This will build your space again without using cached requirements. Is this what you want?
2022-05-27T04:22:13Z
I have tried doing that, but even though the information for Factory reboot says it does not use the cached version of requirements, the build logs show that the caches are being used, so it does not get the latest version for the package from Github.Step 18/30 : COPY requirements.txt $HOME/app/requirements.txt
 ---> Using cache
 ---> 02abf4bb48b9
Step 19/30 : RUN pip install -r requirements.txt
 ---> Using cache
 ---> bce71515be6d
2022-05-27T10:10:51Z
Tagging@chris-rannouand@cbensimon
2022-06-02T02:05:45Z
Any updates on this?
2022-06-13T14:43:50Z
Actual factory restart should be made available this week.
2023-03-27T18:29:22Z
Any updates on this?
2023-03-27T18:53:59Z
Yes! You can do a Factory Reset from the settings tab.That will rebuild the space with a clean cache.
2023-11-19T12:42:13Z
I’m experiencing the same issue, but a factory rebuild couldn’t resolve it. Are there any alternative solutions to fix this problem?