Skip to content

fix vllm tagging and add cloud images w/o tmux#3049

Merged
winglian merged 1 commit into
mainfrom
build-term-images
Aug 11, 2025
Merged

fix vllm tagging and add cloud images w/o tmux#3049
winglian merged 1 commit into
mainfrom
build-term-images

Conversation

@winglian
Copy link
Copy Markdown
Collaborator

@winglian winglian commented Aug 9, 2025

Description

Motivation and Context

How has this been tested?

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

Summary by CodeRabbit

  • Chores
    • Expanded build configurations to include new variants for CUDA 12.6.3, Python 3.11, and PyTorch 2.7.1, including options with and without additional extras.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Aug 9, 2025

📝 Walkthrough

Walkthrough

The workflow matrix in .github/workflows/main.yml was updated to add two new build configurations for CUDA 12.6.3, Python 3.11, and PyTorch 2.7.1. These new entries include a variant with vllm extras and one marked as the latest. No other logic or control flow changes were made.

Changes

Cohort / File(s) Change Summary
Workflow Matrix Expansion
.github/workflows/main.yml
Expanded the job matrix for build-axolotl-cloud and build-axolotl-cloud-no-tmux to add two new configurations for CUDA 12.6.3, Python 3.11, PyTorch 2.7.1, with and without vllm extras, and updated is_latest status.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

ready to merge

Suggested reviewers

  • NanoCode012
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch build-term-images

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🔭 Outside diff range comments (1)
.github/workflows/main.yml (1)

96-107: Missing base build for non-vllm PyTorch 2.7.1 cloud images

The build-axolotl job only builds PyTorch 2.7.1 with axolotl_extras: vllm. In both the build-axolotl-cloud (lines 96–107) and build-axolotl-cloud-no-tmux (lines 160–171) matrices, you’ve added a 2.7.1 entry without axolotl_extras: vllm. That computes a BASE_TAG (e.g. …-py3.11-cu126-2.7.1) that doesn’t exist, causing the docker/build-push-action to 404 when pulling the base image.

To fix, choose one:

  • Add a non-vllm 2.7.1 entry to the build-axolotl base matrix; or
  • Remove the non-vllm 2.7.1 entries from both cloud matrices; or
  • Ensure your base image naming logic accounts for non-vllm tags.

Minimal diff to remove the problematic entries in each matrix:

--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ jobs.build-axolotl-cloud.matrix
-          - cuda: 126
-            cuda_version: 12.6.3
-            python_version: "3.11"
-            pytorch: 2.7.1
-            axolotl_extras:
-            is_latest:
           - cuda: 126
             cuda_version: 12.6.3
             python_version: "3.11"
             pytorch: 2.7.1
             axolotl_extras: vllm
             is_latest: true
@@ jobs.build-axolotl-cloud-no-tmux.matrix
-          - cuda: 126
-            cuda_version: 12.6.3
-            python_version: "3.11"
-            pytorch: 2.7.1
-            axolotl_extras:
-            is_latest:
           - cuda: 126
             cuda_version: 12.6.3
             python_version: "3.11"
             pytorch: 2.7.1
             axolotl_extras: vllm
             is_latest: true

Also consider dropping the null is_latest: lines or setting them explicitly to false if you retain any non-vllm variants.

🧹 Nitpick comments (2)
.github/workflows/main.yml (2)

101-101: Avoid null is_latest: either omit key or set false for clarity.

YAML is_latest: with no value is null; the expression treats it as falsy, but it’s noisy. Prefer removing the line or is_latest: false.

-            is_latest:
+            # omit is_latest to default to false

165-165: Drop null is_latest here as well.

Keep it explicit (false) or omit the key entirely.

-            is_latest:
+            # omit is_latest to default to false
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 05f1b4b and a022f77.

📒 Files selected for processing (1)
  • .github/workflows/main.yml (2 hunks)

Comment on lines +160 to +171
- cuda: 126
cuda_version: 12.6.3
python_version: "3.11"
pytorch: 2.7.1
axolotl_extras:
is_latest:
- cuda: 126
cuda_version: 12.6.3
python_version: "3.11"
pytorch: 2.7.1
axolotl_extras: vllm
is_latest: true
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.

💡 Verification agent

🧩 Analysis chain

Same base mismatch for no-tmux: non-vllm 2.7.1 will reference a non-existent base image.

The no-tmux job includes a 2.7.1 non-vllm variant, but build-axolotl doesn’t produce the corresponding base tag. This will fail when resolving BASE_TAG.

Either add a non-vllm 2.7.1 base build in build-axolotl or remove this entry here. Minimal fix in this PR:

           - cuda: 126
             cuda_version: 12.6.3
             python_version: "3.11"
-            pytorch: 2.7.1
-            axolotl_extras:
-            is_latest:
-          - cuda: 126
-            cuda_version: 12.6.3
-            python_version: "3.11"
-            pytorch: 2.7.1
-            axolotl_extras: vllm
-            is_latest: true
+            pytorch: 2.7.1
+            axolotl_extras: vllm
+            is_latest: true

To double-check, parse the base matrix:


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail
awk '/^  build-axolotl:/{flag=1} flag && /^  [^ ]/{if ($0 !~ /^  build-axolotl:/) exit}; flag{print}' .github/workflows/main.yml \
  | sed -n '/matrix:/,/runs-on:/p' | rg -n 'pytorch:\s*2\.7\.1' -A3 -B3

Length of output: 609


Remove non-vllm PyTorch 2.7.1 entry from no-tmux matrix

The build-axolotl job only publishes a vllm variant for PyTorch 2.7.1 on CUDA 12.6.3—there is no corresponding non-vllm base image, so the current non-vllm entry will fail to resolve BASE_TAG.

• File: .github/workflows/main.yml
• Section: no-tmux job matrix (around lines 160–171)

Apply this diff:

           - cuda: 126
             cuda_version: 12.6.3
             python_version: "3.11"
-            pytorch: 2.7.1
-            axolotl_extras:
-            is_latest:
-          - cuda: 126
-            cuda_version: 12.6.3
-            python_version: "3.11"
-            pytorch: 2.7.1
-            axolotl_extras: vllm
-            is_latest: true
+            pytorch: 2.7.1
+            axolotl_extras: vllm
+            is_latest: true
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- cuda: 126
cuda_version: 12.6.3
python_version: "3.11"
pytorch: 2.7.1
axolotl_extras:
is_latest:
- cuda: 126
cuda_version: 12.6.3
python_version: "3.11"
pytorch: 2.7.1
axolotl_extras: vllm
is_latest: true
- cuda: 126
cuda_version: 12.6.3
python_version: "3.11"
pytorch: 2.7.1
axolotl_extras: vllm
is_latest: true
🤖 Prompt for AI Agents
In .github/workflows/main.yml around lines 160 to 171, remove the matrix entry
for PyTorch 2.7.1 on CUDA 12.6.3 that does not include the vllm variant, as the
build-axolotl job only supports the vllm variant for this configuration and the
non-vllm entry will fail to resolve BASE_TAG. Keep only the entry with
axolotl_extras set to vllm and is_latest set to true.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@winglian winglian merged commit 6869331 into main Aug 11, 2025
15 checks passed
@winglian winglian deleted the build-term-images branch August 11, 2025 00:21
This was referenced Aug 20, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Jan 6, 2026
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.

1 participant