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

simplify loading weights logic #2133

Merged
merged 2 commits into from
Dec 16, 2023
Merged

Conversation

esmeetu
Copy link
Collaborator

@esmeetu esmeetu commented Dec 15, 2023

Fix #2132.
This pull request streamlines the logic for loading weights, making it more concise and cleaner.

Introducing the fall_back_to_pt parameter to the model's custom variables, enabling the model to autonomously decide whether to utilize weights in the .pt format.

Copy link
Collaborator

@WoosukKwon WoosukKwon left a comment

Choose a reason for hiding this comment

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

@esmeetu LGTM. The code looks much nicer than before! Thanks a lot for the continuous contribution to vLLM.

@WoosukKwon WoosukKwon merged commit eed74a5 into vllm-project:main Dec 16, 2023
2 checks passed
xjpang pushed a commit to xjpang/vllm that referenced this pull request Dec 18, 2023
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
@esmeetu esmeetu deleted the fix-loadweights branch March 23, 2024 11:11
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.

Unable to run ehartford/dolphin-2.5-mixtral-8x7b
2 participants