Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit bae9170

Browse files
Alexei-V-Ivanov-AMDmawong-amdgshtras
authored
Fixing P3L incompatibility with cython. (#200)
* Fixing incompatibility with cython. * Change type as per reviewer suggestions Co-authored-by: Gregory Shtrasberg <[email protected]> --------- Co-authored-by: Matt Wong <[email protected]> Co-authored-by: Gregory Shtrasberg <[email protected]>
1 parent 0e80e85 commit bae9170

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/model_executor/layers/sampler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,8 @@ def _build_sampler_output(
14361436
deferred_sample_results_args=deferred_sample_results_args)
14371437

14381438

1439-
def _get_next_prompt_tokens(seq_group: SequenceGroupToSample) -> List[int]:
1439+
def _get_next_prompt_tokens(
1440+
seq_group: SequenceGroupToSample) -> Tuple[int, ...]:
14401441
"""Get a list of next prompt tokens to compute logprob from a
14411442
given sequence group.
14421443

0 commit comments

Comments
 (0)