Update src/pipeline.py
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
|
@@ -72,7 +72,7 @@ def load_pipeline() -> Pipeline:
|
|
| 72 |
|
| 73 |
pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
|
| 74 |
# pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune", fullgraph=True)
|
| 75 |
-
quantize_(pipeline.vae,
|
| 76 |
|
| 77 |
warmup_ = "controllable varied focus thai warriors entertainment blue golden pink soft tough padthai"
|
| 78 |
for _ in range(2):
|
|
|
|
| 72 |
|
| 73 |
pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
|
| 74 |
# pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune", fullgraph=True)
|
| 75 |
+
quantize_(pipeline.vae, float8_weight_only())
|
| 76 |
|
| 77 |
warmup_ = "controllable varied focus thai warriors entertainment blue golden pink soft tough padthai"
|
| 78 |
for _ in range(2):
|