Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
667d0e91
Commit
667d0e91
authored
Apr 21, 2025
by
Muyang Li
Committed by
github-actions[bot]
Apr 22, 2025
Browse files
[Auto Sync] test: add the expected LPIPS for FP4 models on Blackwell GPUs
parent
5cfb5351
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/flux/test_flux_dev_loras.py
tests/flux/test_flux_dev_loras.py
+2
-2
No files found.
tests/flux/test_flux_dev_loras.py
View file @
667d0e91
...
...
@@ -8,7 +8,7 @@ from .utils import run_test
@
pytest
.
mark
.
parametrize
(
"num_inference_steps,lora_name,lora_strength,cpu_offload,expected_lpips"
,
[
(
25
,
"realism"
,
0.9
,
True
,
0.136
if
get_precision
()
==
"int4"
else
0.1
),
(
25
,
"realism"
,
0.9
,
True
,
0.136
if
get_precision
()
==
"int4"
else
0.1
12
),
# (25, "ghibsky", 1, False, 0.186),
# (28, "anime", 1, False, 0.284),
(
24
,
"sketch"
,
1
,
True
,
0.291
if
get_precision
()
==
"int4"
else
0.182
),
...
...
@@ -51,5 +51,5 @@ def test_flux_dev_turbo8_ghibsky_1024x1024():
lora_names
=
[
"realism"
,
"ghibsky"
,
"anime"
,
"sketch"
,
"yarn"
,
"haunted_linework"
,
"turbo8"
],
lora_strengths
=
[
0
,
1
,
0
,
0
,
0
,
0
,
1
],
cache_threshold
=
0
,
expected_lpips
=
0.310
if
get_precision
()
==
"int4"
else
0.1
50
,
expected_lpips
=
0.310
if
get_precision
()
==
"int4"
else
0.1
68
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment