Skip to content

Commit

Permalink
Merge branch 'main' into handle-missing-keys-lora
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakpaul authored Oct 10, 2024
2 parents 56cb020 + e16fd93 commit 1ba04a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lora/test_lora_layers_sdxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,12 +619,12 @@ def test_integration_logits_multi_adapter(self):
@nightly
def test_integration_logits_for_dora_lora(self):
pipeline = StableDiffusionXLPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0")
pipeline.load_lora_weights("hf-internal-testing/dora-trained-on-kohya")
pipeline.enable_model_cpu_offload()

logger = logging.get_logger("diffusers.loaders.lora_pipeline")
logger.setLevel(30)
with CaptureLogger(logger) as cap_logger:
pipeline.load_lora_weights("hf-internal-testing/dora-trained-on-kohya")
pipeline.enable_model_cpu_offload()
images = pipeline(
"photo of ohwx dog",
num_inference_steps=10,
Expand Down

0 comments on commit 1ba04a4

Please sign in to comment.