Skip to content
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

[Usage]: How can I use LLMEngine to perform distributed inference for multimodal large models, such as Qwen-VL? #12305

Open
1 task done
frederichen01 opened this issue Jan 22, 2025 · 1 comment
Labels
usage How to use vllm

Comments

@frederichen01
Copy link

Your current environment

infer LLM, the code is :
engine = LLMEngine.from_engine_args(engine_args)
prompt_token_ids = tokenizer.encode(
template.format(input_text=item["prompt"].strip()),
max_length=8192,
truncation=True
)
engine.add_request(request_id=, prompt={'prompt_token_ids': prompt_token_ids}, params=sampling_params)

In MLLM, Can you provide an example?

How would you like to use vllm

I want to run inference of a Qwen-VL. I don't know how to integrate it with vllm.

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
@frederichen01 frederichen01 added the usage How to use vllm label Jan 22, 2025
@Hyunnicolou
Copy link

Please read VLLM tutorial: https://docs.vllm.ai/en/latest/serving/multimodal_inputs.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage How to use vllm
Projects
None yet
Development

No branches or pull requests

2 participants