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

[Model Requests] Support Qwen2.5-VL Architecture #2794

Open
mtezgider opened this issue Feb 18, 2025 · 0 comments
Open

[Model Requests] Support Qwen2.5-VL Architecture #2794

mtezgider opened this issue Feb 18, 2025 · 0 comments

Comments

@mtezgider
Copy link

I would like to request support for the Qwen2.5-VL architecture in TensorRT-LLM.

When I try to convert the model to an LLM checkpoint and build the engine, I encounter the following error:

Traceback (most recent call last): File "/usr/local/bin/trtllm-build", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.12/dist-packages/tensorrt_llm/commands/build.py", line 517, in main model_config = PretrainedConfig.from_json_file(config_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/tensorrt_llm/models/modeling_utils.py", line 434, in from_json_file obj = cls.from_dict(config) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/tensorrt_llm/models/modeling_utils.py", line 416, in from_dict model_cls = MODEL_MAP[config['architecture']] ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'Qwen2_5_VLForConditionalGeneration'

It seems that Qwen2.5-VL is not yet included in the MODEL_MAP within TensorRT-LLM. Since Qwen2 VL models are already supported, adding Qwen2.5-VL would be a valuable extension, particularly for multimodal tasks (text + image understanding).

Request:
Could you provide insights on whether there are plans to support this architecture in future releases?

Thanks!

@mtezgider mtezgider changed the title [Model Requests] Add support for Qwen/Qwen2.5-VL Architecture [Model Requests] Support Qwen2.5-VL Architecture Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant