You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug in Web UI: Unknown model arch 'sd15' when selecting SD 1.5 #1092
There is a minor typo in the built-in Web UI model registration that prevents Stable Diffusion 1.5 from training out of the box.
When a user selects "SD 1.5" in the interface, the app generates a configuration file with arch: "sd15". However, the core backend trainer only recognizes "sd1" as a valid architecture name, causing the execution script to instantly crash with an Unknown model arch 'sd15' error.
Location of the bug
The typo is located in the Web UI source file: extensions_built_in/diffusion_models/ui.tsx
Currently, the configuration block for SD 1.5 is registered as:
name: "sd15",label: "SD 1.5",
How to fix it
It should be updated to use the standard core architecture string:
name: "sd1",label: "SD 1.5",
Additional context
Manually changing "sd15" to "sd1" inside ui.tsx and restarting the toolkit completely fixes the issue. The configuration is then generated correctly, allowing the training loop to initialize fully offline and generate samples perfectly.
Activity