Skip to content

Commit 4d85f58

Browse files
committed
experimental multi-host device_put
1 parent db36644 commit 4d85f58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tpu_inference/runner/tpu_runner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,8 @@ def _prepare_inputs_non_dp(self, scheduler_output: "VllmSchedulerOutput"):
15531553
seq_lens_cpu = seq_lens
15541554

15551555

1556-
1556+
logger.info(f"{self.devices=}")
1557+
logger.info(f"{jax.local_devices()=}")
15571558
input_tuple_single_device = jax.device_put(
15581559
(input_ids, positions, block_tables, query_start_loc, seq_lens,
15591560
logits_indices, request_distribution),

0 commit comments

Comments
 (0)