Skip to content

feat(vllm): add support for image-to-text and video-to-text - #3729

Merged
mudler merged 7 commits into
masterfrom
feat/vllm_multimodal
Oct 4, 2024
Merged

feat(vllm): add support for image-to-text and video-to-text#3729
mudler merged 7 commits into
masterfrom
feat/vllm_multimodal

Conversation

@mudler

@mudlermudler commented Oct 4, 2024

Copy link
Copy Markdown
Owner

Description

Depends on #3728

Closes: #2318
Closes: #3670

Also covers #3669 as should enable also Vision with Llama3.2 models

Notes for Reviewers

not tested yet on a GPU - just made sure it does not break generation by running vLLM in CPU-mode.

Signed commits

  • Yes, I signed my commits.

Related to #3670
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudlermudler added the enhancement New feature or request label Oct 4, 2024
@mudler
mudler marked this pull request as draft October 4, 2024 15:30
@netlify

netlifyBot commented Oct 4, 2024

Copy link
Copy Markdown

Deploy Preview for localai ready!

NameLink
🔨 Latest commitd68e7ae
🔍 Latest deploy loghttps://app.netlify.com/sites/localai/deploys/6700274f04703500083d8b3f
😎 Deploy Previewhttps://deploy-preview-3729--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

mudlerand others added 4 commits October 4, 2024 18:32
Closes: #2318
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudlermudler changed the title feat(vllm): add support for image-to-textfeat(vllm): add support for image-to-text and video-to-textOct 4, 2024
@mudler

Copy link
Copy Markdown
OwnerAuthor

Gotta try images on a GPU card. On CPU seems that generation is not broken at least, so should be good to merge and test on master

@mudler
mudler marked this pull request as ready for review October 4, 2024 17:29
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Comment threadbackend/python/vllm/backend.py Outdated
Comment threadbackend/python/vllm/install.sh Outdated
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
@mudler
mudler merged commit 2553de0 into masterOct 4, 2024
@mudler
mudler deleted the feat/vllm_multimodal branch October 4, 2024 21:42
siddimore pushed a commit to siddimore/LocalAI that referenced this pull request Oct 6, 2024
)
* feat(vllm): add support for image-to-text
Related to mudler#3670
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* feat(vllm): add support for video-to-text
Closes: mudler#2318
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* feat(vllm): support CPU installations
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* feat(vllm): add bnb
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* chore: add docs reference
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* Apply suggestions from code review
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
---------
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multimodals models with vLLM feat(multimodal): Video understanding

1 participant

@mudler