From 56ba880acad19d5091042e096696af68572857f2 Mon Sep 17 00:00:00 2001 From: skydoorkai Date: Tue, 12 Aug 2025 20:13:11 +0800 Subject: [PATCH] add coveragerc --- .coveragerc | 32 ++++++++++++++++++++++++++++++++ .coveragerc_rl | 6 ++++++ 2 files changed, 38 insertions(+) create mode 100644 .coveragerc create mode 100644 .coveragerc_rl diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..6205d67 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,32 @@ +[run] +branch=True +concurrency=multiprocessing +parallel = True +source = ./atorch +omit = + */tests/* + */benchmarks/* + atorch/modules/normalization/* + atorch/npu/* + atorch/rl/* + atorch/kernels/patches/* + atorch/data_parallel/zero_ddp_mix_112.py + atorch/data_parallel/adp.py + atorch/auto/opt_lib/shard_planners/* + atorch/service/* + atorch/fault_tolerance/* + atorch/auto/engine/sg_algo/hebo/optimizers/* + atorch/utils/inspector/analyze_log.py + examples/* + atorch/trainer/models/atorch_model.py + atorch/modules/distributed_modules/compilers/pipe_compiler/* + atorch/modules/distributed_modules/compilers/tp_compiler/* + atorch/trainer/base/async_save/megatron_async_save/* + atorch/trainer/models/atorch_model.py + atorch/ops/quantizer/* + atorch/data_parallel/auto_wrap.py + atorch/trainer/megatron/megatron_async_save.py + atorch/utils/ib_monitor.py + atorch/utils/numberic_checker.py + atorch/utils/parse_trace_json.py + atorch/utils/parse_memory_pickle.py \ No newline at end of file diff --git a/.coveragerc_rl b/.coveragerc_rl new file mode 100644 index 0000000..10c8973 --- /dev/null +++ b/.coveragerc_rl @@ -0,0 +1,6 @@ +[run] +branch=True +concurrency=multiprocessing +parallel = True +source = ./atorch/rl +