Update README.md
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ pipe = diffusers.Flux2Pipeline.from_pretrained("Disty0/FLUX.2-dev-SDNQ-uint4-svd
|
|
| 32 |
if triton_is_available and (torch.cuda.is_available() or torch.xpu.is_available()):
|
| 33 |
pipe.transformer = apply_sdnq_options_to_model(pipe.transformer, use_quantized_matmul=True)
|
| 34 |
pipe.text_encoder = apply_sdnq_options_to_model(pipe.text_encoder, use_quantized_matmul=True)
|
| 35 |
-
pipe.transformer = torch.compile(pipe.transformer) # optional for faster speeds
|
| 36 |
|
| 37 |
pipe.enable_model_cpu_offload()
|
| 38 |
|
|
|
|
| 32 |
if triton_is_available and (torch.cuda.is_available() or torch.xpu.is_available()):
|
| 33 |
pipe.transformer = apply_sdnq_options_to_model(pipe.transformer, use_quantized_matmul=True)
|
| 34 |
pipe.text_encoder = apply_sdnq_options_to_model(pipe.text_encoder, use_quantized_matmul=True)
|
| 35 |
+
# pipe.transformer = torch.compile(pipe.transformer) # optional for faster speeds
|
| 36 |
|
| 37 |
pipe.enable_model_cpu_offload()
|
| 38 |
|