TensorRT-LLMs/tensorrt_llm/_torch/models
hlu1 31624b079a
feat: [Deepseek] Add trtllm-gen MOE FP4 MOE backend (#3387)
* Add TRT-LLM Gen MOE to Deepseek

fix fused moe rebase bug.

Fix atol in test_fp4_gemm_quantize.py

fix fused moe rebase bug.

Fix FusedMoe.

Disable 2nd routing kernel preexit

Bump routing reduction to fp32

Disable PDL for fc1

[DEBUG] Lift token limit to 16k

[Bugfix] Token limit to 16k + fp32 routing + tanh

Make fp8 tileN 8

Fix FP8 MoE + Remove redundent temp output for FP4

[FP8-only] Avoid wasting CTAs for activation kernel

fix: unblock FP8 weightloading with trtllm-gen

Remove max_token limit for trtllm-gen path

perf: avoid type-conversion and fill_ from aten

Minor fix

Signed-off-by: Hao Lu <haolu@nvidia.com>

* Fix rebase issues

Signed-off-by: Hao Lu <haolu@nvidia.com>

* Fix compile issue

Signed-off-by: Zongfei Jing <20381269+zongfeijing@users.noreply.github.com>

* CI clean

Signed-off-by: Zongfei Jing <20381269+zongfeijing@users.noreply.github.com>

---------

Signed-off-by: Hao Lu <haolu@nvidia.com>
Signed-off-by: Zongfei Jing <20381269+zongfeijing@users.noreply.github.com>
Co-authored-by: Zongfei Jing <20381269+zongfeijing@users.noreply.github.com>
2025-04-21 10:01:33 +08:00
..
__init__.py feat: Nemotron-H model support (#3430) 2025-04-16 14:05:56 -07:00
.gitkeep Update TensorRT-LLM (#2755) 2025-02-11 03:01:00 +00:00
modeling_auto.py Cache sin cos in model instead of global LRU cache. (#3378) 2025-04-14 11:19:09 +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 feat: [Deepseek] Add trtllm-gen MOE FP4 MOE backend (#3387) 2025-04-21 10:01:33 +08:00
modeling_llama.py fix: llama4: address couple of issues in llama4 attention module (#3491) 2025-04-18 01:54:59 +00:00
modeling_llava_next.py feat: trtllm-serve multimodal support (#3590) 2025-04-19 05:01:28 +08:00
modeling_mamba_hybrid.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +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 Update TensorRT-LLM (#2873) 2025-03-11 21:13:42 +08:00
modeling_nemotron_h.py Fix rotary_emb param in NemotronH attention (#3646) 2025-04-16 21:03:07 -07:00
modeling_nemotron_nas.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +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: trtllm-serve multimodal support (#3590) 2025-04-19 05:01:28 +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 feat: [Deepseek] Add trtllm-gen MOE FP4 MOE backend (#3387) 2025-04-21 10:01:33 +08:00
modeling_vila.py feat: trtllm-serve multimodal support (#3590) 2025-04-19 05:01:28 +08:00