Skip to content

Commit 885015e

Browse files
Lower ram usage on windows. (#9628)
1 parent a86aaa4 commit 885015e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def execute_script(script_path):
112112

113113

114114
if os.name == "nt":
115+
os.environ['MIMALLOC_PURGE_DELAY'] = '0'
115116
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
116117

117118
if __name__ == "__main__":

0 commit comments

Comments
 (0)