Update src/pipeline.py
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
@@ -597,7 +597,7 @@ def load_pipeline() -> Pipeline:
|
|
597 |
).to(memory_format=torch.channels_last)
|
598 |
|
599 |
|
600 |
-
vae = AutoencoderTiny.from_pretrained("RobertML/FLUX.1-schnell-
|
601 |
|
602 |
path = os.path.join(HF_HUB_CACHE, "models--RobertML--FLUX.1-schnell-int8wo/snapshots/307e0777d92df966a3c0f99f31a6ee8957a9857a")
|
603 |
generator = torch.Generator(device=device)
|
|
|
597 |
).to(memory_format=torch.channels_last)
|
598 |
|
599 |
|
600 |
+
vae = AutoencoderTiny.from_pretrained("RobertML/FLUX.1-schnell-vae_e3m2", revision="da0d2cd7815792fb40d084dbd8ed32b63f153d8d", torch_dtype=dtype)
|
601 |
|
602 |
path = os.path.join(HF_HUB_CACHE, "models--RobertML--FLUX.1-schnell-int8wo/snapshots/307e0777d92df966a3c0f99f31a6ee8957a9857a")
|
603 |
generator = torch.Generator(device=device)
|