manbeast3b commited on
Commit
9cf0935
·
verified ·
1 Parent(s): cf2e610

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +2 -9
src/pipeline.py CHANGED
@@ -122,7 +122,7 @@ class PipelineManager:
122
  pipeline.to(memory_format=torch.channels_last)
123
  pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune")
124
  quantize_(pipeline.vae, int8_weight_only())
125
- quantize_(pipeline.vae, float8_weight_only())
126
  PipelineManager._warmup(pipeline)
127
 
128
  return pipeline
@@ -130,14 +130,7 @@ class PipelineManager:
130
  @staticmethod
131
  def _warmup(pipeline):
132
  for _ in range(3):
133
- pipeline(
134
- prompt="onomancy, aftergo, spirantic, Platyhelmia, modificator, drupaceous, jobbernowl, hereness",
135
- width=1024,
136
- height=1024,
137
- guidance_scale=0.0,
138
- num_inference_steps=4,
139
- max_sequence_length=256
140
- )
141
 
142
  @staticmethod
143
  @torch.no_grad()
 
122
  pipeline.to(memory_format=torch.channels_last)
123
  pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune")
124
  quantize_(pipeline.vae, int8_weight_only())
125
+ # quantize_(pipeline.vae, float8_weight_only())
126
  PipelineManager._warmup(pipeline)
127
 
128
  return pipeline
 
130
  @staticmethod
131
  def _warmup(pipeline):
132
  for _ in range(3):
133
+ pipeline(prompt=" ")
 
 
 
 
 
 
 
134
 
135
  @staticmethod
136
  @torch.no_grad()