Get backend - 1
Browse files- src/pipeline.py +1 -0
src/pipeline.py
CHANGED
@@ -11,6 +11,7 @@ from torch import Generator
|
|
11 |
from torchao.quantization import quantize_, int8_weight_only
|
12 |
from transformers import T5EncoderModel, CLIPTextModel, logging
|
13 |
import torch._dynamo
|
|
|
14 |
torch._dynamo.config.suppress_errors = True
|
15 |
|
16 |
Pipeline: TypeAlias = FluxPipeline
|
|
|
11 |
from torchao.quantization import quantize_, int8_weight_only
|
12 |
from transformers import T5EncoderModel, CLIPTextModel, logging
|
13 |
import torch._dynamo
|
14 |
+
import torch_tensorr
|
15 |
torch._dynamo.config.suppress_errors = True
|
16 |
|
17 |
Pipeline: TypeAlias = FluxPipeline
|