TensorRT-LLMs/tests/unittest
William Zhang 11a0b276fb
[#9230][feat] Slimmed down implementation of nemotron H (#9235)
* Why?

The reference nemotron H code on HuggingFace is out of date,
and therefore bugged, and has several untested code paths.
This makes an already hairy patching system even hairier.

The proposal is to do away with those patches, and replace the
original implementation with one that is heavily slimmed down.

* What?

This PR sets the basis for an alternative path with such a 
slimmed down implementation that:
- fixes bugs in the current HF implementation
- adds no new dependencies to TensorRT-LLM
- does away with unnecessary features for TensorRT-LLM/
  AutoDeploy:
- no training related code (dropout, gradient checkpointing, etc.)
- no caching logic (we want to replace it with our own anyway)
- no attention masking where possible
- reuses existing AD custom ops for mamba SSM update /
   causal conv1d / attention

In order for the above to be usable in the AD apparatus,
`AutoModelForCausalLMFactory` is extended to allow registrations
of custom model implementations.

Signed-off-by: William Zhang <133824995+2ez4bz@users.noreply.github.com>
2025-11-23 03:13:32 -08:00
..
_torch [#9230][feat] Slimmed down implementation of nemotron H (#9235) 2025-11-23 03:13:32 -08:00
api_stability [TRTLLM-9179][feat] add pp_partition to customize each rank's layer number (#9003) 2025-11-13 10:34:17 +08:00
bindings [TRTLLM-8684][chore] Migrate BuildConfig to Pydantic, add a Python wrapper for KVCacheType enum (#8330) 2025-10-28 09:17:26 -07:00
disaggregated [TRTLLM-7843][feat] implement disagg cluster auto-scaling (#8215) 2025-10-21 17:25:07 -04:00
executor [TRTLLM-8933][chore] remove unused update_executor_config function (#8678) 2025-10-27 10:00:47 -04:00
llmapi [https://nvbugs/5504095][fix] Unwaive test_user_specify_workspace case. (#8316) 2025-11-20 12:43:13 -05:00
others [None][feat] Add disagg relay time to time breakdown tool (#8465) 2025-10-30 18:21:45 -07:00
scaffolding [None][feat] Refactor scaffolding streaming feature and fix openai wo… (#8622) 2025-10-30 16:02:40 +08:00
tools [None][feat] Add Qwen3-Next to layer-wise benchmarks (#9065) 2025-11-14 10:03:00 +08:00
trt [TRTLLM-8682][chore] Remove auto_parallel module (#8329) 2025-10-22 20:53:08 -04:00
utils [TRTLLM-9175][test] ensure sampling is async (#9076) 2025-11-12 15:27:52 +01:00
conftest.py [None][feat] Add Qwen3-Next to layer-wise benchmarks (#9065) 2025-11-14 10:03:00 +08:00
dump_checkpoint_stats.py Update TensorRT-LLM (#2936) 2025-03-18 21:25:19 +08:00
gc_utils.py [nvbug 5273941] fix: broken cyclic reference detect (#5417) 2025-07-01 20:12:55 +08:00
profile_utils.py Update TensorRT-LLM (#2936) 2025-03-18 21:25:19 +08:00
pytest.ini [https://nvbugs/5608461][fix] exclude InductorSubproc from thread leak check (#8704) 2025-10-30 15:35:15 +08:00
test_model_runner_cpp.py Update TensorRT-LLM (#2936) 2025-03-18 21:25:19 +08:00
test_pip_install.py [https://nvbugs/5616189][fix] Make more cases use local cached models (#8935) 2025-11-11 03:14:05 -08:00