We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06fdf87 commit e4fc439Copy full SHA for e4fc439
examples/diffusers/quantization/quantize.py
@@ -37,9 +37,13 @@
37
DiffusionPipeline,
38
FluxPipeline,
39
LTXConditionPipeline,
40
- LTXLatentUpsamplePipeline,
41
StableDiffusion3Pipeline,
42
)
+try:
43
+ from diffusers import LTXLatentUpsamplePipeline
44
+except ImportError:
45
+ LTXLatentUpsamplePipeline = None
46
+
47
from onnx_utils.export import generate_fp8_scales, modelopt_export_sd
48
from tqdm import tqdm
49
from utils import (
0 commit comments