forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
473 lines (461 loc) · 22.4 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
[tool.black]
line-length = 80
skip-string-normalization = true
extend-exclude = '''
(
third_party/.+ # Exclude third_party directory
| build/.+ # Exclude build directory
)
'''
[tool.isort]
profile = "black"
line_length = 80
known_first_party = ["paddle"]
skip = ["build", "third_party", "__init__.py"]
extend_skip_glob = [
# These files do not need to be formatted,
# see .flake8 for more details
"python/paddle/base/**",
"python/paddle/utils/gast/**",
]
[tool.ruff]
exclude = [
"./build",
"third_party",
"./python/paddle/utils/gast/**",
]
target-version = "py37"
select = [
# Pyflakes
"F",
# Comprehensions
"C4",
# Pyupgrade
"UP",
# NumPy-specific rules
"NPY001",
# "NPY003",
# Bugbear
"B002",
"B003",
"B004",
"B009",
"B010",
"B011",
"B012",
"B013",
"B014",
"B015",
"B016",
"B017",
"B018",
"B019",
"B020",
"B021",
"B022",
"B025",
"B029",
"B032",
# Pylint
"PLE",
"PLC0414",
"PLC3002",
"PLR0206",
"PLR0402",
"PLR1701",
# "PLR1711", # Confirmation required
"PLR1722",
"PLW3301",
]
unfixable = [
"NPY001"
]
ignore = [
# `name` may be undefined, or defined from star imports: `module`
"F405",
# Local variable name is assigned to but never used
"F841",
# It not met the "Explicit is better than implicit" rule
"UP015",
# It will cause the performance regression on python3.10
"UP038",
]
[tool.ruff.per-file-ignores]
# Ignore unused imports in __init__.py
"__init__.py" = ["F401"]
# Ignore undefined variables in CMake config and some dygraph_to_static tests
".cmake-format.py" = ["F821"]
"test/dygraph_to_static/test_closure_analysis.py" = ["F821"]
"python/paddle/static/amp/decorator.py" = ["F821"]
# Ignore version check in setup.py
"setup.py" = ["UP036"]
# Ignore unnecessary comprehension in dy2st unittest test_loop
"test/dygraph_to_static/test_loop.py" = ["C416", "F821"]
# Ignore unnecessary lambda in dy2st unittest test_lambda
"test/dygraph_to_static/test_lambda.py" = ["PLC3002"]
# Temporarily ignored
"python/paddle/base/**" = [
"UP032",
"UP031",
"C408",
"UP030",
"F403",
"B010",
"PLR1722",
"UP034",
"C405",
"C417",
"PLR0402",
"B004",
"B009",
"B016",
"B019", # Confirmation required
"C411",
"C416",
"F821",
"PLC0414",
]
# UP018
"python/paddle/distributed/fleet/meta_optimizers/localsgd_optimizer.py" = ["UP018"]
"python/paddle/distributed/fleet/meta_optimizers/sharding/utils.py" = ["UP018", "UP032"]
"python/paddle/distributed/fleet/meta_optimizers/sharding_optimizer.py" = ["UP018", "UP032"]
"python/paddle/distributed/fleet/utils/pp_parallel_adaptor.py" = ["UP018", "UP032"]
"python/paddle/incubate/autograd/utils.py" = ["UP018"]
"python/paddle/incubate/optimizer/gradient_merge.py" = ["UP018", "UP032"]
"python/paddle/nn/functional/loss.py" = ["UP018", "UP032"]
"python/paddle/distributed/passes/auto_parallel_gradient_merge.py" = ["UP018"]
"python/paddle/hapi/dynamic_flops.py" = ["UP018", "UP032"]
"python/paddle/incubate/optimizer/pipeline.py" = ["UP018", "UP032"]
"python/paddle/static/nn/metric.py" = ["UP018"]
"test/cinn/ops/test_fill_constant_op.py" = ["UP018"]
"test/collective/fleet/parallel_dygraph_transformer.py" = ["UP018"]
"test/collective/fleet/test_dgc_op.py" = ["UP018"]
"test/dygraph_to_static/transformer_dygraph_model.py" = ["UP018"]
"test/legacy_test/fleet_heter_ps_training.py" = ["UP018"]
"test/legacy_test/test_fake_quantize_op.py" = ["UP018"]
"test/legacy_test/test_generate_mask_labels_op.py" = ["UP018"]
"test/legacy_test/test_imperative_transformer_sorted_gradient.py" = ["UP018"]
"test/legacy_test/test_progressbar.py" = ["UP018"]
"test/legacy_test/test_tensor_fill_.py" = ["UP018"]
# B017
"test/auto_parallel/spmd_rules/test_reshape_rule.py" = ["B017"]
"test/dygraph_to_static/test_assert.py" = ["B017"]
"test/legacy_test/test_cuda_max_memory_allocated.py" = ["B017"]
"test/legacy_test/test_cuda_max_memory_reserved.py" = ["B017"]
"test/legacy_test/test_cuda_memory_allocated.py" = ["B017"]
"test/legacy_test/test_cuda_memory_reserved.py" = ["B017"]
"test/legacy_test/test_eigvals_op.py" = ["B017"]
"test/legacy_test/test_tensordot.py" = ["B017"]
"test/legacy_test/test_top_k_v2_op.py" = ["B017"]
# UP032
"paddle/fluid/ir/dialect/op_generator/api_gen.py" = ["UP032"]
"paddle/fluid/ir/dialect/op_generator/op_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/api_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/backward_api_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/dist_api_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/dist_bw_api_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/sparse_api_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/sparse_bw_api_gen.py" = ["UP032"]
"paddle/phi/api/yaml/generator/strings_api_gen.py" = ["UP032"]
"paddle/phi/kernels/fusion/cutlass/memory_efficient_attention/generate_kernels.py" = ["UP032"]
"parse_build_time.py" = ["UP032"]
"python/paddle/amp/accuracy_compare.py" = ["UP032"]
"python/paddle/audio/backends/init_backend.py" = ["UP032"]
"python/paddle/audio/backends/wave_backend.py" = ["UP032"]
"python/paddle/batch.py" = ["UP032"]
"python/paddle/dataset/common.py" = ["UP032"]
"python/paddle/device/cuda/__init__.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/interface.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/completion.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/converter.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/cost/base_cost.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/cost/tensor_cost.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/cost_model.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/dist_context.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/dist_op.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/dist_tensor.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/engine.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/graph.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_check_finite_and_unscale.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_default.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_embedding.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_matmul.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_pnorm.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_reduce_sum_p.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_reshape.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/operators/dist_update_loss_scaling.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/partitioner.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/reshard.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/tuner/algorithms.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/tuner/optimization_tuner.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/tuner/recorder.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/tuner/rule_based_tuner.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/tuner/tunable_variable.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/static/utils.py" = ["UP032"]
"python/paddle/distributed/auto_parallel/strategy.py" = ["UP032"]
"python/paddle/distributed/cloud_utils.py" = ["UP032"]
"python/paddle/distributed/communication/group.py" = ["UP032"]
"python/paddle/distributed/communication/stream/gather.py" = ["UP032"]
"python/paddle/distributed/fleet/base/orthogonal_strategy.py" = ["UP032"]
"python/paddle/distributed/fleet/base/role_maker.py" = ["UP032"]
"python/paddle/distributed/fleet/base/strategy_group.py" = ["UP032"]
"python/paddle/distributed/fleet/base/util_factory.py" = ["UP032"]
"python/paddle/distributed/fleet/cloud_utils.py" = ["UP032"]
"python/paddle/distributed/fleet/elastic/manager.py" = ["UP032"]
"python/paddle/distributed/fleet/launch.py" = ["UP032"]
"python/paddle/distributed/fleet/launch_utils.py" = ["UP032"]
"python/paddle/distributed/fleet/layers/mpu/mp_layers.py" = ["UP032"]
"python/paddle/distributed/fleet/layers/mpu/mp_ops.py" = ["UP032"]
"python/paddle/distributed/fleet/meta_optimizers/dygraph_optimizer/dygraph_sharding_optimizer.py" = ["UP032"]
"python/paddle/distributed/fleet/meta_optimizers/meta_optimizer_base.py" = ["UP032"]
"python/paddle/distributed/fleet/meta_optimizers/sharding/fp16_helper.py" = ["UP032"]
"python/paddle/distributed/fleet/meta_optimizers/sharding/weight_decay_helper.py" = ["UP032"]
"python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py" = ["UP032"]
"python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py" = ["UP032"]
"python/paddle/distributed/fleet/recompute/recompute_hybrid.py" = ["UP032"]
"python/paddle/distributed/fleet/runtime/parameter_server_runtime.py" = ["UP032"]
"python/paddle/distributed/fleet/runtime/the_one_ps.py" = ["UP032"]
"python/paddle/distributed/fleet/utils/fs.py" = ["UP032"]
"python/paddle/distributed/fleet/utils/hybrid_parallel_inference.py" = ["UP032"]
"python/paddle/distributed/fleet/utils/sequence_parallel_utils.py" = ["UP032"]
"python/paddle/distributed/launch/context/device.py" = ["UP032"]
"python/paddle/distributed/launch/controllers/collective.py" = ["UP032"]
"python/paddle/distributed/launch/job/pod.py" = ["UP032"]
"python/paddle/distributed/launch/plugins/__init__.py" = ["UP032"]
"python/paddle/distributed/parallel.py" = ["UP032"]
"python/paddle/distributed/passes/auto_parallel_amp.py" = ["UP032"]
"python/paddle/distributed/passes/auto_parallel_data_parallel_optimization.py" = ["UP032"]
"python/paddle/distributed/passes/auto_parallel_fp16.py" = ["UP032"]
"python/paddle/distributed/passes/auto_parallel_grad_clip.py" = ["UP032"]
"python/paddle/distributed/passes/auto_parallel_pipeline.py" = ["UP032"]
"python/paddle/distributed/passes/auto_parallel_sharding.py" = ["UP032"]
"python/paddle/distributed/passes/pipeline_scheduler_pass.py" = ["UP032"]
"python/paddle/distributed/ps/coordinator.py" = ["UP032"]
"python/paddle/distributed/ps/the_one_ps.py" = ["UP032"]
"python/paddle/distributed/ps/utils/public.py" = ["UP032"]
"python/paddle/distributed/utils/launch_utils.py" = ["UP032"]
"python/paddle/distributed/utils/nccl_utils.py" = ["UP032"]
"python/paddle/fft.py" = ["UP032"]
"python/paddle/framework/io.py" = ["UP032"]
"python/paddle/framework/random.py" = ["UP032"]
"python/paddle/hapi/callbacks.py" = ["UP032"]
"python/paddle/hapi/hub.py" = ["UP032"]
"python/paddle/hapi/model_summary.py" = ["UP032"]
"python/paddle/hapi/progressbar.py" = ["UP032"]
"python/paddle/incubate/asp/asp.py" = ["UP032"]
"python/paddle/incubate/asp/supported_layer_list.py" = ["UP032"]
"python/paddle/incubate/asp/utils.py" = ["UP032"]
"python/paddle/incubate/distributed/fleet/fleet_util.py" = ["UP032"]
"python/paddle/incubate/distributed/fleet/parameter_server/distribute_transpiler/distributed_strategy.py" = ["UP032"]
"python/paddle/incubate/distributed/fleet/parameter_server/ir/trainer_pass.py" = ["UP032"]
"python/paddle/incubate/distributed/fleet/utils.py" = ["UP032"]
"python/paddle/incubate/nn/layer/fused_dropout_nd.py" = ["UP032"]
"python/paddle/incubate/nn/layer/fused_transformer.py" = ["UP032"]
"python/paddle/incubate/optimizer/functional/bfgs.py" = ["UP032"]
"python/paddle/incubate/optimizer/functional/lbfgs.py" = ["UP032"]
"python/paddle/incubate/optimizer/recompute.py" = ["UP032"]
"python/paddle/incubate/passes/ir.py" = ["UP032"]
"python/paddle/io/dataloader/batch_sampler.py" = ["UP032"]
"python/paddle/io/dataloader/collate.py" = ["UP032"]
"python/paddle/io/dataloader/dataloader_iter.py" = ["UP032"]
"python/paddle/io/dataloader/flat.py" = ["UP032"]
"python/paddle/io/dataloader/sampler.py" = ["UP032"]
"python/paddle/io/dataloader/worker.py" = ["UP032"]
"python/paddle/io/reader.py" = ["UP032"]
"python/paddle/jit/api.py" = ["UP032"]
"python/paddle/jit/dy2static/base_transformer.py" = ["UP032"]
"python/paddle/jit/dy2static/basic_api_transformer.py" = ["UP032"]
"python/paddle/jit/dy2static/convert_operators.py" = ["UP032"]
"python/paddle/jit/dy2static/decorator_transformer.py" = ["UP032"]
"python/paddle/jit/dy2static/error.py" = ["UP032"]
"python/paddle/jit/dy2static/function_spec.py" = ["UP032"]
"python/paddle/jit/dy2static/logical_transformer.py" = ["UP032"]
"python/paddle/jit/dy2static/origin_info.py" = ["UP032"]
"python/paddle/jit/dy2static/utils.py" = ["UP032"]
"python/paddle/jit/dy2static/variable_trans_func.py" = ["UP032"]
"python/paddle/metric/metrics.py" = ["UP032"]
"python/paddle/nn/functional/activation.py" = ["UP032"]
"python/paddle/nn/functional/common.py" = ["UP032"]
"python/paddle/nn/functional/conv.py" = ["UP032"]
"python/paddle/nn/functional/extension.py" = ["UP032"]
"python/paddle/nn/functional/input.py" = ["UP032"]
"python/paddle/nn/functional/norm.py" = ["UP032"]
"python/paddle/nn/functional/pooling.py" = ["UP032"]
"python/paddle/nn/functional/vision.py" = ["UP032"]
"python/paddle/nn/initializer/initializer.py" = ["UP032"]
"python/paddle/nn/layer/activation.py" = ["UP032"]
"python/paddle/nn/layer/common.py" = ["UP032"]
"python/paddle/nn/layer/container.py" = ["UP032"]
"python/paddle/nn/layer/layers.py" = ["UP032"]
"python/paddle/nn/layer/loss.py" = ["UP032"]
"python/paddle/nn/layer/norm.py" = ["UP032"]
"python/paddle/nn/layer/pooling.py" = ["UP032"]
"python/paddle/nn/layer/rnn.py" = ["UP032"]
"python/paddle/nn/layer/transformer.py" = ["UP032"]
"python/paddle/nn/layer/vision.py" = ["UP032"]
"python/paddle/nn/utils/spectral_norm_hook.py" = ["UP032"]
"python/paddle/nn/utils/weight_norm_hook.py" = ["UP032"]
"python/paddle/onnx/export.py" = ["UP032"]
"python/paddle/optimizer/lr.py" = ["UP032"]
"python/paddle/optimizer/optimizer.py" = ["UP032"]
"python/paddle/profiler/profiler.py" = ["UP032"]
"python/paddle/profiler/profiler_statistic.py" = ["UP032"]
"python/paddle/profiler/timer.py" = ["UP032"]
"python/paddle/signal.py" = ["UP032"]
"python/paddle/sparse/creation.py" = ["UP032"]
"python/paddle/sparse/nn/functional/conv.py" = ["UP032"]
"python/paddle/sparse/unary.py" = ["UP032"]
"python/paddle/static/amp/bf16/amp_utils.py" = ["UP032"]
"python/paddle/static/amp/fp16_utils.py" = ["UP032"]
"python/paddle/static/io.py" = ["UP032"]
"python/paddle/static/nn/common.py" = ["UP032"]
"python/paddle/static/nn/control_flow.py" = ["UP032"]
"python/paddle/static/quantization/quantization_pass.py" = ["UP032"]
"python/paddle/tensor/linalg.py" = ["UP032"]
"python/paddle/tensor/manipulation.py" = ["UP032"]
"python/paddle/tensor/math.py" = ["UP032"]
"python/paddle/tensor/to_string.py" = ["UP032"]
"python/paddle/utils/cpp_extension/cpp_extension.py" = ["UP032"]
"python/paddle/utils/cpp_extension/extension_utils.py" = ["UP032"]
"python/paddle/utils/deprecated.py" = ["UP032"]
"python/paddle/utils/dlpack.py" = ["UP032"]
"python/paddle/utils/download.py" = ["UP032"]
"python/paddle/utils/install_check.py" = ["UP032"]
"python/paddle/utils/layers_utils.py" = ["UP032"]
"python/paddle/vision/datasets/cifar.py" = ["UP032"]
"python/paddle/vision/datasets/flowers.py" = ["UP032"]
"python/paddle/vision/datasets/mnist.py" = ["UP032"]
"python/paddle/vision/datasets/voc2012.py" = ["UP032"]
"python/paddle/vision/image.py" = ["UP032"]
"python/paddle/vision/models/densenet.py" = ["UP032"]
"python/paddle/vision/models/mobilenetv3.py" = ["UP032"]
"python/paddle/vision/models/squeezenet.py" = ["UP032"]
"python/paddle/vision/transforms/functional_tensor.py" = ["UP032"]
"python/paddle/vision/transforms/transforms.py" = ["UP032"]
"test/book/test_word2vec_book.py" = ["UP032"]
"test/cinn/op_mappers/op_mapper_test.py" = ["UP032"]
"test/cinn/passes/pass_test.py" = ["UP032"]
"test/cinn/test_paddle_model_convertor.py" = ["UP032"]
"test/collective/fleet/parallel_dygraph_se_resnext.py" = ["UP032"]
"test/collective/fleet/test_parallel_dygraph_pp_adaptor.py" = ["UP032"]
"test/contrib/test_multi_precision_fp16_train.py" = ["UP032"]
"test/cpp/inference/api/full_ILSVRC2012_val_preprocess.py" = ["UP032"]
"test/cpp_extension/test_cpp_extension_setup.py" = ["UP032"]
"test/cpp_extension/test_mixed_extension_setup.py" = ["UP032"]
"test/cpp_extension/utils.py" = ["UP032"]
"test/custom_kernel/test_custom_kernel_dot.py" = ["UP032"]
"test/custom_op/test_context_pool.py" = ["UP032"]
"test/custom_op/test_custom_attrs_jit.py" = ["UP032"]
"test/custom_op/test_custom_cast_op_jit.py" = ["UP032"]
"test/custom_op/test_custom_concat.py" = ["UP032"]
"test/custom_op/test_custom_relu_op_jit.py" = ["UP032"]
"test/custom_op/test_custom_relu_op_setup.py" = ["UP032"]
"test/custom_op/test_custom_relu_op_xpu_setup.py" = ["UP032"]
"test/custom_op/test_custom_simple_slice.py" = ["UP032"]
"test/custom_op/test_custom_tensor_operator.py" = ["UP032"]
"test/custom_op/utils.py" = ["UP032"]
"test/custom_runtime/test_collective_process_group_xccl.py" = ["UP032"]
"test/custom_runtime/test_custom_cpu_plugin.py" = ["UP032"]
"test/custom_runtime/test_custom_cpu_profiler_plugin.py" = ["UP032"]
"test/custom_runtime/test_custom_cpu_to_static.py" = ["UP032"]
"test/custom_runtime/test_custom_op_setup.py" = ["UP032"]
"test/distributed_passes/dist_pass_test_base.py" = ["UP032"]
"test/dygraph_to_static/test_break_continue.py" = ["UP032"]
"test/dygraph_to_static/test_build_strategy.py" = ["UP032"]
"test/dygraph_to_static/test_cache_program.py" = ["UP032"]
"test/dygraph_to_static/test_cast.py" = ["UP032"]
"test/dygraph_to_static/test_container.py" = ["UP032"]
"test/dygraph_to_static/test_convert_call.py" = ["UP032"]
"test/dygraph_to_static/test_dict.py" = ["UP032"]
"test/dygraph_to_static/test_error.py" = ["UP032"]
"test/dygraph_to_static/test_fetch_feed.py" = ["UP032"]
"test/dygraph_to_static/test_lac.py" = ["UP032"]
"test/dygraph_to_static/test_layer_hook.py" = ["UP032"]
"test/dygraph_to_static/test_list.py" = ["UP032"]
"test/dygraph_to_static/test_logical.py" = ["UP032"]
"test/dygraph_to_static/test_lstm.py" = ["UP032"]
"test/dygraph_to_static/test_mnist.py" = ["UP032"]
"test/dygraph_to_static/test_mnist_amp.py" = ["UP032"]
"test/dygraph_to_static/test_mnist_pure_fp16.py" = ["UP032"]
"test/dygraph_to_static/test_mobile_net.py" = ["UP032"]
"test/dygraph_to_static/test_resnet.py" = ["UP032"]
"test/dygraph_to_static/test_resnet_amp.py" = ["UP032"]
"test/dygraph_to_static/test_resnet_pure_fp16.py" = ["UP032"]
"test/dygraph_to_static/test_resnet_v2.py" = ["UP032"]
"test/dygraph_to_static/test_se_resnet.py" = ["UP032"]
"test/dygraph_to_static/test_seq2seq.py" = ["UP032"]
"test/dygraph_to_static/yolov3.py" = ["UP032"]
"test/fft/spectral_op_np.py" = ["UP032"]
"test/ir/inference/test_trt_convert_multiclass_nms.py" = ["UP032"]
"test/ir/inference/test_trt_convert_multiclass_nms3.py" = ["UP032"]
"test/ir/inference/test_trt_pool3d_op.py" = ["UP032"]
"test/ir/inference/test_trt_pool_op.py" = ["UP032"]
"test/legacy_test/auto_parallel_autoconvert.py" = ["UP032"]
"test/legacy_test/benchmark.py" = ["UP032"]
"test/legacy_test/dist_fleet_ctr.py" = ["UP032"]
"test/legacy_test/dist_fleet_ctr_ps_gpu.py" = ["UP032"]
"test/legacy_test/dist_fleet_simnet_bow.py" = ["UP032"]
"test/legacy_test/dist_fleet_sparse_embedding_ctr.py" = ["UP032"]
"test/legacy_test/dist_fleet_sync_batch_norm.py" = ["UP032"]
"test/legacy_test/dist_se_resnext.py" = ["UP032"]
"test/legacy_test/eager_op_test.py" = ["UP032"]
"test/legacy_test/fleet_meta_optimizer_base.py" = ["UP032"]
"test/legacy_test/gradient_checker.py" = ["UP032"]
"test/legacy_test/test_chunk_eval_op.py" = ["UP032"]
"test/legacy_test/test_detach.py" = ["UP032"]
"test/legacy_test/test_dist_base.py" = ["UP032"]
"test/legacy_test/test_dist_fleet_base.py" = ["UP032"]
"test/legacy_test/test_eager_deletion_delete_vars.py" = ["UP032"]
"test/legacy_test/test_fused_dropout_add_op.py" = ["UP032"]
"test/legacy_test/test_generate_proposals_op.py" = ["UP032"]
"test/legacy_test/test_generator_dataloader.py" = ["UP032"]
"test/legacy_test/test_imperative_resnet.py" = ["UP032"]
"test/legacy_test/test_imperative_se_resnext.py" = ["UP032"]
"test/legacy_test/test_inplace.py" = ["UP032"]
"test/legacy_test/test_layers.py" = ["UP032"]
"test/legacy_test/test_lstm_cudnn_op.py" = ["UP032"]
"test/legacy_test/test_multi_dot_op.py" = ["UP032"]
"test/legacy_test/test_multiprocess_dataloader_iterable_dataset_static.py" = ["UP032"]
"test/legacy_test/test_multiprocess_dataloader_static.py" = ["UP032"]
"test/legacy_test/test_ops_nms.py" = ["UP032"]
"test/legacy_test/test_pylayer_op.py" = ["UP032"]
"test/legacy_test/test_run.py" = ["UP032"]
"test/legacy_test/test_sample_logits_op.py" = ["UP032"]
"test/legacy_test/test_signal.py" = ["UP032"]
"test/legacy_test/test_static_save_load.py" = ["UP032"]
"test/legacy_test/test_sync_batch_norm_op.py" = ["UP032"]
"test/legacy_test/test_translated_layer.py" = ["UP032"]
"test/legacy_test/test_tril_triu_op.py" = ["UP032"]
"test/legacy_test/test_variable.py" = ["UP032"]
"test/legacy_test/test_view_op_reuse_allocation.py" = ["UP032"]
"test/mkldnn/test_onnx_format_quantization_mobilenetv1.py" = ["UP032"]
"test/ps/static_gpubox_trainer.py" = ["UP032"]
"test/quantization/quant2_int8_image_classification_comparison.py" = ["UP032"]
"test/quantization/quant2_int8_lstm_model.py" = ["UP032"]
"test/quantization/quant_int8_image_classification_comparison.py" = ["UP032"]
"test/quantization/test_imperative_ptq.py" = ["UP032"]
"test/quantization/test_imperative_qat_amp.py" = ["UP032"]
"test/quantization/test_post_training_quantization_lstm_model.py" = ["UP032"]
"test/quantization/test_post_training_quantization_mnist.py" = ["UP032"]
"test/quantization/test_post_training_quantization_mobilenetv1.py" = ["UP032"]
"test/quantization/test_post_training_quantization_while.py" = ["UP032"]
"test/quantization/test_quant_post_quant_aware.py" = ["UP032"]
"test/quantization/test_weight_quantization_mobilenetv1.py" = ["UP032"]
"test/rnn/rnn_numpy.py" = ["UP032"]
"test/tokenizer/bert_tokenizer.py" = ["UP032"]
"test/tokenizer/tokenizer_utils.py" = ["UP032"]
"test/xpu/test_generate_proposals_v2_op_xpu.py" = ["UP032"]
"test/xpu/test_tril_triu_op_xpu.py" = ["UP032"]
"tools/analysisPyXml.py" = ["UP032"]
"tools/check_op_benchmark_result.py" = ["UP032"]
"tools/check_op_desc.py" = ["UP032"]
"tools/count_api_without_core_ops.py" = ["UP032"]
"tools/coverage/gcda_clean.py" = ["UP032"]
"tools/coverage/python_coverage.py" = ["UP032"]
"tools/externalError/spider.py" = ["UP032"]
"tools/get_single_test_cov.py" = ["UP032"]
"tools/parse_kernel_info.py" = ["UP032"]
"tools/print_signatures.py" = ["UP032"]
"tools/sampcd_processor_utils.py" = ["UP032"]
"test/custom_kernel/test_custom_kernel_load.py" = ["UP032"]
"python/paddle/distributed/fleet/utils/tensor_parallel_utils.py" = ["UP032"]