[CI/Build] Add experimental AMD MI300 nightly lane (#6978)
Signed-off-by: andyluo7 <andy.luo@amd.com>
This commit is contained in:
1 parent
e8f45fcd89
commit
58adeec05f
10 files changed
+147
-30
No files matched your search
@@ -10,10 +10,11 @@ import yaml
|
||||
pytestmark = [pytest.mark.core_model, pytest.mark.cpu]
|
||||
|
||||
AMD_MERGE_PIPELINE = Path(".buildkite/amd/test-amd-merge.yml")
|
||||
AMD_NIGHTLY_PIPELINE = Path(".buildkite/amd/test-amd-nightly.yml")
|
||||
|
||||
|
||||
def _find_step(label: str) -> dict:
|
||||
pipeline = yaml.safe_load(AMD_MERGE_PIPELINE.read_text(encoding="utf-8"))
|
||||
def _find_step(label: str, pipeline_path: Path = AMD_MERGE_PIPELINE) -> dict:
|
||||
pipeline = yaml.safe_load(pipeline_path.read_text(encoding="utf-8"))
|
||||
|
||||
def walk(steps: list[dict]) -> dict | None:
|
||||
for step in steps:
|
||||
@@ -40,3 +41,15 @@ def test_qwen3_tts_base_preserves_advanced_model_arguments() -> None:
|
||||
run_level_index = argv.index("--run-level")
|
||||
assert argv[marker_index + 1] == "advanced_model and cuda"
|
||||
assert argv[run_level_index + 1] == "advanced_model"
|
||||
|
||||
|
||||
def test_qwen3_accuracy_defers_artifact_path_expansion() -> None:
|
||||
step = _find_step("Qwen3-Omni Accuracy", AMD_NIGHTLY_PIPELINE)
|
||||
staging_command = next(command for command in step["commands"] if "artifact_dir=" in command)
|
||||
|
||||
# Dynamic pipelines are interpolated once during upload. Double dollars
|
||||
# preserve these variables for the GPU job's runtime shell.
|
||||
assert '"$$PWD"' in staging_command
|
||||
assert '"$${BUILDKITE_BUILD_CHECKOUT_PATH:?}"' in staging_command
|
||||
assert '"$$artifact_dir"' in staging_command
|
||||
assert step["artifact_paths"] == ["tests/e2e/accuracy/qwen3_omni/results/qwen_omni_acc/*.json"]
|
||||
Reference in new issue
Block a user