Update src/pipeline.py
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
|
@@ -599,7 +599,7 @@ def load_pipeline() -> Pipeline:
|
|
| 599 |
).to(memory_format=torch.channels_last)
|
| 600 |
|
| 601 |
text_encoder = CLIPTextModel.from_pretrained(
|
| 602 |
-
os.path.join(HF_HUB_CACHE, "models--manbeast3b--FLUX.1-schnell-te1/snapshots/05ac3e466d6b42b7794859560d875b25f6df5daf"),
|
| 603 |
).to(memory_format=torch.channels_last)
|
| 604 |
|
| 605 |
vae = AutoencoderTiny.from_pretrained("RobertML/FLUX.1-schnell-vae_e3m2", revision="da0d2cd7815792fb40d084dbd8ed32b63f153d8d", torch_dtype=dtype)
|
|
|
|
| 599 |
).to(memory_format=torch.channels_last)
|
| 600 |
|
| 601 |
text_encoder = CLIPTextModel.from_pretrained(
|
| 602 |
+
os.path.join(HF_HUB_CACHE, "models--manbeast3b--FLUX.1-schnell-te1/snapshots/05ac3e466d6b42b7794859560d875b25f6df5daf"), torch_dtype=torch.bfloat16
|
| 603 |
).to(memory_format=torch.channels_last)
|
| 604 |
|
| 605 |
vae = AutoencoderTiny.from_pretrained("RobertML/FLUX.1-schnell-vae_e3m2", revision="da0d2cd7815792fb40d084dbd8ed32b63f153d8d", torch_dtype=dtype)
|