From 7d9bb2fb2f97c089bcebfbd1807201e0a7a7730e Mon Sep 17 00:00:00 2001 From: Ean Garvey Date: Tue, 28 May 2024 20:28:12 -0500 Subject: [PATCH] fixup commented attr --- .../custom_models/sdxl_inference/sdxl_compiled_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/turbine_models/custom_models/sdxl_inference/sdxl_compiled_pipeline.py b/models/turbine_models/custom_models/sdxl_inference/sdxl_compiled_pipeline.py index 6dc5b0dcc..376fae77f 100644 --- a/models/turbine_models/custom_models/sdxl_inference/sdxl_compiled_pipeline.py +++ b/models/turbine_models/custom_models/sdxl_inference/sdxl_compiled_pipeline.py @@ -103,7 +103,7 @@ def __init__( self.vae_decomp_attn = vae_decomp_attn self.custom_vae = custom_vae # TODO: set this based on user-inputted guidance scale and negative prompt. - # self.do_classifier_free_guidance = False if any(x in hf_model_name for x in ["turbo", "lightning"]) else True + self.do_classifier_free_guidance = True #False if any(x in hf_model_name for x in ["turbo", "lightning"]) else True # FILE MANAGEMENT AND PIPELINE SETUP