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

Revert commit af9bd3b: Edge case for trt llm out-of-vocabulary #50

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

yinglin-nv
Copy link
Contributor

This PR reverts changes introduced in this commit: af9bd3b, which adds lines that handle out-of-range IDs which are not needed now as the TensorRT-LLM bug has been fixed. Also, tokenizer.vocab_size doesn't take special tokens into consideration and thus may impact the generation of special tokens.

Remove lines that handle out-of-range IDs which are not needed now and may cause issues.
Copy link
Collaborator

@Kipok Kipok left a comment

Choose a reason for hiding this comment

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

Thanks!

@Kipok Kipok merged commit a5d1a6e into NVIDIA:main Jun 27, 2024
3 checks passed
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