Skip to content

[atom-vllm CI] align the aiter download logic with atom CI#706

Merged
zejunchen-zejun merged 1 commit into
mainfrom
zejun/fix_atom_vllm_ci_aiter_download_logic_0507
May 7, 2026
Merged

[atom-vllm CI] align the aiter download logic with atom CI#706
zejunchen-zejun merged 1 commit into
mainfrom
zejun/fix_atom_vllm_ci_aiter_download_logic_0507

Conversation

@zejunchen-zejun

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: zejunchen-zejun <zejun.chen@amd.com>
Copilot AI review requested due to automatic review settings May 7, 2026 01:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the atom-vllm CI workflow to fetch the latest amd_aiter wheel via an S3 “latest main” manifest first, and fall back to downloading the most recent GitHub Actions artifact from ROCm/aiter when the manifest path fails or appears stale—aligning the download behavior with the main ATOM CI.

Changes:

  • Add an S3 manifest-based wheel selection/download path with a cache-busting query param.
  • Refactor artifact discovery/download into helper functions and broaden artifact name matching to aiter-whl-*.
  • Keep exporting aiter_artifact_id / aiter_wheel_name outputs for downstream image labeling/build args.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +130 to +134
if find_latest_artifact; then
if [ -n "$ARTIFACT_RUN_SHA" ] && [ "$manifest_commit" != "$ARTIFACT_RUN_SHA" ]; then
if [ -n "$ARTIFACT_RUN_CREATED_AT" ] && [[ "$manifest_timestamp" < "$ARTIFACT_RUN_CREATED_AT" ]]; then
echo "Manifest commit $manifest_commit is older than latest artifact run $ARTIFACT_RUN_ID ($ARTIFACT_RUN_SHA); treating manifest as stale"
return 1
Comment on lines +71 to +75
python3 -c 'import sys
from urllib.parse import quote, unquote, urlsplit, urlunsplit
parts = urlsplit(sys.argv[1])
encoded_path = "/".join(quote(unquote(segment), safe="") for segment in parts.path.split("/"))
print(urlunsplit((parts.scheme, parts.netloc, encoded_path, parts.query, parts.fragment)))' "$1"
@zejunchen-zejun zejunchen-zejun merged commit b53d7fa into main May 7, 2026
24 of 32 checks passed
@zejunchen-zejun zejunchen-zejun deleted the zejun/fix_atom_vllm_ci_aiter_download_logic_0507 branch May 7, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants