lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.55k stars 838 forks source link

Add a flag to skip initializing google_blockly #2313

Closed Haoming02 closed 1 week ago

Haoming02 commented 1 week ago

This PR adds a new cmd_args, --skip-google-blockly, that allows users to skip loading the Google Blockly modules, which only adds like 2 samplers anyway afaik

Simply add the flag after the COMMANDLINE_ARGS in webui-user.bat like other args


I have no comment on the "allegations." But loading the google_blockly sure takes its sweet time every single launch and Reload UI...


before


after

IrineSistiana commented 1 week ago

+1 initialize google blockly 32.263 import torch 10.187

I've already disabled blockly month ago (after I noticed the startup time is almost 1min). I only use sdxl. No problem for me so far.

DenOfEquity commented 1 week ago

Seems like a good addition for people who don't care about Flux. There's also icl_v2.pyz in the Forge Blockly repo, but that would be Flux based too. Certainly speeds up loading significantly. Thanks for the PR.