(self, pipe, args)
| 156 | return filepath |
| 157 | |
| 158 | def run_inference(self, pipe, args): |
| 159 | _ = pipe( |
| 160 | prompt=PROMPT, |
| 161 | num_inference_steps=args.num_inference_steps, |
| 162 | num_images_per_prompt=args.batch_size, |
| 163 | guidance_scale=1.0, |
| 164 | ) |
| 165 | |
| 166 | def benchmark(self, args): |
| 167 | flush() |
nothing calls this directly
no outgoing calls
no test coverage detected