Skip to content

Commit 9cc79df

Browse files
committed
[E2E] Align 'torchbench' dependencies to match what 'torch-xpu-ops' uses
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent a46b5bc commit 9cc79df

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/e2e-reusable.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137

138138
- name: Install python test dependencies
139139
run: |
140-
pip install pyyaml pandas scipy 'numpy==1.26.4' psutil pyre_extensions torchrec
140+
pip install pyyaml pandas scipy 'numpy==1.26.4' psutil
141141
142142
- name: Install transformers package
143143
if: ${{ inputs.suite == 'huggingface' }}
@@ -186,11 +186,19 @@ jobs:
186186
if: ${{ inputs.suite == 'torchbench' }}
187187
run: |
188188
cd benchmark
189+
sed -i 's/^ *pynvml.*//' requirements.txt
190+
pip install -r requirements.txt
191+
# for dlrm
192+
pip install pyre-extensions
193+
curl -fsSL https://raw.githubusercontent.com/facebookresearch/dlrm/refs/heads/torchrec-dlrm/requirements.txt |xargs pip install
194+
# for soft_actor_critic, temp fix
195+
pip install git+https://github.com/nocoding03/gym@fix-np
196+
189197
if [[ "${{ inputs.only_one_model }}" ]]; then
190198
python install.py "${{ inputs.only_one_model }}"
191199
else
192200
# install all models
193-
python install.py
201+
python install.py --continue_on_fail
194202
fi
195203
pip install -e .
196204

0 commit comments

Comments
 (0)