mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-05-23 05:00:04 +08:00
Lower ram usage on windows. (#9628)
This commit is contained in:
parent
a86aaa4301
commit
885015eecf
1
main.py
1
main.py
@ -112,6 +112,7 @@ import gc
|
|||||||
|
|
||||||
|
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
|
os.environ['MIMALLOC_PURGE_DELAY'] = '0'
|
||||||
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
|
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user