Closed Vigilence closed 9 months ago
I believe I found out part of the issue.
The "Resize to" or "Resize by" size/dimensions must match the same scale factor size in the tiled diffusion section.
So if I want to resize a 1000x1000 image by 2 using tiled diffusion, then the "resize to" must be set to 2000x2000, or the "resize by" must be set to 2.
However an issue, which I believe is tied to forge, persists. This issue is not present in regular automatic1111.
Which is: 'AutoencoderKL' object has no attribute 'device'
*** Error running process: I:\stable-diffusion-webui-forge\extensions\multidiffusion-upscaler-for-automatic1111\scripts\tilevae.py
Traceback (most recent call last):
File "I:\stable-diffusion-webui-forge\modules\scripts.py", line 798, in process
script.process(p, *script_args)
File "I:\stable-diffusion-webui-forge\extensions\multidiffusion-upscaler-for-automatic1111\scripts\tilevae.py", line 716, in process
if devices.get_optimal_device_name().startswith('cuda') and vae.device == devices.cpu and not vae_to_gpu:
File "I:\stable-diffusion-webui-forge\venv\lib\site-packages\torch\nn\modules\module.py", line 1695, in __getattr__
raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
AttributeError: 'AutoencoderKL' object has no attribute 'device'
---
Multi-Diffusion is intergrated now, feel free to open other issues if they have some problems
Checklist
What happened?
I can use this combination fine, but when I want to enlarge a previously resized image I get the following error below. If I turn off controlnet the error goes away and I can resize the image fine.
Steps to reproduce the problem
Use tiled diffusion, tiled vae (scale factor 2) and controltile xl blur with an image size of 5120x2880px.
What should have happened?
I should be able to use control net with tiled diffusion, and tiled vae to resize the image since it worked fine for the images previous resize process.
What browsers do you use to access the UI ?
Brave
Sysinfo
sysinfo-2024-02-08-16-51.json
Console logs
Additional information