chenlei
commited on
Commit
·
6d84cf3
1
Parent(s):
65baec7
update
Browse files- requirements.txt +2 -2
- run/gradio_ootd.py +1 -1
requirements.txt
CHANGED
@@ -13,6 +13,6 @@ config==0.5.1
|
|
13 |
einops==0.7.0
|
14 |
onnxruntime==1.16.2
|
15 |
huggingface_hub==0.25.0
|
16 |
-
torchvision==0.
|
17 |
-
torch
|
18 |
basicsr
|
|
|
13 |
einops==0.7.0
|
14 |
onnxruntime==1.16.2
|
15 |
huggingface_hub==0.25.0
|
16 |
+
torchvision==0.22.1
|
17 |
+
torch==2.7.1
|
18 |
basicsr
|
run/gradio_ootd.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
-
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "max_split_size_mb:1024"
|
4 |
from pathlib import Path
|
5 |
import sys
|
6 |
import torch
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "max_split_size_mb:1024,expandable_segments:True"
|
4 |
from pathlib import Path
|
5 |
import sys
|
6 |
import torch
|