InternLM / InternLM/lmdeploy

[Feature] Support logprob in VLM api server

Open
#2,041 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### Motivation

I found that the input token logprob is supported by Offline Inference Pipeline, as mentioned in [doc](https://lmdeploy.readthedocs.io/en/latest/inference/vl_pipeline.html#calculate-logits).
However, when I deployed a VLM server, I found that this feature was not supported. How to enable this on the server? Thanks.

### Related resources

The code I deploy a server is `lmdeploy serve api_server openbmb/MiniCPM-Llama3-V-2_5 --server-port 23333 --session-len 4096`

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.