Skip to content

Pin vLLM core version to VLLM_GAUDI_COMMIT in RHEL UBI Dockerfile - #1571

Open
ghandoura wants to merge 3 commits into
vllm-project:mainfrom
ghandoura:patch-3
Open

Pin vLLM core version to VLLM_GAUDI_COMMIT in RHEL UBI Dockerfile#1571
ghandoura wants to merge 3 commits into
vllm-project:mainfrom
ghandoura:patch-3

Conversation

@ghandoura

@ghandoura ghandoura commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

When VLLM_GAUDI_COMMIT is a release tag, set SETUPTOOLS_SCM_PRETEND_VERSION during the vLLM core install so vllm --version reports the vllm-gaudi release version (e.g. 0.19.1.post1) instead of the upstream core version with the +empty local segment (e.g. 0.19.1+empty).

The override is skipped when VLLM_GAUDI_COMMIT=main to preserve setuptools_scm's git-derived version for dev builds.

When VLLM_GAUDI_COMMIT is a release tag, set SETUPTOOLS_SCM_PRETEND_VERSION
  during the vLLM core install so `vllm --version` reports the vllm-gaudi
  release version (e.g. 0.19.1.post1) instead of the upstream core version
  with the +empty local segment (e.g. 0.19.1+empty).

 The override is skipped when VLLM_GAUDI_COMMIT=main to preserve setuptools_scm's
  git-derived version for dev builds.

Signed-off-by: Adam Ghandoura <adam.ghandoura@intel.com>

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

Updates the RHEL UBI build flow so that when installing the upstream vLLM core from source, the resulting installed package version can be overridden to reflect the vllm-gaudi release tag (via SETUPTOOLS_SCM_PRETEND_VERSION) instead of the upstream git-derived +empty local version segment.

Changes:

  • Adds logic in the RHEL UBI Dockerfile to set SETUPTOOLS_SCM_PRETEND_VERSION based on VLLM_GAUDI_COMMIT when it is intended to represent a release tag.
  • Ensures the version override is skipped for VLLM_GAUDI_COMMIT=main (dev builds) per the PR description intent.

Comment thread .cd/Dockerfile.rhel.ubi.vllm Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Adam Ghandoura <adam.ghandoura@intel.com>
Signed-off-by: Adam Ghandoura <adam.ghandoura@intel.com>
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