mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix(ideogram4): offload-safe encode, step progress, live preview
- move the text encoder on-device for the tapped forward (bypasses the offload hook) - wrap the denoise loop in the diffusers progress bar - live preview through the shared TAE FLUX.2 decoder (Flux.2 VAE)
This commit is contained in:
@@ -71,7 +71,7 @@ def get_model(model_cls, variant=None):
|
||||
elif model_cls in {'f1', 'h1', 'zimage', 'lumina2', 'chroma', 'longcat', 'omnigen2', 'flite', 'ovis', 'kandinsky5', 'glmimage', 'cogview3', 'cogview4', 'ultraflux'}:
|
||||
model_cls = 'f1'
|
||||
variant = 'TAE FLUX.1'
|
||||
elif model_cls in {'f2', 'ernieimage', 'lens'}:
|
||||
elif model_cls in {'f2', 'ernieimage', 'lens', 'ideogram4'}:
|
||||
model_cls = 'f2'
|
||||
variant = 'TAE FLUX.2'
|
||||
elif model_cls in {'sd3'}:
|
||||
|
||||
Reference in New Issue
Block a user