osanseviero commited on
Commit
4c18494
β€’
1 Parent(s): 4bc9e1c

Fix scheduler unneeded set_format (#9)

Browse files

- Fix scheduler unneeded set_format (783d3aa1b03b3b807c059d70bbe62ea6714e172c)

composable_stable_diffusion_pipeline.py CHANGED
@@ -80,7 +80,6 @@ class ComposableStableDiffusionPipeline(DiffusionPipeline):
80
  feature_extractor: CLIPFeatureExtractor,
81
  ):
82
  super().__init__()
83
- scheduler = scheduler.set_format("pt")
84
  self.register_modules(
85
  vae=vae,
86
  text_encoder=text_encoder,
 
80
  feature_extractor: CLIPFeatureExtractor,
81
  ):
82
  super().__init__()
 
83
  self.register_modules(
84
  vae=vae,
85
  text_encoder=text_encoder,