chenlei
commited on
Commit
·
2f37d01
1
Parent(s):
20961d9
update
Browse files- run/gradio_ootd.py +1 -0
run/gradio_ootd.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
|
|
3 |
from pathlib import Path
|
4 |
import sys
|
5 |
import torch
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "max_split_size_mb:128"
|
4 |
from pathlib import Path
|
5 |
import sys
|
6 |
import torch
|