Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,10 @@ pipe = OVStableDiffusionPipeline.from_pretrained(
|
|
29 |
model_id,
|
30 |
compile = False,
|
31 |
ov_config = {"CACHE_DIR":""},
|
32 |
-
torch_dtype=torch.int8,
|
33 |
-
#torch_dtype=torch.bfloat16,
|
34 |
-
#variant="fp16",
|
|
|
35 |
use_safetensors=False,
|
36 |
)
|
37 |
|
|
|
29 |
model_id,
|
30 |
compile = False,
|
31 |
ov_config = {"CACHE_DIR":""},
|
32 |
+
#torch_dtype=torch.int8, #快
|
33 |
+
#torch_dtype=torch.bfloat16, #中
|
34 |
+
#variant="fp16",
|
35 |
+
torch_dtype=torch.IntTensor, #慢
|
36 |
use_safetensors=False,
|
37 |
)
|
38 |
|