[CI/Build] Add DSv4.1 auto-label rules and narrow DSv4 (#56332)

Signed-off-by: Joe Cotant <joe@inferact.ai>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
jcotant-inferact
2026-09-12 09:50:16 -07:00
committed by GitHub
co-authored by Claude
parent 9d3e991ece
commit 3bb23e2def
2 changed files with 26 additions and 3 deletions
+21 -1
View File
@@ -330,12 +330,32 @@ pull_request_rules:
- label != stale
- or:
- files~=^vllm/models/deepseek_v4/
- title~=(?i)(?:\bDSv4\b|deepseek[-\s]?v4)
# Trailing (?![._]?1) keeps V4.1 out: DeepseekV41ForCausalLM is a
# distinct architecture with its own tree and label (DSv4.1).
- title~=(?i)(?:\bDSv4\b|deepseek[-\s_]?v4)(?![._]?1)
actions:
label:
add:
- DSv4
- name: label-dsv4-1
description: Automatically apply DSv4.1 label
conditions:
- label != stale
- or:
# The 4.1 sources spell the model three ways: deepseek_v4_1 (models),
# deepseek_v41 (most) and deepseekv41 (tool parsers).
- files~=^vllm/models/deepseek_v4_1/
- files~=^vllm/(?:parser|tokenizers|reasoning|transformers_utils/configs)/deepseek_v41.*\.py
- files~=^vllm/tool_parsers/deepseekv41.*\.py
- files~=^rust/src/(?:chat|parser)/src/.*deepseek_v41
- files~=^tests/.*deepseek_?v41
- title~=(?i)(?:\bDSv4[._]?1\b|deepseek[-\s_]?v4[._]?1)
actions:
label:
add:
- DSv4.1
- name: label-nvidia
description: Automatically apply nvidia label
conditions:
+5 -2
View File
@@ -197,9 +197,12 @@ jobs:
deepseek: {
keywords: [{ term: "DeepSeek", searchIn: "title" }],
},
// DSv4 and DSv4.1 are distinct architectures; these keep them exclusive.
DSv4: {
keywords: [{ term: "DSv4", searchIn: "title" }],
substrings: [{ term: "deepseek-v4", searchIn: "title" }],
regexPatterns: [{ pattern: "(?:\\bDSv4\\b|deepseek[-\\s_]?v4)(?![._]?1)", flags: "gi", searchIn: "title" }],
},
"DSv4.1": {
regexPatterns: [{ pattern: "(?:\\bDSv4[._]?1\\b|deepseek[-\\s_]?v4[._]?1)", flags: "gi", searchIn: "title" }],
},
llama: {
keywords: [{ term: "Llama", searchIn: "title" }],