[X] I have searched the existing issues and checked the recent builds/commits
What happened?
When I launch webui.bat or webui-user.bat it often starts to recalculate the hashes of all of the models I have downloaded, which is problematic, as this can take 1-2 days, given the number of Loras and the fact that I keep the checkpoints on an external hdd (which is always on, and always plugged into the computer via usb), due to the size of them.
An example of what is happening can be found below:
Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: 20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be
20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be
20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be
20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be
20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be
Steps to reproduce the problem
Go to .... Webui.bat
Launch .... Webui.bat or Webui-user.bat
...
What should have happened?
It should have calculated the hashes once, when downloading them through the Civitai helper plugin, or after they were put into the appropriate folder (Lora, Stable-Diffusion, etc) and then not recalculate the hashes at random intervals.
As you can see in the log this is not done by WebUI but by the additional network extension you've installed.
WebUi doesn't rehash models which are already stored in cache.json
Is there an existing issue for this?
What happened?
When I launch webui.bat or webui-user.bat it often starts to recalculate the hashes of all of the models I have downloaded, which is problematic, as this can take 1-2 days, given the number of Loras and the fact that I keep the checkpoints on an external hdd (which is always on, and always plugged into the computer via usb), due to the size of them.
An example of what is happening can be found below:
Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: Calculating sha256 for D:\Stable Diffusion\Automatic1111 Webui 1.51\models\Lora\Low-poly-A.safetensors: 20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be 20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be 20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be 20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be 20a8876f87c23b20676ea6720ac7a2de52fa709ec1b82ce34ac4bb757d96b4be
Steps to reproduce the problem
What should have happened?
It should have calculated the hashes once, when downloading them through the Civitai helper plugin, or after they were put into the appropriate folder (Lora, Stable-Diffusion, etc) and then not recalculate the hashes at random intervals.
Version or Commit where the problem happens
1.51
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
No response
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
Stable-Diffusion-Webui-Civitai-Helper stable-diffusion-webui-anti-burn stable-diffusion-webui-aesthetic-gradients sd_civitai_extension sd-webui-gelbooru-prompt sd-webui-e621-prompt sd-webui-controlnet sd-webui-additional-networks sd-model-preview-xd openpose-editor model-keyword danbooru-prompt clip-interrogator-ext civitai
Console logs
Additional information
No response