Skip to content

Commit 8e84b4e

Browse files
authored
[CI][vllm] Use python from pyenv (#5347)
For consistency with `triton-benchmarks.yaml` I also move benchmark dependencies for consistency to simplify diff in the future
1 parent 7ce3fa9 commit 8e84b4e

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/third-party-benchmarks.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ on:
1515
description: JSON list of benchmarks to run. Leave empty to run all benchmarks.
1616
type: string
1717
default: ""
18-
use_pyenv_python:
19-
description: Use Python built with pyenv
20-
type: boolean
21-
default: false
2218
schedule:
2319
# About midnight PST (UTC-8)
2420
- cron: "5 10 * * *"
@@ -50,14 +46,7 @@ jobs:
5046
- name: Checkout repository
5147
uses: actions/checkout@v5
5248

53-
- name: Install Python
54-
if: ${{ !(inputs.use_pyenv_python || false) }}
55-
uses: actions/setup-python@v6
56-
with:
57-
python-version: ${{ env.PYTHON_VERSION }}
58-
5949
- name: Install Python (from pyenv) ${{ inputs.python_version }}
60-
if: ${{ inputs.use_pyenv_python }}
6150
uses: ./.github/actions/setup-pyenv-python
6251
with:
6352
python-version: ${{ env.PYTHON_VERSION }}
@@ -77,16 +66,16 @@ jobs:
7766
- name: Setup Triton
7867
uses: ./.github/actions/setup-triton
7968

80-
- name: Install benchmark dependencies
81-
id: install
82-
run: |
83-
pip install transformers pandas pytest
84-
8569
- name: Create reports dir
8670
run: |
8771
mkdir reports
8872
echo "REPORTS=$PWD/reports" >> $GITHUB_ENV
8973
74+
- name: Install benchmark dependencies
75+
id: install
76+
run: |
77+
pip install transformers pandas pytest
78+
9079
- name: Install benchmarks
9180
id: install-benchmarks
9281
run: |

0 commit comments

Comments
 (0)