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
e8de2628
Commit
e8de2628
authored
Apr 12, 2025
by
muyangli
Browse files
commented the hypersd lora
parent
7bc134d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
tests/flux/test_flux_dev_loras.py
tests/flux/test_flux_dev_loras.py
+18
-18
No files found.
tests/flux/test_flux_dev_loras.py
View file @
e8de2628
...
@@ -35,24 +35,24 @@ def test_flux_dev_loras(num_inference_steps, lora_name, lora_strength, cpu_offlo
...
@@ -35,24 +35,24 @@ def test_flux_dev_loras(num_inference_steps, lora_name, lora_strength, cpu_offlo
)
)
@
pytest
.
mark
.
skipif
(
is_turing
(),
reason
=
"Skip tests due to using Turing GPUs"
)
#
@pytest.mark.skipif(is_turing(), reason="Skip tests due to using Turing GPUs")
def
test_flux_dev_hypersd8_1536x2048
():
#
def test_flux_dev_hypersd8_1536x2048():
run_test
(
#
run_test(
precision
=
get_precision
(),
#
precision=get_precision(),
model_name
=
"flux.1-dev"
,
#
model_name="flux.1-dev",
dataset_name
=
"MJHQ"
,
#
dataset_name="MJHQ",
height
=
1536
,
#
height=1536,
width
=
2048
,
#
width=2048,
num_inference_steps
=
8
,
#
num_inference_steps=8,
guidance_scale
=
3.5
,
#
guidance_scale=3.5,
use_qencoder
=
False
,
#
use_qencoder=False,
attention_impl
=
"nunchaku-fp16"
,
#
attention_impl="nunchaku-fp16",
cpu_offload
=
True
,
#
cpu_offload=True,
lora_names
=
"hypersd8"
,
#
lora_names="hypersd8",
lora_strengths
=
0.125
,
#
lora_strengths=0.125,
cache_threshold
=
0
,
#
cache_threshold=0,
expected_lpips
=
0.164
,
#
expected_lpips=0.164,
)
#
)
@
pytest
.
mark
.
skipif
(
is_turing
(),
reason
=
"Skip tests due to using Turing GPUs"
)
@
pytest
.
mark
.
skipif
(
is_turing
(),
reason
=
"Skip tests due to using Turing GPUs"
)
...
...
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