Skip to content

Commit ee08fe9

Browse files
committed
update for 2.10
1 parent b263681 commit ee08fe9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/actions/linux-uttest/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,11 @@ runs:
143143
tee ${{ github.workspace }}/ut_log/xpu_profiling/test_profiler_tree.log
144144
145145
- name: xpu_distributed
146-
shell: bash -xeu -o pipefail {0}
146+
shell: timeout 36000 bash -xeu -o pipefail {0}
147147
if: ${{ inputs.ut_name == 'xpu_distributed' }}
148148
run: |
149149
xpu-smi topology -m
150150
mkdir -p ut_log/xpu_distributed
151-
pip install pytest pytest-timeout xmlrunner unittest-xml-reporting zstandard transformers
152-
cp ../pytorch/third_party/torch-xpu-ops/.github/scripts/ut_result_check.sh ut_log/xpu_distributed/
153151
cd pytorch/third_party/torch-xpu-ops/test/xpu
154152
XCCL_ENABLE=$(python -c "import torch;print(torch.distributed.is_xccl_available())")
155153
if [[ "${XCCL_ENABLE,,}" == 'false' ]] || [[ "${XCCL_ENABLE}" == '0' ]]; then

0 commit comments

Comments
 (0)