mirror of
https://github.com/vladmandic/automatic
synced 2026-09-17 08:19:11 +02:00
handle xformers
This commit is contained in:
@@ -643,7 +643,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
|
||||
|
||||
if not shared.opts.cuda_compile:
|
||||
modules.sd_models.apply_token_merging(p.sd_model, p.get_token_merging_ratio())
|
||||
modules.sd_hijack_freeu.apply_freeu(p.sd_model, shared.backend == shared.Backend.ORIGINAL)
|
||||
modules.sd_hijack_freeu.apply_freeu(p, shared.backend == shared.Backend.ORIGINAL)
|
||||
|
||||
if shared.cmd_opts.profile:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user