Skip to content

Commit b5c490d

Browse files
committed
chore(tests): use fullres + lpw for lora civitai test [skip ci]
(still missing embeddings)
1 parent 0f95b35 commit b5c490d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/integration/test_loras.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,15 @@ def test_lora_http_download_civitai_safetensors(self):
8585
# https://civitai.com/models/5373/makima-chainsaw-man-lora
8686
"lora_weights": "https://civitai.com/api/download/models/6244#fname=makima_offset.safetensors",
8787
"safety_checker": False,
88+
"PIPELINE": "lpw_stable_diffusion",
8889
}
8990
modelInputs = {
9091
# https://civitai.com/images/709482
9192
"num_inference_steps": 30,
9293
"prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, (ulzzang-6500:0.5), makima \(chainsaw man\), (red hair)+(long braided hair)+(bangs), yellow eyes, golden eyes, ((ringed eyes)), (white shirt), (necktie), RAW photo, 8k uhd, film grain",
9394
"negative_prompt": "(painting by bad-artist-anime:0.9), (painting by bad-artist:0.9), watermark, text, error, blurry, jpeg artifacts, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, artist name, (worst quality, low quality:1.4), bad anatomy",
94-
"width": 584,
95-
"height": 880,
95+
"width": 864,
96+
"height": 1304,
9697
"seed": 2281759351,
9798
"guidance_scale": 9,
9899
}
@@ -108,6 +109,8 @@ def test_lora_http_download_civitai_safetensors(self):
108109
modelInputs.update(
109110
{
110111
"num_inference_steps": 1,
112+
"width": 512,
113+
"height": 512,
111114
}
112115
)
113116
result = runTest("txt2img", self.TEST_ARGS, callInputs, modelInputs)

0 commit comments

Comments
 (0)