Signed-off-by: Woosuk Kwon <woosuk@thinkingmachines.ai>
This commit is contained in:
Woosuk Kwon 2025-09-20 22:15:07 +00:00
parent 8aee6e97e6
commit 42ffdd9179

View File

@ -402,6 +402,11 @@ class GPUModelRunner:
sampling_metadata=sampling_metadata,
)
needs_prompt_logprobs = np.any(
self.req_states.needs_prompt_logprobs[idx_mapping_np])
if needs_prompt_logprobs:
pass
if use_dp_sampler:
# All-gather the outputs.
sampler_output = all_gather_sampler_output(