From 3bb23e2def9527d941be57c5a7d47401a8dbaedc Mon Sep 17 00:00:00 2001 From: jcotant-inferact Date: Sat, 12 Sep 2026 09:50:16 -0700 Subject: [PATCH] [CI/Build] Add DSv4.1 auto-label rules and narrow DSv4 (#56332) Signed-off-by: Joe Cotant Co-authored-by: Claude --- .github/mergify.yml | 22 +++++++++++++++++++++- .github/workflows/issue_autolabel.yml | 7 +++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 04a623a499..ba3a69ee35 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -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: diff --git a/.github/workflows/issue_autolabel.yml b/.github/workflows/issue_autolabel.yml index b2392e87ce..fc6e4921ef 100644 --- a/.github/workflows/issue_autolabel.yml +++ b/.github/workflows/issue_autolabel.yml @@ -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" }],