Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions jetstream_pt/ray_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,6 @@ def prefill_ray(
logits = logits[0]

token = np.argmax(logits[true_length - 1])
updated_caches = multihost_utils.process_allgather(
updated_caches, tiled=True
)
prefix = Prefix(token, updated_caches, true_length)
self.prefix_queue.put(prefix, block=False)

Expand All @@ -490,7 +487,7 @@ def prefill_ray(
samples_per_slot=1,
)

return prefix, result
return None, result

def _convert_to_np_caches(
self, caches: List[Tuple[jax.Array, jax.Array]]
Expand Down