diff options
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -140,6 +140,11 @@ 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())
|