Skip to content

Commit 7cd6e9e

Browse files
committed
Remove local scope import of multihost_utils
1 parent c0b5cb4 commit 7cd6e9e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/maxdiffusion/pipelines/flux/flux2klein_pipeline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ def step_fn(step_idx, current_latents):
360360
images_rgb = decoded_out.sample
361361
images_rgb.block_until_ready()
362362
if jax.process_count() > 1:
363-
from jax.experimental import multihost_utils
364363
images_rgb = multihost_utils.process_allgather(images_rgb, tiled=True)
365364

366365
trace["vae_decode"] = time.perf_counter() - t0

0 commit comments

Comments
 (0)