TensorRT-LLMs/tensorrt_llm/_torch/pyexecutor
Netanel Haber aa72d39b72
MTP and derivatives: Align sample state with trtllm sampler sample state (#5675)
This PR moves MTPSampler and derivatives to use the universal seq_slot indexing for sampling.
This is the last piece of the puzzle: After this, all of the samplers will use this format.
See: 6ee94c7
Signed-off-by: Netanel Haber <nhaber@nvidia.com>
2025-07-03 19:55:48 +02:00
..
__init__.py Update TensorRT-LLM (#2755) 2025-02-11 03:01:00 +00:00
_util.py Feat/pytorch vswa kvcachemanager (#5151) 2025-07-02 15:58:00 +08:00
config_utils.py feat: support kv cache reuse for MLA (#3571) 2025-05-15 15:22:21 +08:00
config.py feat: add LLmArgs option to force using dynamic quantization (#5346) 2025-07-01 12:16:09 -07:00
cuda_graph_runner.py [feat] Support torch compile for attention dp (#5086) 2025-07-01 13:48:52 -04:00
finish_reason.py [TRTLLM-5974][feat] Support disaggregated serving in TRTLLM Sampler (#5328) 2025-06-25 17:41:36 +02:00
grammar_matcher.py feat: TRTLLM-5941 Upgrade xgrammar to 0.1.18 (#5364) 2025-07-01 20:12:55 +08:00
guided_decoder.py Reintroduce with perf fixes: feature: unify new_tokens format sample state to trtllm samper tokens format (#5513) 2025-06-30 11:58:59 -07:00
handle_context_logits.py refactor: Update decoder buffer and logits management (#4450) 2025-06-18 08:10:32 +08:00
handle_generation_logits.py refactor: Update decoder buffer and logits management (#4450) 2025-06-18 08:10:32 +08:00
kv_cache_transceiver.py Solve underallocation in VSWA+/VGQA (#4667) 2025-06-12 12:12:46 +08:00
layerwise_nvtx_marker.py Update TensorRT-LLM (#2849) 2025-03-04 18:44:00 +08:00
llm_request.py MTP and derivatives: Align sample state with trtllm sampler sample state (#5675) 2025-07-03 19:55:48 +02:00
make_decoding_batch_input_output.py refactor: Speculative decoding buffers part 2 (#5316) 2025-06-27 17:41:48 +02:00
model_engine.py MTP and derivatives: Align sample state with trtllm sampler sample state (#5675) 2025-07-03 19:55:48 +02:00
py_executor_creator.py Feat/pytorch vswa kvcachemanager (#5151) 2025-07-02 15:58:00 +08:00
py_executor.py Reintroduce with perf fixes: feature: unify new_tokens format sample state to trtllm samper tokens format (#5513) 2025-06-30 11:58:59 -07:00
resource_manager.py [TRTLLM-4923][feat] Enable CUDA graphs for Nemotron-H (#5646) 2025-07-03 11:07:51 +03:00
sampler.py MTP and derivatives: Align sample state with trtllm sampler sample state (#5675) 2025-07-03 19:55:48 +02:00
scheduler.py Reintroduce with perf fixes: feature: unify new_tokens format sample state to trtllm samper tokens format (#5513) 2025-06-30 11:58:59 -07:00
seq_slot_manager.py Reintroduce with perf fixes: feature: unify new_tokens format sample state to trtllm samper tokens format (#5513) 2025-06-30 11:58:59 -07:00