YiYiXu HF Staff commited on
Commit
3475425
·
verified ·
1 Parent(s): 7739980

Update block.py

Browse files
Files changed (1) hide show
  1. block.py +2 -2
block.py CHANGED
@@ -2,12 +2,12 @@ from typing import List, Optional
2
  from diffusers.modular_pipelines import (
3
  InputParam,
4
  OutputParam,
5
- ModularPipelineBlock,
6
  PipelineState,
7
  )
8
 
9
 
10
- class QuantizationConfigBlock(ModularPipelineBlock):
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