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