hsuwill000
commited on
Commit
•
ea7c1d6
1
Parent(s):
f59ba73
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ pipe = OVStableDiffusionPipeline.from_pretrained(
|
|
29 |
model_id,
|
30 |
compile = False,
|
31 |
ov_config = {"CACHE_DIR":""},
|
32 |
-
|
33 |
-
torch_dtype=torch.bfloat16, #中
|
34 |
#variant="fp16",
|
35 |
#torch_dtype=torch.IntTensor, #慢,
|
36 |
safety_checker=None,
|
|
|
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 |
safety_checker=None,
|