-
Notifications
You must be signed in to change notification settings - Fork 1k
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
model: Intern vl 2.5 #3351
base: main
Are you sure you want to change the base?
model: Intern vl 2.5 #3351
Conversation
depends on #3203 |
|
||
all_frames = [] | ||
|
||
def load_image_internvl(image_file, input_size=448, max_num=12): |
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.
Do we need to introduce parameters for max/min numbers passed from the API, similar to what is done in lmdeploy?
dict(type='image_url', image_url=dict(max_dynamic_patch=12, url='https://raw.githubusercontent.com/OpenGVLab/InternVL/main/internvl_chat/examples/image1.jpg')),
self.vision_model = InternVisionModel( | ||
config=config.vision_config, quant_config=quant_config | ||
) | ||
self.language_model = InternLM2ForCausalLM( |
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.
Add support to qwen/llama/.. language_model.
Motivation
Support InterVL2_5
Modifications
Checklist