threads = None let sd.cpp default to the logical-core count. The diffusion CPU path is compute-bound GGML matmuls, where oversubscribing hyperthreads adds scheduling contention without extra throughput, so both the persistent server and the one-shot sd-cli now pass cpu_count // 2 (min 1, fallback 8). |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_node_prebuilt.py | ||
| install_python_stack.py | ||
| install_sd_cpp_prebuilt.py | ||
| LICENSE.AGPL-3.0 | ||
| node_prebuilt_pins.json | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||