feat: auto-detect max VRAM budget with --max-vram -1 (#1498)

This commit is contained in:
leejet authored and GitHub committed 2026-05-16 16:14:25 +08:00
1 parent fd1a2794f3
commit 38b14adb67
7 files changed
+65 -10

No files matched your search

+1 -1
View File
@@ -397,7 +397,7 @@ ArgOptions SDContextParams::get_options() {
options.float_options = {
{"",
"--max-vram",
"maximum VRAM budget in GiB for graph-cut segmented execution. 0 disables graph splitting",
"maximum VRAM budget in GiB for graph-cut segmented execution. 0 disables graph splitting; -1 auto-detects free VRAM minus 1 GiB",
&max_vram},
};