(self, pipe, args)
| 257 | self.pipe = pipe |
| 258 | |
| 259 | def run_inference(self, pipe, args): |
| 260 | _ = pipe( |
| 261 | prompt=PROMPT, |
| 262 | ip_adapter_image=self.image, |
| 263 | num_inference_steps=args.num_inference_steps, |
| 264 | num_images_per_prompt=args.batch_size, |
| 265 | ) |
| 266 | |
| 267 | |
| 268 | class ControlNetBenchmark(TextToImageBenchmark): |
nothing calls this directly
no outgoing calls
no test coverage detected