re-integrated tiling option as a UI element

This commit is contained in:
AUTOMATIC
2022-09-05 03:25:37 +03:00
parent f91d0c3d19
commit a8a58dbac7
7 changed files with 34 additions and 11 deletions

View File

@@ -140,11 +140,6 @@ try:
except Exception:
pass
if cmd_opts.tiling:
# this has to be done before the model is loaded
modules.sd_hijack.add_circular_option_to_conv_2d()
sd_config = OmegaConf.load(cmd_opts.config)
shared.sd_model = load_model_from_config(sd_config, cmd_opts.ckpt)
shared.sd_model = (shared.sd_model if cmd_opts.no_half else shared.sd_model.half())