mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +08:00
Fix trim
This commit is contained in:
parent
058e5dc634
commit
607fcf7321
@ -651,6 +651,7 @@ def trim_memory() -> bool:
|
||||
try:
|
||||
if sys.platform.startswith('linux'):
|
||||
import ctypes
|
||||
import ctypes.util
|
||||
libc_path = ctypes.util.find_library('c')
|
||||
if not libc_path:
|
||||
return False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user