Upload src/pipeline.py with huggingface_hub
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
@@ -51,7 +51,7 @@ def load_pipeline() -> Pipeline:
|
|
51 |
pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
|
52 |
pipeline.vae.to(memory_format=torch.channels_last)
|
53 |
quantize_(pipeline.vae, int8_weight_only())
|
54 |
-
|
55 |
|
56 |
PROMPT = 'semiconformity, peregrination, quip, twineless, emotionless, tawa, depickle'
|
57 |
with torch.inference_mode():
|
|
|
51 |
pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
|
52 |
pipeline.vae.to(memory_format=torch.channels_last)
|
53 |
quantize_(pipeline.vae, int8_weight_only())
|
54 |
+
pipeline.vae = torch.compile(pipeline.vae, fullgraph=True, mode="max-autotune")
|
55 |
|
56 |
PROMPT = 'semiconformity, peregrination, quip, twineless, emotionless, tawa, depickle'
|
57 |
with torch.inference_mode():
|