Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion experiments/agentcompany/openhands/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ uri-template==1.3.0
urllib3==2.2.2
uvicorn==0.32.0
uvloop==0.21.0
vllm==0.6.3.post1
vllm==0.22.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 PyTorch version incompatibility with vllm 0.22.0

vllm==0.22.0 ships against PyTorch 2.11 (that upgrade landed in vllm v0.20.0 as an explicit breaking change). This file still pins torch==2.4.0+cu121 (line 177) and xformers==0.0.27.post2 (line 202), which are built against torch 2.4. Pip will either refuse to install the new vllm wheel due to the torch version mismatch, or the binary CUDA kernels compiled into the vllm wheel will silently crash at import/runtime. All three pins — torch, xformers, and likely triton==3.0.0 — need to be updated together to match what vllm 0.22.0 requires. Beyond torch, compressed-tensors==0.6.0 and transformers==4.46.2 are also likely too old for a 15-major-version bump in vllm.

Prompt To Fix With AI
This is a comment left during a code review.
Path: experiments/agentcompany/openhands/requirements.txt
Line: 192

Comment:
**PyTorch version incompatibility with vllm 0.22.0**

`vllm==0.22.0` ships against PyTorch 2.11 (that upgrade landed in vllm v0.20.0 as an explicit breaking change). This file still pins `torch==2.4.0+cu121` (line 177) and `xformers==0.0.27.post2` (line 202), which are built against torch 2.4. Pip will either refuse to install the new vllm wheel due to the torch version mismatch, or the binary CUDA kernels compiled into the vllm wheel will silently crash at import/runtime. All three pins — `torch`, `xformers`, and likely `triton==3.0.0` — need to be updated together to match what vllm 0.22.0 requires. Beyond torch, `compressed-tensors==0.6.0` and `transformers==4.46.2` are also likely too old for a 15-major-version bump in vllm.

How can I resolve this? If you propose a fix, please make it concise.

Fix in Cursor Fix in Claude Code Fix in Codex

wandb==0.17.3
watchfiles==0.24.0
wcwidth==0.2.13
Expand Down