diff options
| -rwxr-xr-x | fanfictioner | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fanfictioner b/fanfictioner index db801bc..4386f57 100755 --- a/fanfictioner +++ b/fanfictioner @@ -490,6 +490,7 @@ def generate(d, profile, prompt, size, refs=()): # ponytail: fixed 5 GB budget, fits a Qwen edit beside the desktop but streams weights, # ~12 min per candidate; closing VRAM-heavy apps avoids this path. print("out of VRAM, retrying with a 5 GB budget (slow) ...", flush=True) + log = d / f"{seed}_retry.log" # keep the first attempt's log err = run_sd(args + ["--max-vram", "vulkan0=5"], log, preview) files = [d / f"{seed}_{i}.png" for i in (1, 2, 3)] if not err and not all(f.exists() for f in files): |
