Skip to content

Commit 74128b2

Browse files
committed
Remove "static" comment
1 parent 44546ef commit 74128b2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,13 +400,13 @@ def __call__(
400400
static_broadcasted_argnums=(0, 4, 5, 6),
401401
)
402402
def _p_generate(
403-
pipe, # static
403+
pipe,
404404
prompt_ids,
405405
params,
406406
prng_seed,
407-
num_inference_steps, # static
408-
height, # static
409-
width, # static
407+
num_inference_steps,
408+
height,
409+
width,
410410
guidance_scale,
411411
latents,
412412
neg_prompt_ids,

src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,15 +422,15 @@ def __call__(
422422
static_broadcasted_argnums=(0, 5, 6, 7, 8),
423423
)
424424
def _p_generate(
425-
pipe, # static
425+
pipe,
426426
prompt_ids,
427427
image,
428428
params,
429429
prng_seed,
430-
start_timestep, # static
431-
num_inference_steps, # static
432-
height, # static
433-
width, # static
430+
start_timestep,
431+
num_inference_steps,
432+
height,
433+
width,
434434
guidance_scale,
435435
noise,
436436
neg_prompt_ids,

0 commit comments

Comments
 (0)