Spaces:
Running
on
Zero
Running
on
Zero
Update app_v5.py
Browse files
app_v5.py
CHANGED
|
@@ -68,8 +68,7 @@ pipeline_quant_config = PipelineQuantizationConfig(
|
|
| 68 |
pipe = FluxControlNetPipeline.from_pretrained(
|
| 69 |
"LPX55/FLUX.1M-8step_upscaler-cnet",
|
| 70 |
quantization_config=pipeline_quant_config,
|
| 71 |
-
torch_dtype=torch.float16
|
| 72 |
-
device_map="auto",
|
| 73 |
)
|
| 74 |
pipe.to("cuda")
|
| 75 |
|
|
|
|
| 68 |
pipe = FluxControlNetPipeline.from_pretrained(
|
| 69 |
"LPX55/FLUX.1M-8step_upscaler-cnet",
|
| 70 |
quantization_config=pipeline_quant_config,
|
| 71 |
+
torch_dtype=torch.float16
|
|
|
|
| 72 |
)
|
| 73 |
pipe.to("cuda")
|
| 74 |
|