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

Support mllama for pytorch engine #2605

Merged
merged 17 commits into from
Oct 24, 2024
Merged

Support mllama for pytorch engine #2605

merged 17 commits into from
Oct 24, 2024

Conversation

AllentDan
Copy link
Collaborator

@AllentDan AllentDan commented Oct 15, 2024

Based on #2591.
Tensor parallel failed due to accelerate pp mode disabled during vision model inference. I am not sure if we should hack the code of transformers.

@lvhan028 lvhan028 requested a review from irexyc October 15, 2024 09:49
Conflicts:
	lmdeploy/pytorch/backends/attention.py
	lmdeploy/pytorch/backends/cuda/attention.py
	lmdeploy/pytorch/model_inputs.py
@lvhan028 lvhan028 added the enhancement New feature or request label Oct 16, 2024
@lvhan028 lvhan028 requested a review from RunningLeon October 21, 2024 02:21
Copy link
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

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

LGTM

lmdeploy/vl/model/mllama.py Outdated Show resolved Hide resolved
@lvhan028 lvhan028 merged commit f4e0343 into InternLM:main Oct 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants