Merge 970c107ff8396416162e2c568475b6bdaa8066a7 into fd271dedfde6e192a1f1a025521070876e89e04a

This commit is contained in:
Gangin Park 2025-12-08 18:35:08 +09:00 committed by GitHub
commit 36db8cdecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -572,6 +572,9 @@ if args.reserve_vram is not None:
EXTRA_RESERVED_VRAM = args.reserve_vram * 1024 * 1024 * 1024
logging.debug("Reserving {}MB vram for other applications.".format(EXTRA_RESERVED_VRAM / (1024 * 1024)))
if is_nvidia() and not args.disable_cuda_malloc:
EXTRA_RESERVED_VRAM += 32 * 1024 * 1024
def extra_reserved_memory():
return EXTRA_RESERVED_VRAM