Skip to content

Commit 98da880

Browse files
authored
Fix "Test with pip" workflow (#5622)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent efd7b71 commit 98da880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pip-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Install runtime dependencies
6666
run: |
6767
curl -sSLO --retry 10 https://raw.githubusercontent.com/pytorch/pytorch/$(<.github/pins/pytorch.txt)/.github/scripts/generate_binary_build_matrix.py
68-
sed -i '/^validate_nccl_dep_consistency.*/d' generate_binary_build_matrix.py
68+
sed -i 's/^\(\s*\)validate_nccl_dep_consistency(arch_version)/\1pass/' generate_binary_build_matrix.py
6969
python -c "from generate_binary_build_matrix import PYTORCH_EXTRA_INSTALL_REQUIREMENTS; print('\n'.join(PYTORCH_EXTRA_INSTALL_REQUIREMENTS['xpu'].split(' | ')))" | tee /tmp/requirements.txt
7070
pip install -r /tmp/requirements.txt
7171
pip install transformers==4.54.0

0 commit comments

Comments
 (0)