Merge branch 'comfyanonymous:master' into master

This commit is contained in:
patientx 2025-07-29 11:56:59 +03:00 committed by GitHub
commit d8ca8134c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -530,6 +530,8 @@ WINDOWS = any(platform.win32_ver())
EXTRA_RESERVED_VRAM = 400 * 1024 * 1024
if WINDOWS:
EXTRA_RESERVED_VRAM = 600 * 1024 * 1024 #Windows is higher because of the shared vram issue
if total_vram > (15 * 1024): # more extra reserved vram on 16GB+ cards
EXTRA_RESERVED_VRAM += 100 * 1024 * 1024
if args.reserve_vram is not None:
EXTRA_RESERVED_VRAM = args.reserve_vram * 1024 * 1024 * 1024