We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d522f commit cb38d0bCopy full SHA for cb38d0b
tensorrt_llm/_torch/models/modeling_qwen2vl.py
@@ -919,7 +919,8 @@ def __init__(
919
self.model_config = model_config
920
self.config = model_config.pretrained_config
921
922
- assert model_config.attn_backend == 'TRTLLM', "Qwen2/2.5-VL only supports TRTLLM backend now"
+ if model_config.attn_backend != 'TRTLLM':
923
+ raise ValueError("Qwen2/2.5-VL only supports TRTLLM backend now")
924
if not disabble_fuse_rope:
925
self.init_mrope_embedding(model_config)
926
0 commit comments