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

Refactor(vllm): to prepare for merging it to upstream #78

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Refactor(vllm): to prepare for merging it to upstream #78

merged 6 commits into from
Nov 20, 2024

Conversation

xffxff
Copy link
Collaborator

@xffxff xffxff commented Nov 20, 2024

This PR mainly did two changes:

  • It created two Python files, projector.py and vision_encoder.py, in the vllm folder instead of importing them from the aria namespace.
  • It refactored the load_weight logic to align with the latest vllm conventions.

@@ -718,7 +583,7 @@ def __init__(
):
super().__init__()
config = vllm_config.model_config.hf_config
cache_config = vllm_config.cache_config
vllm_config.cache_config

Choose a reason for hiding this comment

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

What's this line for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will remove it. This change was made by the formatter because the cache_config is not currently used.

@xffxff xffxff merged commit 083b5a8 into main Nov 20, 2024
2 checks passed
@xffxff xffxff deleted the vllm branch November 20, 2024 07:52
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