fix various vllm/sglan bugs#877
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@tests/workloads/sglang/test_command_gen_strategy_slurm.py`:
- Line 154: The assertion is hardcoding the router port (":8000"); update the
test to reference the dynamic port from the strategy fixture instead: change the
assertion that checks for "--base-url http://${PREFILL_NODE}:8000" in
srun_command to build the expected substring using strategy.serve_port (e.g.
"--base-url http://${PREFILL_NODE}:" + str(strategy.serve_port) or equivalent)
so both lines (the current checks around srun_command) use strategy.serve_port
instead of the literal 8000.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 77bd1644-0b8f-4b3e-ab21-2d6323613d73
📒 Files selected for processing (13)
src/cloudai/workloads/common/llm_serving.pysrc/cloudai/workloads/sglang/slurm_command_gen_strategy.pysrc/cloudai/workloads/vllm/slurm_command_gen_strategy.pytests/ref_data/sglang-disagg-2nodes.sbatchtests/ref_data/sglang-disagg.sbatchtests/ref_data/sglang.sbatchtests/ref_data/vllm-disagg-2nodes.sbatchtests/ref_data/vllm-disagg.sbatchtests/ref_data/vllm.sbatchtests/test_acceptance.pytests/workloads/sglang/test_command_gen_strategy_slurm.pytests/workloads/test_llm_serving.pytests/workloads/vllm/test_command_gen_strategy_slurm.py
💤 Files with no reviewable changes (1)
- tests/test_acceptance.py
Summary
Test Plan
Additional Notes