Conversation
📝 WalkthroughWalkthroughUpdated the vllm minimum version requirement from 0.17.1 to 0.19.0 in setup.py's Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
setup.py (1)
92-92: Constrainvllmto 0.19.x for reproducible installs.Line 92 uses an open-ended lower bound (
vllm>=0.19.0), which is inconsistent with all other PyTorch version branches in setup.py (which pin to exact versions:==0.13.0,==0.14.0,==0.11.0, etc.). Combined with the version-sensitive vLLM API handling insrc/axolotl/scripts/vllm_serve_lora.py(conditional imports forGuidedDecodingParams,StructuredOutputsParams, and multiple import fallbacks), this open range risks silently pulling future 0.x releases with breaking changes. Constrain to the 0.19 series for torch>=2.10.Proposed change
- extras_require_map["vllm"] = ["vllm>=0.19.0"] + extras_require_map["vllm"] = ["vllm>=0.19.0,<0.20.0"]🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@setup.py` at line 92, The extras_require entry extras_require_map["vllm"] currently allows any vllm >=0.19.0; change it to constrain the package to the 0.19 series (e.g. "vllm>=0.19.0,<0.20.0") so installs for the torch >=2.10 branch remain reproducible and avoid pulling future 0.x releases that may break the conditional imports and API handling in src/axolotl/scripts/vllm_serve_lora.py (GuidedDecodingParams, StructuredOutputsParams, etc.).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@setup.py`:
- Line 92: The extras_require entry extras_require_map["vllm"] currently allows
any vllm >=0.19.0; change it to constrain the package to the 0.19 series (e.g.
"vllm>=0.19.0,<0.20.0") so installs for the torch >=2.10 branch remain
reproducible and avoid pulling future 0.x releases that may break the
conditional imports and API handling in src/axolotl/scripts/vllm_serve_lora.py
(GuidedDecodingParams, StructuredOutputsParams, etc.).
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary by CodeRabbit