From 4388968ad345dfc41c101bda4fd02c4ceb031e4b Mon Sep 17 00:00:00 2001 From: Pierre Chapuis Date: Tue, 5 Sep 2023 14:50:57 +0200 Subject: [PATCH] Update tests/e2e/test_diffusion.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com> --- tests/e2e/test_diffusion.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e/test_diffusion.py b/tests/e2e/test_diffusion.py index f5bcc1a..3e2a981 100644 --- a/tests/e2e/test_diffusion.py +++ b/tests/e2e/test_diffusion.py @@ -703,6 +703,7 @@ def test_diffusion_lora_twice( sd15.set_num_inference_steps(n_steps) + # The same LoRA is used twice which is not a common use case: this is purely for testing purpose SD1LoraAdapter.from_safetensors(target=sd15, checkpoint_path=lora_weights_path, scale=0.4).inject() SD1LoraAdapter.from_safetensors(target=sd15, checkpoint_path=lora_weights_path, scale=0.6).inject()