Skip to content

fix(stop): fix stop when stop words not in end#1724

Closed
geeker-smallwhite wants to merge 0 commit intovllm-project:mainfrom
geeker-smallwhite:main
Closed

fix(stop): fix stop when stop words not in end#1724
geeker-smallwhite wants to merge 0 commit intovllm-project:mainfrom
geeker-smallwhite:main

Conversation

@geeker-smallwhite
Copy link

stop words may not stop where generating text.

@claudiosv
Copy link

I'd like to see this fixed as well. One note on your PR though, it may be necessary to write a test for the logprobs, to make sure that the correct logprobs are returned.

jinyouzhi pushed a commit to jinyouzhi/vllm that referenced this pull request Sep 11, 2025
## Essential Elements of an Effective PR Description Checklist
- [ ] The purpose of the PR, such as "Fix some issue (link existing
issues this PR will resolve)".
- [ ] The test plan, such as providing test command.
- [ ] The test results, such as pasting the results comparison before
and after, or e2e results


## Purpose

## Test Plan

## Test Result

<!--- pyml disable-next-line no-emphasis-as-heading -->

---------

Signed-off-by: tianyuan211 <paulyuen@umich.edu>
Co-authored-by: Wei Lin <forever871001@163.com>
Co-authored-by: Bob Zhu <bob.zhu@intel.com>
jinyouzhi pushed a commit to jinyouzhi/vllm that referenced this pull request Sep 12, 2025
## Essential Elements of an Effective PR Description Checklist
- [ ] The purpose of the PR, such as "Fix some issue (link existing
issues this PR will resolve)".
- [ ] The test plan, such as providing test command.
- [ ] The test results, such as pasting the results comparison before
and after, or e2e results


## Purpose

## Test Plan

## Test Result

<!--- pyml disable-next-line no-emphasis-as-heading -->

---------

Signed-off-by: tianyuan211 <paulyuen@umich.edu>
Co-authored-by: Wei Lin <forever871001@163.com>
Co-authored-by: Bob Zhu <bob.zhu@intel.com>
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