Conversation
Builds this repo (verl-hardware-plugin) as the container's build context, cloning verl-core in at a pinned ref (VERL_GIT_REPO/VERL_REF) rather than requiring a local verl checkout — the intended user already has this plugin checked out and wants a known-good verl paired with it. VERL_GIT_REPO/VERL_REF default to kahlun/verl:intel-xpu-plugin-e2e-vllm until verl-project/verl#7917 (the PlatformBase hooks this plugin's platform_xpu.py/profilers/ override) merges upstream. No vendor has previously shipped a Dockerfile in this repo; verl-core's docker/ascend and docker/rocm use verl-core as build context instead, which doesn't fit a plugin that isn't built into verl-core.
VLLM_VERSION v0.27.0 -> v0.29.0 for vllm_xpu_kernels 0.1.14.1. Also fixes a real placement bug: the plugin was being installed editable at /workspace/verl-hardware-plugin, which devctl's session-PVC mount at /workspace makes invisible at runtime (only /workspace/local and /workspace/remote survive that mount) -- the same failure mode verl-core itself hit before being moved to /opt/verl. Moved to /opt/verl-hardware-plugin to match.
…ounds from README
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Docker image for running verl + this plugin together on Intel GPU.
Builds this repo (verl-hardware-plugin) as the container's build context and
clones verl-core in at a pinned ref, rather than the other way round. See
docker/intel_gpu/README.mdfor build/run instructions.Motivation
No vendor has shipped a Dockerfile in this repo before. verl-core's own
docker/rocmanddocker/ascenduse verl-core as the build context — thatshape doesn't fit a plugin repo, where the natural build context is the
plugin itself and a known-good verl-core is something you pull in, not
something you're developing against.
Changes
docker/intel_gpu/Dockerfile.intel_gpu(new) — Intel DLE 2026.1.0 base,Intel GPU user-mode driver install, vLLM built from source (pinned
v0.27.0) for XPU, verl-core cloned atVERL_GIT_REPO/VERL_REF, thisplugin installed
--no-deps -e .from the local build context on top.docker/intel_gpu/requirements-intel-gpu.txt(new) — verl's own runtimedeps for this image (
torch==2.13.0+xpuhard pin,transformers>=5.17.0for the flash-attn2 Hub-kernel fallback — see the file for why that
diverges safely from verl's project-wide
transformerspin).docker/intel_gpu/README.md(new) — build/run instructions, dependencytable, known Level-Zero-IPC workarounds for multi-GPU.
One decision a reviewer is likely to question:
VERL_GIT_REPO/VERL_REFdefault tokahlun/verl:intel-xpu-plugin-e2e-vllm,not
verl-project/verl:main. This plugin'splatform_xpu.py/profilers/override four
PlatformBasehooks (is_reduce_avg_supported,attention_utils_module,profiler_markers,dist_profiler_cls) that don'texist on
verl-project/verl:mainyet — they're in an unmerged upstream PR(verl-project/verl#7917). Building against
maintoday would silently no-opthose overrides. Switch both build args once #7917 merges.
Testing
docker build -t verl-intel-gpu:latest -f docker/intel_gpu/Dockerfile.intel_gpu .— not yet run in this environment; flagging rather than claiming green.
torch.xpu.is_available(),vLLM platform, verl platform/vendor) after build.
this one.
Acceptance Baseline (for new hardware adaptation PRs)
Skipped — this PR adds a build artifact, not a platform/engine change.
Checklist
pre-commitchecks — notyet run against this diff.
docker/intel_gpu/README.mdadded alongside.