-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tiled Upscaler only works in webui but not in API #365
Comments
I have encountered the same problem. Have you resolved it |
my email 1431073686@qq.com |
facing the same issue |
Have you tried ONLY using Tiled Diffusion via the API? Does that work for you?
It eats a ton of my VRAM though ( takes all 24gb of it and locks up my PC). I must be doing something wrong, but it also does that for me in the UI. I have not tried using the tiled VAE with this though. I would test trying this alone first. |
I have used tiled diffusion and control net, it works fine.
…On Sat, 27 Jul 2024, 09:04 Aaron Olson, ***@***.***> wrote:
Have you tried ONLY using Tiled Diffusion via the API? Does that work for
you?
I am able to use Tiled Diffusion via the API using this call as my
alwayson_scripts json ( I am using Python )
"alwayson_scripts": {
"tiled diffusion": {
"args": [
True, # enable
"Mixture of Diffusers", # method, eg MultiDiffusion
True, # Overwrite image size
True, # Keep input image size
1024, # Image width
1024, # Image height
96, # Latent tile width
96, # Latent tile height
48, # Latent tile overlap
2, # Latent tile batch size
"4x-UltraMix_Balanced", # Upscaler
2, # Scale Factor
True, # Enable Noise Inversion
10, # Inversion steps
1, # Retouch
1, # Renoise strength
64, # Renoise kernel size
False, # Move ControlNet tensor to CPU (if applicable)
False, # Enable Control
False, # Draw full canvas background
False, # Causalize layers
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 1
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 2
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 3
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 4
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 5
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 6
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 7
False, 0, 0, 0, 0, "", "", "Background", 0, -1, # region 8
]
}
}
It eats a ton of my VRAM though ( takes all 24gb of it and locks up my
PC). I must be doing something wrong, but it also does that for me in the
UI.
I have not tried using the tiled VAE with this though. I would test trying
this alone first.
—
Reply to this email directly, view it on GitHub
<#365 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJX2AWYDMCXOVZDU3MLYFBTZOMIMDAVCNFSM6AAAAABE2C46COVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTG4ZTCMRSHE>
.
You are receiving this because you commented.Message ID:
<pkuliyi2015/multidiffusion-upscaler-for-automatic1111/issues/365/2253731229
@github.com>
|
Hi all,
I'm trying to upscale an image using Tiled diffusion (and tiled VAE). Here are my parameters :
As you can see, it works well. The second output image comes from the upscaler.
But when I apply the same parameters on the API :
The upscaler pass returns immediately and the output upscaled image seems to be a simple Lancoz or Nearest upscale...
I tried with different upscaler and they all returns a simple stretched resize.
Did I miss something ?
Thanks for your help
The text was updated successfully, but these errors were encountered: