Giter Site home page Giter Site logo

Comments (13)

themrzmaster avatar themrzmaster commented on June 16, 2024

Yes! Strong model on my tests

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 16, 2024

We are currently in the process of improving support for vision-language models. (See #4194)

from vllm.

Iven2132 avatar Iven2132 commented on June 16, 2024

We are currently in the process of improving support for vision-language models. (See #4194)

@DarkLight1337 Can I currently deploy https://huggingface.co/OpenGVLab/InternVL-Chat-V1-2-Plus on vLLM?

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 16, 2024

@DarkLight1337 Can I currently deploy https://huggingface.co/OpenGVLab/InternVL-Chat-V1-2-Plus on vLLM?

You'll at least have to write code for implementing the model in vLLM and registering it so it can be automatically initialized from the HuggingFace weights. You can refer to #4228 for an example.

from vllm.

Iven2132 avatar Iven2132 commented on June 16, 2024

@DarkLight1337 Can I currently deploy https://huggingface.co/OpenGVLab/InternVL-Chat-V1-2-Plus on vLLM?

You'll at least have to write code for implementing the model in vLLM and registering it so it can be automatically initialized from the HuggingFace weights. You can refer to #4228 for an example.

I don't even code in Python, Can I just replace tokenizer with llava 1.5 and just loadOpenGVLab/InternVL-Chat-V1-2-Plus

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 16, 2024

I don't even code in Python, Can I just replace tokenizer with llava 1.5 and just loadOpenGVLab/InternVL-Chat-V1-2-Plus

That's not possible in general. You'll have to wait until someone implements the model in vLLM. The process of supporting a new vision-language model should become easier once we figure out a more extensible framework for multimodal support.

from vllm.

Iven2132 avatar Iven2132 commented on June 16, 2024

I don't even code in Python, Can I just replace tokenizer with llava 1.5 and just loadOpenGVLab/InternVL-Chat-V1-2-Plus

That's not possible in general. You'll have to wait until someone implements the model in vLLM. The process of supporting a new vision-language model should become easier once we figure out a more extensible framework for multimodal support.

I think @czczup Can implement this on vLLM.

from vllm.

Iven2132 avatar Iven2132 commented on June 16, 2024

I don't even code in Python, Can I just replace tokenizer with llava 1.5 and just loadOpenGVLab/InternVL-Chat-V1-2-Plus

That's not possible in general. You'll have to wait until someone implements the model in vLLM. The process of supporting a new vision-language model should become easier once we figure out a more extensible framework for multimodal support.

@DarkLight1337 I don't if it's a valid question but - Does vLLM support all architectures said in the readme, so that means I just need to replace the model name with another model that on same architecture, and it will work? right?

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 16, 2024

@DarkLight1337 I don't if it's a valid question but - Does vLLM support all architectures said in the readme, so that means I just need to replace the model name with another model that on same architecture, and it will work? right?

Yes, that should be the case.

from vllm.

Iven2132 avatar Iven2132 commented on June 16, 2024

@DarkLight1337 I don't if it's a valid question but - Does vLLM support all architectures said in the readme, so that means I just need to replace the model name with another model that on same architecture, and it will work? right?

Yes, that should be the case.

If that's the case then why I can't InternVL-Chat-V1-5 use it's internlm2 based

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 16, 2024

Being based on an existing model does not mean that the two have identical architectures.

InternVL-1.5's model card says that it isĀ InternViT-6B-448px-V1-5Ā + MLP +Ā InternLM2-Chat-20B. So, at least the first two components have to be added to the existing model.

from vllm.

ruifengma avatar ruifengma commented on June 16, 2024

Being based on an existing model does not mean that the two have identical architectures.

InternVL-1.5's model card says that it isĀ InternViT-6B-448px-V1-5Ā + MLP +Ā InternLM2-Chat-20B. So, at least the first two components have to be added to the existing model.

If I'm not understand you wrong, I need to register InternViT-6B-448px-V1-5 and InternLM2-Chat-20B, then I need to register InternVL-1.5? Is that correct?

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 16, 2024

Being based on an existing model does not mean that the two have identical architectures.
InternVL-1.5's model card says that it isĀ InternViT-6B-448px-V1-5Ā + MLP +Ā InternLM2-Chat-20B. So, at least the first two components have to be added to the existing model.

If I'm not understand you wrong, I need to register InternViT-6B-448px-V1-5 and InternLM2-Chat-20B, then I need to register InternVL-1.5? Is that correct?

I mean that you have to at least implement those two components in vLLM. If InternVL-v1.5 has additional layers, they have to be implemented in vLLM as well.

from vllm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.