From ec6c073fa492c227f51d1f595941b792df383e63 Mon Sep 17 00:00:00 2001 From: ethereal49 Date: Tue, 10 Nov 2026 05:34:10 -1000 Subject: [PATCH] chore: prune 11 stale legacy lint paths Signed-off-by: ethereal49 --- .pre-commit-config.yaml | 22 ---------------------- legacy-files.txt | 11 ----------- pyproject.toml | 11 ----------- ruff-legacy.toml | 11 ----------- 4 files changed, 55 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78fb8a3f7e18..7b98ff9dd0ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -284,12 +284,10 @@ common-files: &common_files | tensorrt_llm/_torch/pyexecutor/config_utils.py | tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py | tensorrt_llm/_torch/pyexecutor/executor_request_queue.py | - tensorrt_llm/_torch/pyexecutor/finish_reason.py | tensorrt_llm/_torch/pyexecutor/grammar_matcher.py | tensorrt_llm/_torch/pyexecutor/guided_decoder.py | tensorrt_llm/_torch/pyexecutor/handle_additional_outputs.py | tensorrt_llm/_torch/pyexecutor/handle_logits.py | - tensorrt_llm/_torch/pyexecutor/kv_cache/mamba_cache_manager.py | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | tensorrt_llm/_torch/pyexecutor/llm_request.py | tensorrt_llm/_torch/pyexecutor/model_loader.py | @@ -323,7 +321,6 @@ common-files: &common_files | tensorrt_llm/bench/benchmark/utils/processes.py | tensorrt_llm/bench/dataclasses/__init__.py | tensorrt_llm/bench/dataclasses/configuration.py | - tensorrt_llm/bench/dataclasses/engine.py | tensorrt_llm/bench/dataclasses/enums.py | tensorrt_llm/bench/dataclasses/general.py | tensorrt_llm/bench/dataclasses/reporting.py | @@ -465,10 +462,8 @@ common-files: &common_files | tests/integration/defs/accuracy/accuracy_core.py | tests/integration/defs/accuracy/scripts/collect_evaluated_accuracies.py | tests/integration/defs/accuracy/scripts/compute_theta_and_thresholds.py | - tests/integration/defs/accuracy/test_cli_flow.py | tests/integration/defs/accuracy/test_disaggregated_serving.py | tests/integration/defs/accuracy/test_llm_api_pytorch.py | - tests/integration/defs/accuracy/test_llm_api_pytorch_ray.py | tests/integration/defs/ci_profiler.py | tests/integration/defs/common.py | tests/integration/defs/conftest.py | @@ -486,7 +481,6 @@ common-files: &common_files | tests/integration/defs/examples/serve/test_serve_negative.py | tests/integration/defs/examples/test_gpt.py | tests/integration/defs/examples/test_llm_api_with_mpi.py | - tests/integration/defs/examples/test_phi.py | tests/integration/defs/examples/test_ray.py | tests/integration/defs/llmapi/__init__.py | tests/integration/defs/llmapi/_run_llmapi_llm.py | @@ -577,11 +571,7 @@ common-files: &common_files | tests/unittest/_torch/modeling/test_modeling_nemotron_nas.py | tests/unittest/_torch/modeling/test_modeling_out_of_tree.py | tests/unittest/_torch/modeling/test_modeling_phi3.py | - tests/unittest/_torch/modeling/test_modeling_qwen.py | - tests/unittest/_torch/modeling/test_modeling_qwen2_5vl.py | - tests/unittest/_torch/modeling/test_modeling_qwen_moe.py | tests/unittest/_torch/modeling/test_modeling_siglip.py | - tests/unittest/_torch/modeling/test_modeling_vila.py | tests/unittest/_torch/modules/test_group_rmn_norm.py | tests/unittest/_torch/modules/test_triton_linear.py | tests/unittest/_torch/moe/kernels/serial/test_moe.py | @@ -660,7 +650,6 @@ common-files: &common_files | tests/unittest/llmapi/apps/_test_openai_misc.py | tests/unittest/llmapi/apps/_test_openai_mmencoder.py | tests/unittest/llmapi/apps/_test_openai_multi_gpu.py | - tests/unittest/llmapi/apps/_test_openai_multi_nodes.py | tests/unittest/llmapi/apps/_test_openai_perf_metrics.py | tests/unittest/llmapi/apps/_test_openai_prometheus.py | tests/unittest/llmapi/apps/_test_openai_reasoning.py | @@ -1008,12 +997,10 @@ legacy-files: &legacy_files | tensorrt_llm/_torch/pyexecutor/config_utils.py | tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py | tensorrt_llm/_torch/pyexecutor/executor_request_queue.py | - tensorrt_llm/_torch/pyexecutor/finish_reason.py | tensorrt_llm/_torch/pyexecutor/grammar_matcher.py | tensorrt_llm/_torch/pyexecutor/guided_decoder.py | tensorrt_llm/_torch/pyexecutor/handle_additional_outputs.py | tensorrt_llm/_torch/pyexecutor/handle_logits.py | - tensorrt_llm/_torch/pyexecutor/kv_cache/mamba_cache_manager.py | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | tensorrt_llm/_torch/pyexecutor/llm_request.py | tensorrt_llm/_torch/pyexecutor/model_loader.py | @@ -1047,7 +1034,6 @@ legacy-files: &legacy_files | tensorrt_llm/bench/benchmark/utils/processes.py | tensorrt_llm/bench/dataclasses/__init__.py | tensorrt_llm/bench/dataclasses/configuration.py | - tensorrt_llm/bench/dataclasses/engine.py | tensorrt_llm/bench/dataclasses/enums.py | tensorrt_llm/bench/dataclasses/general.py | tensorrt_llm/bench/dataclasses/reporting.py | @@ -1189,10 +1175,8 @@ legacy-files: &legacy_files | tests/integration/defs/accuracy/accuracy_core.py | tests/integration/defs/accuracy/scripts/collect_evaluated_accuracies.py | tests/integration/defs/accuracy/scripts/compute_theta_and_thresholds.py | - tests/integration/defs/accuracy/test_cli_flow.py | tests/integration/defs/accuracy/test_disaggregated_serving.py | tests/integration/defs/accuracy/test_llm_api_pytorch.py | - tests/integration/defs/accuracy/test_llm_api_pytorch_ray.py | tests/integration/defs/ci_profiler.py | tests/integration/defs/common.py | tests/integration/defs/conftest.py | @@ -1210,7 +1194,6 @@ legacy-files: &legacy_files | tests/integration/defs/examples/serve/test_serve_negative.py | tests/integration/defs/examples/test_gpt.py | tests/integration/defs/examples/test_llm_api_with_mpi.py | - tests/integration/defs/examples/test_phi.py | tests/integration/defs/examples/test_ray.py | tests/integration/defs/llmapi/__init__.py | tests/integration/defs/llmapi/_run_llmapi_llm.py | @@ -1301,11 +1284,7 @@ legacy-files: &legacy_files | tests/unittest/_torch/modeling/test_modeling_nemotron_nas.py | tests/unittest/_torch/modeling/test_modeling_out_of_tree.py | tests/unittest/_torch/modeling/test_modeling_phi3.py | - tests/unittest/_torch/modeling/test_modeling_qwen.py | - tests/unittest/_torch/modeling/test_modeling_qwen2_5vl.py | - tests/unittest/_torch/modeling/test_modeling_qwen_moe.py | tests/unittest/_torch/modeling/test_modeling_siglip.py | - tests/unittest/_torch/modeling/test_modeling_vila.py | tests/unittest/_torch/modules/test_group_rmn_norm.py | tests/unittest/_torch/modules/test_triton_linear.py | tests/unittest/_torch/moe/kernels/serial/test_moe.py | @@ -1384,7 +1363,6 @@ legacy-files: &legacy_files | tests/unittest/llmapi/apps/_test_openai_misc.py | tests/unittest/llmapi/apps/_test_openai_mmencoder.py | tests/unittest/llmapi/apps/_test_openai_multi_gpu.py | - tests/unittest/llmapi/apps/_test_openai_multi_nodes.py | tests/unittest/llmapi/apps/_test_openai_perf_metrics.py | tests/unittest/llmapi/apps/_test_openai_prometheus.py | tests/unittest/llmapi/apps/_test_openai_reasoning.py | diff --git a/legacy-files.txt b/legacy-files.txt index f5c5de842439..1b5718a8e102 100644 --- a/legacy-files.txt +++ b/legacy-files.txt @@ -262,12 +262,10 @@ tensorrt_llm/_torch/pyexecutor/_util.py tensorrt_llm/_torch/pyexecutor/config_utils.py tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py tensorrt_llm/_torch/pyexecutor/executor_request_queue.py -tensorrt_llm/_torch/pyexecutor/finish_reason.py tensorrt_llm/_torch/pyexecutor/grammar_matcher.py tensorrt_llm/_torch/pyexecutor/guided_decoder.py tensorrt_llm/_torch/pyexecutor/handle_additional_outputs.py tensorrt_llm/_torch/pyexecutor/handle_logits.py -tensorrt_llm/_torch/pyexecutor/kv_cache/mamba_cache_manager.py tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py tensorrt_llm/_torch/pyexecutor/llm_request.py tensorrt_llm/_torch/pyexecutor/model_loader.py @@ -301,7 +299,6 @@ tensorrt_llm/bench/benchmark/utils/general.py tensorrt_llm/bench/benchmark/utils/processes.py tensorrt_llm/bench/dataclasses/__init__.py tensorrt_llm/bench/dataclasses/configuration.py -tensorrt_llm/bench/dataclasses/engine.py tensorrt_llm/bench/dataclasses/enums.py tensorrt_llm/bench/dataclasses/general.py tensorrt_llm/bench/dataclasses/reporting.py @@ -443,10 +440,8 @@ tests/integration/defs/accuracy/__init__.py tests/integration/defs/accuracy/accuracy_core.py tests/integration/defs/accuracy/scripts/collect_evaluated_accuracies.py tests/integration/defs/accuracy/scripts/compute_theta_and_thresholds.py -tests/integration/defs/accuracy/test_cli_flow.py tests/integration/defs/accuracy/test_disaggregated_serving.py tests/integration/defs/accuracy/test_llm_api_pytorch.py -tests/integration/defs/accuracy/test_llm_api_pytorch_ray.py tests/integration/defs/ci_profiler.py tests/integration/defs/common.py tests/integration/defs/conftest.py @@ -464,7 +459,6 @@ tests/integration/defs/examples/serve/test_serve.py tests/integration/defs/examples/serve/test_serve_negative.py tests/integration/defs/examples/test_gpt.py tests/integration/defs/examples/test_llm_api_with_mpi.py -tests/integration/defs/examples/test_phi.py tests/integration/defs/examples/test_ray.py tests/integration/defs/llmapi/__init__.py tests/integration/defs/llmapi/_run_llmapi_llm.py @@ -537,11 +531,7 @@ tests/unittest/_torch/modeling/test_modeling_nemotron_h.py tests/unittest/_torch/modeling/test_modeling_nemotron_nas.py tests/unittest/_torch/modeling/test_modeling_out_of_tree.py tests/unittest/_torch/modeling/test_modeling_phi3.py -tests/unittest/_torch/modeling/test_modeling_qwen.py -tests/unittest/_torch/modeling/test_modeling_qwen2_5vl.py -tests/unittest/_torch/modeling/test_modeling_qwen_moe.py tests/unittest/_torch/modeling/test_modeling_siglip.py -tests/unittest/_torch/modeling/test_modeling_vila.py tests/unittest/_torch/moe/test_fused_moe.py tests/unittest/_torch/modules/test_group_rmn_norm.py tests/unittest/_torch/moe/test_moe_host_sharer.py @@ -637,7 +627,6 @@ tests/unittest/llmapi/apps/_test_openai_metrics.py tests/unittest/llmapi/apps/_test_openai_misc.py tests/unittest/llmapi/apps/_test_openai_mmencoder.py tests/unittest/llmapi/apps/_test_openai_multi_gpu.py -tests/unittest/llmapi/apps/_test_openai_multi_nodes.py tests/unittest/llmapi/apps/_test_openai_perf_metrics.py tests/unittest/llmapi/apps/_test_openai_prometheus.py tests/unittest/llmapi/apps/_test_openai_reasoning.py diff --git a/pyproject.toml b/pyproject.toml index 38daa5abc161..36842dfb9134 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -342,12 +342,10 @@ exclude = [ "tensorrt_llm/_torch/pyexecutor/config_utils.py", "tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py", "tensorrt_llm/_torch/pyexecutor/executor_request_queue.py", - "tensorrt_llm/_torch/pyexecutor/finish_reason.py", "tensorrt_llm/_torch/pyexecutor/grammar_matcher.py", "tensorrt_llm/_torch/pyexecutor/guided_decoder.py", "tensorrt_llm/_torch/pyexecutor/handle_additional_outputs.py", "tensorrt_llm/_torch/pyexecutor/handle_logits.py", - "tensorrt_llm/_torch/pyexecutor/kv_cache/mamba_cache_manager.py", "tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py", "tensorrt_llm/_torch/pyexecutor/llm_request.py", "tensorrt_llm/_torch/pyexecutor/model_loader.py", @@ -381,7 +379,6 @@ exclude = [ "tensorrt_llm/bench/benchmark/utils/processes.py", "tensorrt_llm/bench/dataclasses/__init__.py", "tensorrt_llm/bench/dataclasses/configuration.py", - "tensorrt_llm/bench/dataclasses/engine.py", "tensorrt_llm/bench/dataclasses/enums.py", "tensorrt_llm/bench/dataclasses/general.py", "tensorrt_llm/bench/dataclasses/reporting.py", @@ -523,10 +520,8 @@ exclude = [ "tests/integration/defs/accuracy/accuracy_core.py", "tests/integration/defs/accuracy/scripts/collect_evaluated_accuracies.py", "tests/integration/defs/accuracy/scripts/compute_theta_and_thresholds.py", - "tests/integration/defs/accuracy/test_cli_flow.py", "tests/integration/defs/accuracy/test_disaggregated_serving.py", "tests/integration/defs/accuracy/test_llm_api_pytorch.py", - "tests/integration/defs/accuracy/test_llm_api_pytorch_ray.py", "tests/integration/defs/ci_profiler.py", "tests/integration/defs/common.py", "tests/integration/defs/conftest.py", @@ -544,7 +539,6 @@ exclude = [ "tests/integration/defs/examples/serve/test_serve_negative.py", "tests/integration/defs/examples/test_gpt.py", "tests/integration/defs/examples/test_llm_api_with_mpi.py", - "tests/integration/defs/examples/test_phi.py", "tests/integration/defs/examples/test_ray.py", "tests/integration/defs/llmapi/__init__.py", "tests/integration/defs/llmapi/_run_llmapi_llm.py", @@ -635,11 +629,7 @@ exclude = [ "tests/unittest/_torch/modeling/test_modeling_nemotron_nas.py", "tests/unittest/_torch/modeling/test_modeling_out_of_tree.py", "tests/unittest/_torch/modeling/test_modeling_phi3.py", - "tests/unittest/_torch/modeling/test_modeling_qwen.py", - "tests/unittest/_torch/modeling/test_modeling_qwen2_5vl.py", - "tests/unittest/_torch/modeling/test_modeling_qwen_moe.py", "tests/unittest/_torch/modeling/test_modeling_siglip.py", - "tests/unittest/_torch/modeling/test_modeling_vila.py", "tests/unittest/_torch/modules/test_group_rmn_norm.py", "tests/unittest/_torch/modules/test_triton_linear.py", "tests/unittest/_torch/moe/kernels/serial/test_moe.py", @@ -718,7 +708,6 @@ exclude = [ "tests/unittest/llmapi/apps/_test_openai_misc.py", "tests/unittest/llmapi/apps/_test_openai_mmencoder.py", "tests/unittest/llmapi/apps/_test_openai_multi_gpu.py", - "tests/unittest/llmapi/apps/_test_openai_multi_nodes.py", "tests/unittest/llmapi/apps/_test_openai_perf_metrics.py", "tests/unittest/llmapi/apps/_test_openai_prometheus.py", "tests/unittest/llmapi/apps/_test_openai_reasoning.py", diff --git a/ruff-legacy.toml b/ruff-legacy.toml index b8aee9fde253..faf95ea558ec 100644 --- a/ruff-legacy.toml +++ b/ruff-legacy.toml @@ -279,12 +279,10 @@ include = [ "tensorrt_llm/_torch/pyexecutor/config_utils.py", "tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py", "tensorrt_llm/_torch/pyexecutor/executor_request_queue.py", - "tensorrt_llm/_torch/pyexecutor/finish_reason.py", "tensorrt_llm/_torch/pyexecutor/grammar_matcher.py", "tensorrt_llm/_torch/pyexecutor/guided_decoder.py", "tensorrt_llm/_torch/pyexecutor/handle_additional_outputs.py", "tensorrt_llm/_torch/pyexecutor/handle_logits.py", - "tensorrt_llm/_torch/pyexecutor/kv_cache/mamba_cache_manager.py", "tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py", "tensorrt_llm/_torch/pyexecutor/llm_request.py", "tensorrt_llm/_torch/pyexecutor/model_loader.py", @@ -318,7 +316,6 @@ include = [ "tensorrt_llm/bench/benchmark/utils/processes.py", "tensorrt_llm/bench/dataclasses/__init__.py", "tensorrt_llm/bench/dataclasses/configuration.py", - "tensorrt_llm/bench/dataclasses/engine.py", "tensorrt_llm/bench/dataclasses/enums.py", "tensorrt_llm/bench/dataclasses/general.py", "tensorrt_llm/bench/dataclasses/reporting.py", @@ -460,10 +457,8 @@ include = [ "tests/integration/defs/accuracy/accuracy_core.py", "tests/integration/defs/accuracy/scripts/collect_evaluated_accuracies.py", "tests/integration/defs/accuracy/scripts/compute_theta_and_thresholds.py", - "tests/integration/defs/accuracy/test_cli_flow.py", "tests/integration/defs/accuracy/test_disaggregated_serving.py", "tests/integration/defs/accuracy/test_llm_api_pytorch.py", - "tests/integration/defs/accuracy/test_llm_api_pytorch_ray.py", "tests/integration/defs/ci_profiler.py", "tests/integration/defs/common.py", "tests/integration/defs/conftest.py", @@ -481,7 +476,6 @@ include = [ "tests/integration/defs/examples/serve/test_serve_negative.py", "tests/integration/defs/examples/test_gpt.py", "tests/integration/defs/examples/test_llm_api_with_mpi.py", - "tests/integration/defs/examples/test_phi.py", "tests/integration/defs/examples/test_ray.py", "tests/integration/defs/llmapi/__init__.py", "tests/integration/defs/llmapi/_run_llmapi_llm.py", @@ -572,11 +566,7 @@ include = [ "tests/unittest/_torch/modeling/test_modeling_nemotron_nas.py", "tests/unittest/_torch/modeling/test_modeling_out_of_tree.py", "tests/unittest/_torch/modeling/test_modeling_phi3.py", - "tests/unittest/_torch/modeling/test_modeling_qwen.py", - "tests/unittest/_torch/modeling/test_modeling_qwen2_5vl.py", - "tests/unittest/_torch/modeling/test_modeling_qwen_moe.py", "tests/unittest/_torch/modeling/test_modeling_siglip.py", - "tests/unittest/_torch/modeling/test_modeling_vila.py", "tests/unittest/_torch/modules/test_group_rmn_norm.py", "tests/unittest/_torch/modules/test_triton_linear.py", "tests/unittest/_torch/moe/kernels/serial/test_moe.py", @@ -655,7 +645,6 @@ include = [ "tests/unittest/llmapi/apps/_test_openai_misc.py", "tests/unittest/llmapi/apps/_test_openai_mmencoder.py", "tests/unittest/llmapi/apps/_test_openai_multi_gpu.py", - "tests/unittest/llmapi/apps/_test_openai_multi_nodes.py", "tests/unittest/llmapi/apps/_test_openai_perf_metrics.py", "tests/unittest/llmapi/apps/_test_openai_prometheus.py", "tests/unittest/llmapi/apps/_test_openai_reasoning.py",