-
Notifications
You must be signed in to change notification settings - Fork 488
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
Add inference pipeline for VL models #1214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems lmdeploy list | grep vl
can only get yi
models
logger = get_logger('lmdeploy') | ||
|
||
|
||
class Record: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docstring and typehint
lmdeploy/model.py
Outdated
@@ -156,6 +156,66 @@ def sampling_param(self): | |||
repetition_penalty=self.repetition_penalty) | |||
|
|||
|
|||
@MODELS.register_module(name='yi-vl-6b') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
就用一个吧。name='yi-vl'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Motivation
Add vision language chat pipeline
Examples