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…
Reference in New Issue