stable-diffusion-webui-forge
stable-diffusion-webui-forge copied to clipboard
The command to clear the cache
Greetings! tell me if it makes sense to write a command in the webui-user batnik to clear the cache of garbage?
del /q "tmp\tmp*" >nul 2>nul & del /q "tmp\gradio*." >nul 2>nul & rd /s /q "pip\cache" >nul 2>nul & for /d %%x in (tmp\tmp,tmp\pip*,tmp\gradio*) do (rd /s /q "%%x" 2>nul || ("%%x" && exit /b 1))
Yes please, was looking for that option while trying out TeaCache.