TensorRT-LLMs/tensorrt_llm/_torch/models
Kate Cheng 7dbe618683
feat: Add multimodal embedding field in LlmRequest (#3855)
* Add a new param to LlmRequest and Request to natively support mm

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* update comment

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Update tests to match the new LlmRequest constructor parameters

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Modify unitTest and modify mm_embeding's dict name in llama4

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Fix based on comments

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Fix comment

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Fix LlmRequest initialization in kvCacheManagerTest

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Clean up code for promt_tuning_config

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

* Clean up prompt_tuning_config in GenerationRequest

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>

---------

Signed-off-by: Kate Cheng <yunhsuanc@nvidia.com>
Co-authored-by: Haohang Huang <31998628+symphonylyh@users.noreply.github.com>
2025-05-01 12:23:30 +08:00
..
__init__.py feat: Mistral-Large-2 support in the Pytorch workflow 2025-04-30 20:12:39 +08:00
.gitkeep Update TensorRT-LLM (#2755) 2025-02-11 03:01:00 +00:00
modeling_auto.py Fix create_weights in attention (#3692) 2025-04-24 07:30:00 +08:00
modeling_bert.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
modeling_deepseekv3.py Clean up allreduce op in Deepseek V3 model. (#3829) 2025-05-01 07:56:36 +08:00
modeling_llama.py feat: Add multimodal embedding field in LlmRequest (#3855) 2025-05-01 12:23:30 +08:00
modeling_llava_next.py feat: Add multimodal embedding field in LlmRequest (#3855) 2025-05-01 12:23:30 +08:00
modeling_mamba_hybrid.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
modeling_mistral.py feat: Mistral-Large-2 support in the Pytorch workflow 2025-04-30 20:12:39 +08:00
modeling_mixtral.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
modeling_mllama.py chore: Use ellipsis as default value to detect whether residual argument is provided (#3626) 2025-04-17 12:31:58 +08:00
modeling_multimodal_encoder.py Update TensorRT-LLM (#2873) 2025-03-11 21:13:42 +08:00
modeling_multimodal_utils.py feat: llama4 input processor (#3383) 2025-04-25 16:47:14 -07:00
modeling_nemotron_h.py Support NemotronH FP8 Quantization 2025-04-29 18:51:43 +03:00
modeling_nemotron_nas.py Fix create_weights in attention (#3692) 2025-04-24 07:30:00 +08:00
modeling_nemotron.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
modeling_qwen2vl.py feat: Add multimodal embedding field in LlmRequest (#3855) 2025-05-01 12:23:30 +08:00
modeling_qwen_moe.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
modeling_qwen.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
modeling_utils.py chore: bump version to 0.19.0 (#3598) (#3841) 2025-04-29 16:57:22 +08:00
modeling_vila.py feat: Add multimodal embedding field in LlmRequest (#3855) 2025-05-01 12:23:30 +08:00