Skip to content

feat(gce): shared defaults.env and precompiled wheel detection#879

Merged
starpit merged 1 commit intoIBM:mainfrom
starpit:feat/shared-defaults-precompiled-wheel
Feb 18, 2026
Merged

feat(gce): shared defaults.env and precompiled wheel detection#879
starpit merged 1 commit intoIBM:mainfrom
starpit:feat/shared-defaults-precompiled-wheel

Conversation

@starpit
Copy link
Copy Markdown
Member

@starpit starpit commented Feb 18, 2026

Summary

  • Add docker/vllm/llm-d/defaults.env as a single source of truth for vLLM config (org, repo, commit SHA, LLM-D version), replacing duplicated values across shell scripts and Rust code
  • Update genpatch.sh and clone.sh to source defaults.env instead of hardcoding values
  • Parse defaults.env at compile time via include_str! for ImageCreateArgs (image builder) and GceConfig (dev VM) defaults
  • Replace blind VLLM_USE_PRECOMPILED=1 in the image builder startup script with smart detection that checks wheels.vllm.ai for a matching precompiled wheel and falls back to source compilation
  • Add vllm_precompiled_wheel_commit field to ImageCreateArgs, included in the image name hash since it affects the resulting binaries

Test plan

  • cargo build -F gce compiles
  • cargo test -F gce — all 63 tests pass, including new test_defaults_env_parsing, test_image_create_args_defaults_from_env, and test_vllm_defaults_match_defaults_env
  • bash -n genpatch.sh && bash -n clone.sh — shell scripts parse correctly

🤖 Generated with Claude Code

Consolidate duplicated vLLM configuration (org, repo, commit SHA,
LLM-D version) into a single defaults.env file sourced by shell scripts
and parsed at compile time by Rust via include_str!.

Replace the blind VLLM_USE_PRECOMPILED=1 in the image builder startup
script with smart detection that checks wheels.vllm.ai for a matching
precompiled wheel and falls back to source compilation, matching the
logic already used in setup-dev.sh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit starpit force-pushed the feat/shared-defaults-precompiled-wheel branch from 8987d40 to e48ea61 Compare February 18, 2026 19:14
@starpit starpit merged commit b27cc40 into IBM:main Feb 18, 2026
36 of 44 checks passed
@starpit starpit deleted the feat/shared-defaults-precompiled-wheel branch February 18, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant