feat: preserve explicit backend assignments during auto-fit (#1967)

This commit is contained in:
leejet
2026-09-13 17:40:38 +08:00
committed by GitHub
parent 7f410a3793
commit 44dd13716d
7 changed files with 164 additions and 55 deletions
+2 -2
View File
@@ -720,9 +720,9 @@ ArgOptions SDContextParams::get_options() {
}},
{"",
"--auto-fit",
"on|off (default: on). Use one GPU for diffusion/te/vae computation and place weights on that GPU, "
"on|off (default: on). Preserve --backend (otherwise select one GPU) and place weights on the compute GPU, "
"RAM, another GPU, or disk in that order, according to available memory (--max-vram limits GPU budgets). "
"Disabled by explicit --backend or --params-backend; uses automatic graph segmentation when needed",
"Disabled by explicit --params-backend; uses automatic graph segmentation when needed",
on_auto_fit_arg},
{"",
"--type",