Skip to content

Commit 1ba04a4

Browse files
authored
Merge branch 'main' into handle-missing-keys-lora
2 parents 56cb020 + e16fd93 commit 1ba04a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lora/test_lora_layers_sdxl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,12 +619,12 @@ def test_integration_logits_multi_adapter(self):
619619
@nightly
620620
def test_integration_logits_for_dora_lora(self):
621621
pipeline = StableDiffusionXLPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0")
622-
pipeline.load_lora_weights("hf-internal-testing/dora-trained-on-kohya")
623-
pipeline.enable_model_cpu_offload()
624622

625623
logger = logging.get_logger("diffusers.loaders.lora_pipeline")
626624
logger.setLevel(30)
627625
with CaptureLogger(logger) as cap_logger:
626+
pipeline.load_lora_weights("hf-internal-testing/dora-trained-on-kohya")
627+
pipeline.enable_model_cpu_offload()
628628
images = pipeline(
629629
"photo of ohwx dog",
630630
num_inference_steps=10,

0 commit comments

Comments
 (0)