Skip to content

[CICD] Unify Qwen3.6 tests and consolidate MUSA/MetaX/Ascend CI updates - #347

Merged
xmhubj merged 5 commits into
flagos-ai:mainfrom
BrianPei:PR-qwen3_6-yaml-unify
Aug 10, 2026
Merged

[CICD] Unify Qwen3.6 tests and consolidate MUSA/MetaX/Ascend CI updates#347
xmhubj merged 5 commits into
flagos-ai:mainfrom
BrianPei:PR-qwen3_6-yaml-unify

Conversation

@HermiaHuan

@HermiaHuan HermiaHuan commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR consolidates the pending MUSA S5000, MetaX graph serving, and Ascend 910C CI updates, and keeps Qwen3.6 test configs unified across platforms.

Changes

  • Unify Qwen3.6 test configs into shared 27B/35B TP2/TP4 eager/graph YAML cases.
  • Move platform/device-specific Qwen3.6 differences into tests/platforms/*yaml device_overrides.
  • Add runner/config loading support for applying device-level case overrides.
  • Add serving response validation for text and image chat cases.
  • Add MUSA S5000 CI config, scripts, Dockerfile, and platform test config.
  • Add MetaX graph serving CI matrix support and timeout override handling.
  • Add Ascend 910C CI/image/script updates and related Ascend validation patches.

Notes

This PR consolidates the relevant changes from #314, #327, and #328. The old platform-specific Qwen3.6 YAML files are not kept; their differences are represented through unified cases plus platform device_overrides.

Validation

  • Generated CI matrices for cuda, hygon, metax, musa, and ascend.
  • Verified platform discovery includes cuda, ascend, hygon, metax, and musa.
  • Verified Qwen3.6 config loading applies device overrides correctly.
  • Ran shell syntax checks for Docker/build/setup scripts.
  • Ran Python compile check with temporary pycache.

@HermiaHuan
HermiaHuan force-pushed the PR-qwen3_6-yaml-unify branch 3 times, most recently from aba4d82 to 41f0839 Compare August 6, 2026 10:48
@HermiaHuan
HermiaHuan force-pushed the PR-qwen3_6-yaml-unify branch from fec105e to db5055a Compare August 6, 2026 14:00
@HermiaHuan HermiaHuan changed the title [CICD] Unify Qwen3.6 test configs by device overrides [CICD] Unify Qwen3.6 tests and consolidate MUSA/MetaX/Ascend CI updates Aug 6, 2026
Unify Qwen3.6 model test configs across platforms and consolidate pending MUSA S5000, MetaX graph serving, and Ascend 910C CI updates.
@HermiaHuan
HermiaHuan force-pushed the PR-qwen3_6-yaml-unify branch from db5055a to 03b71a1 Compare August 7, 2026 03:47
Comment thread requirements/ascend.txt
Comment thread .github/workflows/ascend-manual.yml Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this workflow

Comment thread .github/workflows/ci.yml
platform: hygon
secrets: inherit

# ============================================================

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we remove this line

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we change the model path in this file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Comment thread tests/models/qwen3_6/27b_tp2_eager.yaml Outdated
generate:
prompts:
- "Introduce yourself,please"
- "Where is the capital of France"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The capital of France is

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to validate the output response

tensor_parallel_size: 2
pipeline_parallel_size: 1
max_model_len: 262144
max_model_len: 8192

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the correct setting?

Comment thread tests/platforms/musa.yaml Outdated
Comment thread tests/utils/model_config.py
Comment thread tests/utils/model_config.py Outdated
``FL_TEST_PLATFORM`` when unset.
device: Optional device name used to apply device-level overrides.
Defaults to ``FL_TEST_DEVICE`` when unset.
platforms_dir: Override directory for platform configs.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need platfors_dir?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need to change this core file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Comment thread .github/workflows/ascend-manual.yml Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove this workflows

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to modify the configure file.

Comment thread tests/models/qwen3_6/27b_tp2_eager.yaml Outdated
chat_messages:
- role: "user"
content: "Introduce yourself,please"
content: "Where is the capital of France"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chat_messages should be removed.

max_tokens: 1024
sampling:
temperature: 0.0
stream: false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we change stream to false?

sampling:
temperature: 0.0
stream: false
max_tokens: 256

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Comment thread tests/models/qwen3_6/27b_tp2_graph.yaml Outdated
max_tokens: 256
chat_messages:
- role: "user"
content: "Where is the capital of France"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove chat_messages

llm:
model: "/data/models/Qwen/Qwen3.6-27B"
tensor_parallel_size: 2
tensor_parallel_size: 4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default configure file in models folder is the default settings we got from dev.

Comment thread tests/models/qwen3_6/27b_tp4_eager.yaml Outdated
@@ -38,6 +38,18 @@ serve:
max_tokens: 256
chat_messages:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove chat_messages as we have chat_cases

Comment thread tests/models/qwen3_6/27b_tp4_graph.yaml Outdated
max_tokens: 256
chat_messages:
- role: "user"
content: "Where is the capital of France"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove chat_messages

Comment thread tests/platforms/template.yaml Outdated
# Use this for parameters that differ from the base model YAML.
device_overrides:
my_device:
qwen_case_name:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e2e_test_case_name:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

explain the reason why we add this test case

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

explain the reason why we add this test case

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

explain the reason why we add this test case

Comment thread tests/utils/model_config.py Outdated
case,
platform,
device,
platforms_dir,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need this parameter

@HermiaHuan

HermiaHuan commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator Author

filed an issue to track the ascend rotary operator/runtime problem: #356

based on the log, this issue is triggered when the ascend functional test uses the vendor implementation of rotary_embedding and hits an ATB RopeOperation setup failure. This is unrelated to the qwen3_6 config unification itself, so I will keep this pr focused on the qwen3_6 config changes and avoid introducing ascend operator-level changes

Comment thread tests/platforms/cuda.yaml Outdated
e2e:
serving:
qwen3_6: ["27b_tp2_262k", "35b_a3b_tp2_262k"]
qwen3_6: ["27b_tp2_eager", "35b_a3b_tp2_eager"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

35b_a3b_tp2_graph

- name: Check device availability
run: bash .github/scripts/${{ inputs.platform }}/check.sh

- name: Prepare host models

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check test models

@xmhubj
xmhubj merged commit 43edeb6 into flagos-ai:main Aug 10, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants