(self, pipe, args)
| 95 | self.pipe = pipe |
| 96 | |
| 97 | def run_inference(self, pipe, args): |
| 98 | _ = pipe( |
| 99 | prompt=PROMPT, |
| 100 | num_inference_steps=args.num_inference_steps, |
| 101 | num_images_per_prompt=args.batch_size, |
| 102 | ) |
| 103 | |
| 104 | def benchmark(self, args): |
| 105 | flush() |
nothing calls this directly
no outgoing calls
no test coverage detected