Update README.md
Browse files
README.md
CHANGED
@@ -48,9 +48,9 @@ def load_quanto_text_encoder_2(repo_path):
|
|
48 |
return text_encoder_2
|
49 |
|
50 |
|
51 |
-
pipe = diffusers.AutoPipelineForText2Image.from_pretrained("Disty0/FLUX.1-dev-
|
52 |
-
pipe.transformer = load_quanto_transformer("Disty0/FLUX.1-dev-
|
53 |
-
pipe.text_encoder_2 = load_quanto_text_encoder_2("Disty0/FLUX.1-dev-
|
54 |
pipe = pipe.to("cuda", dtype=torch.bfloat16)
|
55 |
|
56 |
|
|
|
48 |
return text_encoder_2
|
49 |
|
50 |
|
51 |
+
pipe = diffusers.AutoPipelineForText2Image.from_pretrained("Disty0/FLUX.1-dev-qint4", transformer=None, text_encoder_2=None, torch_dtype=torch.bfloat16)
|
52 |
+
pipe.transformer = load_quanto_transformer("Disty0/FLUX.1-dev-qint4")
|
53 |
+
pipe.text_encoder_2 = load_quanto_text_encoder_2("Disty0/FLUX.1-dev-qint4")
|
54 |
pipe = pipe.to("cuda", dtype=torch.bfloat16)
|
55 |
|
56 |
|