"...retiarii_test/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "3bce6926ac57e957f44eb942f1b01a5067490a17"
Unverified Commit 60f96496 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Fix `DeepSpeed` CI job link in Past CI (#22967)



* Fix job link

* fix artifact name logic

---------
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 073baf7f
......@@ -727,7 +727,7 @@ def retrieve_available_artifacts():
_available_artifacts[artifact_name].add_path(directory, gpu="single")
elif artifact_name.startswith("multi-gpu"):
artifact_name = directory[len("multi-gpu") + 1 :]
artifact_name = artifact_name[len("multi-gpu") + 1 :]
if artifact_name in _available_artifacts:
_available_artifacts[artifact_name].multi_gpu = True
......@@ -985,12 +985,13 @@ if __name__ == "__main__":
continue
for artifact_path in available_artifacts[additional_files[key]].paths:
# Link to the GitHub Action job
job_name = key
if artifact_path["gpu"] is not None:
additional_results[key]["job_link"][artifact_path["gpu"]] = github_actions_job_links.get(
f"{key} ({artifact_path['gpu']}-gpu)"
)
else:
additional_results[key]["job_link"][artifact_path["gpu"]] = github_actions_job_links.get(key)
job_name = f"{key} ({artifact_path['gpu']}-gpu)"
if job_name_prefix:
job_name = f"{job_name_prefix} / {job_name}"
additional_results[key]["job_link"][artifact_path["gpu"]] = github_actions_job_links.get(job_name)
artifact = retrieve_artifact(artifact_path["path"], artifact_path["gpu"])
stacktraces = handle_stacktraces(artifact["failures_line"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment