Skip to content

Commit 0d41dff

Browse files
committed
update for 2.10
1 parent 0e67e84 commit 0d41dff

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
@@ -170,13 +170,11 @@ runs:
170170
tee ${{ github.workspace }}/ut_log/xpu_profiling/test_profiler_tree.log
171171
172172
- name: xpu_distributed
173-
shell: bash -xeu -o pipefail {0}
173+
shell: timeout 36000 bash -xeu -o pipefail {0}
174174
if: ${{ inputs.ut_name == 'xpu_distributed' }}
175175
run: |
176176
xpu-smi topology -m
177177
mkdir -p ut_log/xpu_distributed
178-
pip install pytest pytest-timeout xmlrunner unittest-xml-reporting zstandard transformers
179-
cp ../pytorch/third_party/torch-xpu-ops/.github/scripts/ut_result_check.sh ut_log/xpu_distributed/
180178
cd pytorch/third_party/torch-xpu-ops/test/xpu
181179
XCCL_ENABLE=$(python -c "import torch;print(torch.distributed.is_xccl_available())")
182180
if [[ "${XCCL_ENABLE,,}" == 'false' ]] || [[ "${XCCL_ENABLE}" == '0' ]]; then

0 commit comments

Comments
 (0)