c2bca49aa88e27e7ee62741a9c984701891cda17
When n>=2, all_previous_token_ids entries pointed to the SAME list, so appending tokens for choice 0 corrupted choice 1's history. Same for tool_parsers: all choices shared one stateful parser instance. Changed to list comprehensions that create independent objects. Found via CCCL result_policy.cuh read: distributed result delivery requires isolated per-rank state — same principle applies to per-choice token tracking in vLLM streaming.
project_6
Description
Languages
C++
41.8%
Cuda
31.6%
Python
22.2%
C
2.1%
CMake
1.1%
Other
1.1%