Skip to content

Commit 2dd43d0

Browse files
committed
Update the codecov.yml
Signed-off-by: Jingyu Xin <jingyux@nvidia.com>
1 parent 5b1a358 commit 2dd43d0

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

.github/codecov.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,3 @@ coverage:
1111
target: auto
1212
threshold: 1% # Allow atmost 1% coverage drop from main branch.
1313
patch: false
14-
15-
# Exclude GPU-only Triton kernel files from ALL codecov calculations (project
16-
# and patch checks, all flags). Rationale: these files are dominated by
17-
# @triton.jit kernel bodies that CPU unit tests cannot exercise. GPU tests
18-
# cover them end-to-end (see tests/gpu/torch/sparsity/attention_sparsity/) but
19-
# the `gpu`-flag upload may race with the PR status check, so relying on flag
20-
# combination alone leaves the project check flaky. Dropping these files here
21-
# makes the check deterministic — local `pytest --cov` and GPU runs still
22-
# measure them; only the codecov PR status ignores them.
23-
ignore:
24-
- "modelopt/torch/kernels/triton_fa.py"
25-
- "modelopt/torch/kernels/hf_triton_attention.py"

0 commit comments

Comments
 (0)