Skip to content

Conversation

@TheodoreEhrenborg
Copy link

See https://github.com/TheodoreEhrenborg/delphi_bug_demo for a demonstration of this bug. The code was updating SamplingParams in place instead of creating a new SamplingParams, but my guess is that since this skips the __post_init__ here, something goes wrong and then vllm crashes

Comment on lines +92 to +95
logprobs = None
prompt_logprobs = None
max_tokens = self.sampling_params.max_tokens
temperature = 1.0
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if these should default to the default values in the definition of SamplingParams, or default to self.sampling_params's most recent values

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.

1 participant