sdwebui-w-horde / sd-webui-stable-horde-worker

Stable Horde Unofficial Worker Bridge as Stable Diffusion WebUI (AUTOMATIC1111) Extension
GNU Affero General Public License v3.0
60 stars 19 forks source link

fix: model reported as unknown when present but hash not yet calculated. #87

Closed prodigy closed 1 year ago

prodigy commented 1 year ago

Description

I wanted to create a new worker and copied the extensions configuration. When enabling the new worker it always reported ERROR: Unknown model for all the models.

I found out that the sd web ui had not yet calculated all the hashes as it was a completely new and empty instance. No models except the default had been loaded. This change forces the models to have their sha hash calculated when being loaded as part of a horde job.

Type of changes

Please check the following items before submitting your pull request