Enable conv-direct in the default native speed profile
Measured on the fresh linux x64 prebuilt (z-image Q8_0, sd-cli, 192 CPU threads, 512x512, 9 steps, steady state): sampling 56.1s vs 51.3s (about 9 percent faster), VAE decode unchanged, peak RSS identical. The sd.cpp engine only serves the no-GPU tier, so the default profile now matches max: --diffusion-fa plus --diffusion-conv-direct.
This commit is contained in:
parent
7bf80f6a4e
commit
24de50062c
2 changed files with 11 additions and 8 deletions
|
|
@ -54,7 +54,9 @@ def test_native_speed_flags():
|
|||
assert native_speed_flags(None) == []
|
||||
assert native_speed_flags("off") == []
|
||||
assert native_speed_flags("") == []
|
||||
assert native_speed_flags("default") == ["--diffusion-fa"]
|
||||
# default now includes conv-direct: measured ~9% faster sampling on CPU
|
||||
# (z-image Q8_0, 192 threads) with identical RSS and unchanged decode.
|
||||
assert native_speed_flags("default") == ["--diffusion-fa", "--diffusion-conv-direct"]
|
||||
assert native_speed_flags("max") == ["--diffusion-fa", "--diffusion-conv-direct"]
|
||||
with pytest.raises(ValueError):
|
||||
native_speed_flags("ludicrous")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue