Skip to content

Commit bd2f0d1

Browse files
author
yefubao
committed
ci: Update QA L1 PYTHORCH Unittest
1 parent 4f699f7 commit bd2f0d1

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/qa_l1_pytorch_unittest.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: QA L1 PYTHORCH Unittest
33
on:
44
push:
55
branches:
6-
- main
6+
- add_qa_teat251230
77
pull_request:
88
branches:
99
- main
@@ -74,12 +74,12 @@ jobs:
7474
echo "===== Available memory ====="
7575
free -h
7676
77-
- name: Install dependencies and build transformer_engine
78-
timeout-minutes: 30
79-
run: |
80-
echo "\n=============== Install transformer_engine ==============="
81-
pip install --no-build-isolation -vvv . --no-deps
82-
cp -rf transformer_engine/plugins/ /usr/local/lib/python3.10/dist-packages/transformer_engine/plugins/
77+
# - name: Install dependencies and build transformer_engine
78+
# timeout-minutes: 30
79+
# run: |
80+
# echo "\n=============== Install transformer_engine ==============="
81+
# pip install --no-build-isolation -vvv . --no-deps
82+
# cp -rf transformer_engine/plugins/ /usr/local/lib/python3.10/dist-packages/transformer_engine/plugins/
8383

8484
- name: Verify installation
8585
shell: bash
@@ -114,18 +114,16 @@ jobs:
114114
115115
- name: L1 Pytorch Onnx Unittest
116116
id: L1_pytorch_onnx_unittest
117-
continue-on-error: true
118117
env:
119118
XML_LOG_DIR: "/logs/pytorch/onnx"
120119
TE_PATH: .
121120
run: bash ./qa/L1_pytorch_onnx_unittest/test.sh
122121

123122
- name: Upload Installation Logs
124-
if: (failure() && (steps.L1_pytorch_distributed_unittest.outcome == 'failure' || steps.L1_pytorch_onnx_unittest.outcome == 'failure')) && always()
123+
if: always() && (steps.L1_pytorch_distributed_unittest.outcome == 'failure' || steps.L1_pytorch_onnx_unittest.outcome == 'failure')
125124
uses: actions/upload-artifact@v4
126125
with:
127126
name: L0_pytorch-logs-${{ github.run_id }}
128127
path: /logs
129128
retention-days: 7
130129
if-no-files-found: warn
131-
continue-on-error: true

0 commit comments

Comments
 (0)