Skip to content

[CI] Allow testing candidate Vime images - #411

Merged
CalvinXKY merged 1 commit into
vllm-project:mainfrom
aoshen02:codex/vime-ci-image-override
Sep 5, 2026
Merged

CalvinXKY merged 1 commit into
vllm-project:mainfrom
aoshen02:codex/vime-ci-image-override

Conversation

@aoshen02

@aoshen02 aoshen02 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Motivation

Image-changing PRs must be tested without publishing unmerged code to vllm/vime:latest.

Changes

  • Add one VIME_CI_IMAGE override shared by the static image-backed CPU job and generated GPU jobs.
  • Preserve vllm/vime:latest as the default.
  • Document candidate-tag/digest usage in the Buildkite guides.

Validation

  • Targeted pre-commit: passed.
  • Default image resolution: vllm/vime:latest.
  • Explicit immutable candidate digest resolution: passed.

This is a Vime-native CI change split out of #410; it does not change Slime-synchronized runtime behavior.

Signed-off-by: aoshen02 <aoshen@inferact.ai>

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces the VIME_CI_IMAGE environment variable to allow specifying a custom Docker image for Buildkite CI jobs, defaulting to vllm/vime:latest. It updates the Python scripts, pipeline configuration, and documentation accordingly. Feedback suggests using os.environ.get("VIME_CI_IMAGE") or "vllm/vime:latest" in gpu_suites.py to ensure that empty string values also fall back to the default image, aligning with the bash fallback behavior in pipeline.yml.

Comment thread .buildkite/gpu_suites.py

GPU_QUEUE = "mithril-h100-pool"
CI_IMAGE = "vllm/vime:latest"
CI_IMAGE = os.environ.get("VIME_CI_IMAGE", "vllm/vime:latest")

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.

medium

In Python, os.environ.get("VIME_CI_IMAGE", "vllm/vime:latest") only falls back to the default if the environment variable is completely unset. If VIME_CI_IMAGE is set to an empty string (e.g., VIME_CI_IMAGE=""), it will return "", which is an invalid image name.

Using os.environ.get("VIME_CI_IMAGE") or "vllm/vime:latest" ensures that both unset and empty values correctly fall back to the default image, matching the bash fallback behavior "$${VIME_CI_IMAGE:-vllm/vime:latest}" used in pipeline.yml.

Suggested change
CI_IMAGE = os.environ.get("VIME_CI_IMAGE", "vllm/vime:latest")
CI_IMAGE = os.environ.get("VIME_CI_IMAGE") or "vllm/vime:latest"

@read-the-docs-community

Copy link
Copy Markdown

@CalvinXKY
CalvinXKY merged commit ce92eff into vllm-project:main Sep 5, 2026
3 checks passed
aoshen02 added a commit to aoshen02/vime that referenced this pull request Sep 14, 2026
Signed-off-by: aoshen02 <aoshen@inferact.ai>
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.

2 participants