CUDA
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
|
@@ -108,7 +108,7 @@ def load_pipeline() -> FluxPipeline:
|
|
| 108 |
text_encoder=text_encoder,
|
| 109 |
text_encoder_2=text_encoder_2,
|
| 110 |
torch_dtype=torch.bfloat16).to("cuda")
|
| 111 |
-
pipe.enable_sequential_cpu_offload()
|
| 112 |
pipe("cat", guidance_scale=0., max_sequence_length=256, num_inference_steps=4)
|
| 113 |
return pipe
|
| 114 |
|
|
|
|
| 108 |
text_encoder=text_encoder,
|
| 109 |
text_encoder_2=text_encoder_2,
|
| 110 |
torch_dtype=torch.bfloat16).to("cuda")
|
| 111 |
+
# pipe.enable_sequential_cpu_offload()
|
| 112 |
pipe("cat", guidance_scale=0., max_sequence_length=256, num_inference_steps=4)
|
| 113 |
return pipe
|
| 114 |
|