Update src/pipeline.py
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
@@ -11,7 +11,7 @@ from torch import Generator
|
|
11 |
from torchao.quantization import quantize_, int8_weight_only
|
12 |
from transformers import T5EncoderModel, CLIPTextModel
|
13 |
|
14 |
-
|
15 |
Pipeline: TypeAlias = FluxPipeline
|
16 |
torch._inductor.config.conv_1x1_as_mm = True
|
17 |
torch._inductor.config.coordinate_descent_tuning = True
|
|
|
11 |
from torchao.quantization import quantize_, int8_weight_only
|
12 |
from transformers import T5EncoderModel, CLIPTextModel
|
13 |
|
14 |
+
os.environ['PYTORCH_CUDA_ALLOC_CONF']="expandable_segments:True"
|
15 |
Pipeline: TypeAlias = FluxPipeline
|
16 |
torch._inductor.config.conv_1x1_as_mm = True
|
17 |
torch._inductor.config.coordinate_descent_tuning = True
|