Skip to content

Commit da779ea

Browse files
Fix bug with AQT changes (#162)
1 parent a9069d6 commit da779ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/maxdiffusion/pipelines/stable_diffusion_xl/pipeline_flax_stable_diffusion_xl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def loop_body(step, args):
239239

240240
# predict the noise residual
241241
noise_pred = self.unet.apply(
242-
{"params": params["unet"], "aqt": params["unet"]["aqt"]},
242+
{"params": params["unet"]},
243243
jnp.array(latents_input),
244244
jnp.array(timestep, dtype=jnp.int32),
245245
encoder_hidden_states=prompt_embeds,

0 commit comments

Comments
 (0)