fix: typo on flux model preloading

Still referring to the sd version of the pipeline class.
This commit is contained in:
Zak B. Elep 2024-10-15 23:55:28 +08:00
parent bbd2003047
commit 93397949d2

View File

@ -77,7 +77,7 @@ if __name__ == "__main__":
nn.quantize(flux.clip, class_predicate=quantization_predicate) nn.quantize(flux.clip, class_predicate=quantization_predicate)
if args.preload_models: if args.preload_models:
sd.ensure_models_are_loaded() flux.ensure_models_are_loaded()
# Make the generator # Make the generator
latent_size = to_latent_size(args.image_size) latent_size = to_latent_size(args.image_size)