Update block.py
Browse files
block.py
CHANGED
|
@@ -2,12 +2,12 @@ from typing import List, Optional
|
|
| 2 |
from diffusers.modular_pipelines import (
|
| 3 |
InputParam,
|
| 4 |
OutputParam,
|
| 5 |
-
|
| 6 |
PipelineState,
|
| 7 |
)
|
| 8 |
|
| 9 |
|
| 10 |
-
class QuantizationConfigBlock(
|
| 11 |
"""Block to create BitsAndBytes quantization config for model loading."""
|
| 12 |
|
| 13 |
@property
|
|
|
|
| 2 |
from diffusers.modular_pipelines import (
|
| 3 |
InputParam,
|
| 4 |
OutputParam,
|
| 5 |
+
ModularPipelineBlocks,
|
| 6 |
PipelineState,
|
| 7 |
)
|
| 8 |
|
| 9 |
|
| 10 |
+
class QuantizationConfigBlock(ModularPipelineBlocks):
|
| 11 |
"""Block to create BitsAndBytes quantization config for model loading."""
|
| 12 |
|
| 13 |
@property
|