Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set&Get llm internal tokenizer instead of the TokenizerGroup #2741

Merged

Conversation

dancingpipi
Copy link
Contributor

@dancingpipi dancingpipi commented Feb 4, 2024

Since LLMEngine uses TokenizerGroup, the get_tokenizer and set_tokenizer methods in LLM need to be adjusted so that they operate on the original tokenizer in LLMEngine.
@WoosukKwon

@dancingpipi dancingpipi changed the title set&get llm internal tokenizer instead of the TokenizerGroup [BUG] Set&Get llm internal tokenizer instead of the TokenizerGroup Feb 4, 2024
@dancingpipi dancingpipi changed the title [BUG] Set&Get llm internal tokenizer instead of the TokenizerGroup Set&Get llm internal tokenizer instead of the TokenizerGroup Feb 4, 2024
Copy link
Member

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix!

@zhuohan123 zhuohan123 merged commit 51cd22c into vllm-project:main Feb 4, 2024
17 checks passed
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
alexm-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Feb 13, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 20, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 22, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 4, 2024
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