Skip to content

Conversation

@njhill
Copy link
Member

@njhill njhill commented Feb 15, 2024

If the SamplingParams object passed to LLMEngine.add_request() is mutated after that method returns, it could affect the async sampling process for that request.

Suggested by @Yard1 in #2514 (comment)

If the SamplingParams object passed to LLMEngine.add_request() is mutated after it returns, it could affect the async sampling process for that request.

Suggested by @Yard1 vllm-project#2514 (comment)
@njhill njhill mentioned this pull request Feb 15, 2024
@WoosukKwon WoosukKwon requested a review from Yard1 February 15, 2024 06:22
@Yard1 Yard1 merged commit 185b2c2 into vllm-project:main Feb 17, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 22, 2024
If the SamplingParams object passed to LLMEngine.add_request() is mutated after it returns, it could affect the async sampling process for that request.

Suggested by @Yard1 vllm-project#2514 (comment)
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 4, 2024
If the SamplingParams object passed to LLMEngine.add_request() is mutated after it returns, it could affect the async sampling process for that request.

Suggested by @Yard1 vllm-project#2514 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants