(self, pipe, args)
| 292 | self.image = self.image.resize(RESOLUTION_MAPPING[args.ckpt]) |
| 293 | |
| 294 | def run_inference(self, pipe, args): |
| 295 | _ = pipe( |
| 296 | prompt=PROMPT, |
| 297 | image=self.image, |
| 298 | num_inference_steps=args.num_inference_steps, |
| 299 | num_images_per_prompt=args.batch_size, |
| 300 | ) |
| 301 | |
| 302 | |
| 303 | class ControlNetSDXLBenchmark(ControlNetBenchmark): |
nothing calls this directly
no outgoing calls
no test coverage detected