Spaces:
Build error
Build error
idle_tests
#5
by
idlebg
- opened
- inference.py +1 -1
- requirements.txt +1 -1
inference.py
CHANGED
@@ -47,7 +47,7 @@ class InferencePipeline:
|
|
47 |
pipe = pipe.to(self.device)
|
48 |
|
49 |
from src import diffuser_training
|
50 |
-
diffuser_training.load_model(pipe.text_encoder, pipe.tokenizer, pipe.unet, weight_path,
|
51 |
|
52 |
self.pipe = pipe
|
53 |
|
|
|
47 |
pipe = pipe.to(self.device)
|
48 |
|
49 |
from src import diffuser_training
|
50 |
+
diffuser_training.load_model(pipe.text_encoder, pipe.tokenizer, pipe.unet, weight_path, '<new1>')
|
51 |
|
52 |
self.pipe = pipe
|
53 |
|
requirements.txt
CHANGED
@@ -6,6 +6,6 @@ Pillow==9.3.0
|
|
6 |
torch==1.13.0
|
7 |
torchvision==0.14.0
|
8 |
transformers==4.25.1
|
9 |
-
triton==2.0.0.
|
10 |
xformers==0.0.13
|
11 |
clip_retrieval
|
|
|
6 |
torch==1.13.0
|
7 |
torchvision==0.14.0
|
8 |
transformers==4.25.1
|
9 |
+
triton==2.0.0.dev20220701
|
10 |
xformers==0.0.13
|
11 |
clip_retrieval
|