MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / run_inference

Method run_inference

benchmarks/base_classes.py:128–134  ·  view source on GitHub ↗
(self, pipe, args)

Source from the content-addressed store, hash-verified

126 super().__init__(args)
127
128 def run_inference(self, pipe, args):
129 _ = pipe(
130 prompt=PROMPT,
131 num_inference_steps=args.num_inference_steps,
132 num_images_per_prompt=args.batch_size,
133 guidance_scale=0.0,
134 )
135
136
137class LCMLoRATextToImageBenchmark(TextToImageBenchmark):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected