mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
feat: auto-detect max VRAM budget with --max-vram -1 (#1498)
This commit is contained in:
1 parent
fd1a2794f3
commit
38b14adb67
7 files changed
+65
-10
No files matched your search
@@ -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},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user