File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,10 @@ jobs:
1818 - name : Set VLLM_TARGET_DEVICE to CPU for pre-commit checks
1919 run : echo "VLLM_TARGET_DEVICE=cpu" >> $GITHUB_ENV
2020 - name : Install PyTorch for CPU
21- # Explicitly install the CPU version of PyTorch from their stable index.
22- # This ensures pip finds the correct wheel without the problematic '+cpu' tag.
23- # Check PyTorch's official website for the exact command for torch==2.6.0 CPU
24- # As of my last update, it would typically be:
2521 run : pip install torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu
26- - name : Install vLLM Build Dependencies (excluding torch, as it's already installed)
27- # We need to filter out torch from build.txt for this step
28- # A simple way is to use grep or sed, or if build.txt is small, just list others.
29- # Given build.txt has `torch==2.6.0`, we'll exclude it here.
30- run : pip install $(grep -v 'torch==' requirements/build.txt | tr '\n' ' ')
22+ - name : Install vLLM Build Dependencies (excluding torch and comments)
23+ # This command filters out lines with 'torch==' AND lines starting with '#'
24+ run : pip install $(grep -v 'torch==' requirements/build.txt | grep -v '^#' | tr '\n' ' ')
3125 - name : Install vLLM Project and Dev Dependencies
3226 run : pip install -e ".[dev]"
3327
You can’t perform that action at this time.
0 commit comments