(self, pipe, args)
| 193 | self.image = self.image.resize(RESOLUTION_MAPPING[args.ckpt]) |
| 194 | |
| 195 | def run_inference(self, pipe, args): |
| 196 | _ = pipe( |
| 197 | prompt=PROMPT, |
| 198 | image=self.image, |
| 199 | num_inference_steps=args.num_inference_steps, |
| 200 | num_images_per_prompt=args.batch_size, |
| 201 | ) |
| 202 | |
| 203 | |
| 204 | class TurboImageToImageBenchmark(ImageToImageBenchmark): |
nothing calls this directly
no outgoing calls
no test coverage detected