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

[Pass] Fix sampling func attachment to not read existing vocab size #2292

Merged
merged 1 commit into from
May 7, 2024

Conversation

MasterJH5574
Copy link
Collaborator

This PR updates the AttachGPUSamplingFunc pass to make each sampling func have independent dynamic vocab size var. So we do not have to read the vocab size from the prefill function.

This PR updates the AttachGPUSamplingFunc pass to make each sampling
func have independent dynamic vocab size var. So we do not have to
read the vocab size from the prefill function.
@MasterJH5574
Copy link
Collaborator Author

cc @rickzx

@tqchen tqchen merged commit 2306086 into mlc-ai:main May 7, 2024
2 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.

None yet

3 participants