@@ -33,6 +33,20 @@ extend_skip_glob = [
33
33
" tensorrt_llm/top_model_mixin.py" ,
34
34
" tests/unittest/_torch/modeling/test_modeling_mistral.py" ,
35
35
" tests/unittest/_torch/modeling/test_modeling_pixtral.py" ,
36
+ # Phase 2.
37
+ " tensorrt_llm/_tensorrt_engine/*.py" ,
38
+ " tensorrt_llm/_torch/auto_deploy/custom_ops/torch_libs/*.py" ,
39
+ " tensorrt_llm/_torch/debug/*.py" ,
40
+ " tensorrt_llm/_torch/shared_tensor/*.py" ,
41
+ " tensorrt_llm/_torch/peft/*.py" ,
42
+ " tensorrt_llm/evaluate/lm_eval_tasks/gpqa/cot_zeroshot_aa/*.py" ,
43
+ " tensorrt_llm/models/clip/*.py" ,
44
+ " tensorrt_llm/models/internlm/*.py" ,
45
+ " tensorrt_llm/models/mmdit_sd3/*.py" ,
46
+ " tensorrt_llm/models/multimodal_encoders/*.py" ,
47
+ " tensorrt_llm/models/skywork/*.py" ,
48
+ " tensorrt_llm/models/stdit/*.py" ,
49
+ " tensorrt_llm/scaffolding/contrib/**/*.py" ,
36
50
]
37
51
38
52
[tool .yapf ]
@@ -63,6 +77,20 @@ ignore_patterns = [
63
77
" tensorrt_llm/top_model_mixin.py" ,
64
78
" tests/unittest/_torch/modeling/test_modeling_mistral.py" ,
65
79
" tests/unittest/_torch/modeling/test_modeling_pixtral.py" ,
80
+ # Phase 2.
81
+ " tensorrt_llm/_tensorrt_engine/*.py" ,
82
+ " tensorrt_llm/_torch/auto_deploy/custom_ops/torch_libs/*.py" ,
83
+ " tensorrt_llm/_torch/debug/*.py" ,
84
+ " tensorrt_llm/_torch/shared_tensor/*.py" ,
85
+ " tensorrt_llm/_torch/peft/*.py" ,
86
+ " tensorrt_llm/evaluate/lm_eval_tasks/gpqa/cot_zeroshot_aa/*.py" ,
87
+ " tensorrt_llm/models/clip/*.py" ,
88
+ " tensorrt_llm/models/internlm/*.py" ,
89
+ " tensorrt_llm/models/mmdit_sd3/*.py" ,
90
+ " tensorrt_llm/models/multimodal_encoders/*.py" ,
91
+ " tensorrt_llm/models/skywork/*.py" ,
92
+ " tensorrt_llm/models/stdit/*.py" ,
93
+ " tensorrt_llm/scaffolding/contrib/**/*.py" ,
66
94
]
67
95
68
96
[tool .codespell ]
@@ -74,8 +102,7 @@ ignore-words-list = "rouge,inout,atleast,strat,nd,subtile,thrid,improbe,NotIn,te
74
102
in-place = true
75
103
remove_all_unused_imports = true
76
104
remove_unused_variables = true
77
- # This should match the `include` in `[tool.ruff]`. See the comments in that section for why this
78
- # is necessary.
105
+ # This should match the `include` in `[tool.ruff]`. The reason is that it is setup to run on the entire codebase.
79
106
exclude = [
80
107
" **/auto_deploy/**" ,
81
108
" tensorrt_llm/_common.py" ,
@@ -97,6 +124,20 @@ exclude = [
97
124
" tensorrt_llm/top_model_mixin.py" ,
98
125
" tests/unittest/_torch/modeling/test_modeling_mistral.py" ,
99
126
" tests/unittest/_torch/modeling/test_modeling_pixtral.py" ,
127
+ # Phase 2.
128
+ " tensorrt_llm/_tensorrt_engine/*.py" ,
129
+ " tensorrt_llm/_torch/auto_deploy/custom_ops/torch_libs/*.py" ,
130
+ " tensorrt_llm/_torch/debug/*.py" ,
131
+ " tensorrt_llm/_torch/shared_tensor/*.py" ,
132
+ " tensorrt_llm/_torch/peft/*.py" ,
133
+ " tensorrt_llm/evaluate/lm_eval_tasks/gpqa/cot_zeroshot_aa/*.py" ,
134
+ " tensorrt_llm/models/clip/*.py" ,
135
+ " tensorrt_llm/models/internlm/*.py" ,
136
+ " tensorrt_llm/models/mmdit_sd3/*.py" ,
137
+ " tensorrt_llm/models/multimodal_encoders/*.py" ,
138
+ " tensorrt_llm/models/skywork/*.py" ,
139
+ " tensorrt_llm/models/stdit/*.py" ,
140
+ " tensorrt_llm/scaffolding/contrib/**/*.py" ,
100
141
]
101
142
102
143
@@ -140,6 +181,20 @@ include = [
140
181
" tensorrt_llm/top_model_mixin.py" ,
141
182
" tests/unittest/_torch/modeling/test_modeling_mistral.py" ,
142
183
" tests/unittest/_torch/modeling/test_modeling_pixtral.py" ,
184
+ # Phase 2.
185
+ " tensorrt_llm/_tensorrt_engine/*.py" ,
186
+ " tensorrt_llm/_torch/auto_deploy/custom_ops/torch_libs/*.py" ,
187
+ " tensorrt_llm/_torch/debug/*.py" ,
188
+ " tensorrt_llm/_torch/shared_tensor/*.py" ,
189
+ " tensorrt_llm/_torch/peft/*.py" ,
190
+ " tensorrt_llm/evaluate/lm_eval_tasks/gpqa/cot_zeroshot_aa/*.py" ,
191
+ " tensorrt_llm/models/clip/*.py" ,
192
+ " tensorrt_llm/models/internlm/*.py" ,
193
+ " tensorrt_llm/models/mmdit_sd3/*.py" ,
194
+ " tensorrt_llm/models/multimodal_encoders/*.py" ,
195
+ " tensorrt_llm/models/skywork/*.py" ,
196
+ " tensorrt_llm/models/stdit/*.py" ,
197
+ " tensorrt_llm/scaffolding/contrib/**/*.py" ,
143
198
]
144
199
exclude = [
145
200
" **3rdparty/**" ,
0 commit comments