Skip to content

Commit 0ef833a

Browse files
author
zihugithub
committed
update
1 parent 0d688f6 commit 0ef833a

6 files changed

Lines changed: 50 additions & 15 deletions

.github/workflows/qa-format.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: format_check
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
types: [opened, synchronize, reopened]
7+
8+
jobs:
9+
format:
10+
runs-on: ubuntu-22.04
11+
env:
12+
PRID: ${{ github.event.pull_request.number }}
13+
BRANCH: main
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.event.pull_request.base.ref }}
20+
21+
- name: Merge PR to sub-branch
22+
run: |
23+
git fetch origin pull/${PRID}/merge
24+
git checkout -b test FETCH_HEAD
25+
26+
- name: Set up Python
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: "3.10"
30+
31+
- name: Run pre-commit
32+
run: bash ./qa/format.sh

.github/workflows/qa-l0-pytorch-wheel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches: main
66
paths:
77
- 'qa/L0_pytorch_wheel/**'
8-
- '.github/workflows/qa_l0_pytorch_wheel.yml'
8+
- '.github/workflows/qa-l0-pytorch-wheel.yml'
99
pull_request:
1010
branches: main
1111
paths:
1212
- 'qa/L0_pytorch_wheel/**'
13-
- '.github/workflows/qa_l0_pytorch_wheel.yml'
13+
- '.github/workflows/qa-l0-pytorch-wheel.yml'
1414

1515
concurrency:
1616
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.actor }}

.github/workflows/qa-l0-te-cpp-unittest-pytorch-lint.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
push:
55
branches: main
66
paths:
7-
- '.github/workflows/qa_l0_test.yml'
7+
- '.github/workflows/qa-l0-te-cpp-unittest-pytorch-lint.yml'
88
- 'qa/L0_pytorch_lint/**'
99
- 'transformer_engine/**'
1010
- 'tests/pytorch/**'
1111
pull_request:
1212
branches: main
1313
paths:
14-
- '.github/workflows/qa_l0_test.yml'
14+
- '.github/workflows/qa-l0-te-cpp-unittest-pytorch-lint.yml'
1515
- 'qa/L0_pytorch_lint/**'
1616
- 'transformer_engine/**'
1717
- 'tests/pytorch/**'
@@ -58,7 +58,7 @@ jobs:
5858
set-safe-directory: true
5959

6060
- name: Install Dependencies & Build Transformer Engine
61-
timeout-minutes: 60
61+
# timeout-minutes: 40
6262
env:
6363
NVTE_FRAMEWORK: pytorch
6464
TE_WITH_NCCL: 1
@@ -92,7 +92,7 @@ jobs:
9292
python3 -c "import torch; print('CUDA Available:', torch.cuda.is_available()); print('GPU Count:', torch.cuda.device_count())"
9393
9494
- name: Run L0 C++ Unit Tests
95-
timeout-minutes: 80
95+
# timeout-minutes: 60
9696
env:
9797
TE_PATH: .
9898
run: |
@@ -121,7 +121,7 @@ jobs:
121121
ctest --test-dir build -j$NUM_PARALLEL_JOBS
122122
123123
- name: PyTorch C++ Lint
124-
timeout-minutes: 5
124+
# timeout-minutes: 5
125125
env:
126126
CPP_ONLY: 1
127127
TE_PATH: .
@@ -141,7 +141,7 @@ jobs:
141141
continue-on-error: true
142142

143143
- name: PyTorch Python Lint
144-
timeout-minutes: 5
144+
# timeout-minutes: 5
145145
env:
146146
PYTHON_ONLY: 1
147147
TE_PATH: .
@@ -174,7 +174,7 @@ jobs:
174174
bash ./qa/L0_pytorch_debug_unittest/test.sh
175175
176176
- name: Run L0 PyTorch Core Unit Tests
177-
# timeout-minutes: 20
177+
# timeout-minutes: 10
178178
env:
179179
TE_PATH: .
180180
run: |

.github/workflows/qa-l1-te-cpp-pytorch-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: main
66
paths:
7-
- '.github/workflows/qa_l1_test.yml'
7+
- '.github/workflows/qa-l1-te-cpp-pytorch-tests.yml'
88
- 'qa/L1_cpp_distributed/**'
99
- 'tests/cpp_distributed/**'
1010
- 'qa/L1_pytorch_thunder_integration/**'
@@ -17,7 +17,7 @@ on:
1717
pull_request:
1818
branches: main
1919
paths:
20-
- '.github/workflows/qa_l1_test.yml'
20+
- '.github/workflows/qa-l1-te-cpp-pytorch-tests.yml'
2121
- 'qa/L1_cpp_distributed/**'
2222
- 'tests/cpp_distributed/**'
2323
- 'qa/L1_pytorch_thunder_integration/**'
@@ -128,6 +128,7 @@ jobs:
128128
# Run thunder integration tests
129129
echo "=== Running L1 PyTorch Thunder Integration Tests ==="
130130
bash ./qa/L1_pytorch_thunder_integration/test.sh
131+
# timeout-minutes: 5
131132

132133
- name: Run L1 PyTorch Distributed Unit Tests
133134
continue-on-error: true
@@ -142,6 +143,7 @@ jobs:
142143
# Run distributed unit tests
143144
echo "=== Running L1 PyTorch Distributed Unit Tests ==="
144145
bash ./qa/L1_pytorch_distributed_unittest/test.sh
146+
# timeout-minutes: 5
145147

146148
- name: Run L1 PyTorch ONNX Unit Tests
147149
env:
@@ -155,3 +157,4 @@ jobs:
155157
# Run ONNX unit tests
156158
echo "=== Running L1 PyTorch ONNX Unit Tests ==="
157159
bash ./qa/L1_pytorch_onnx_unittest/test.sh
160+
# timeout-minutes: 60

.github/workflows/qa-l3-te-pytorch-fa-versions-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches: main
66
paths:
7-
- '.github/workflows/qa_l3_test.yml'
7+
- '.github/workflows/qa-l3-te-pytorch-fa-versions-test.yml'
88
- 'tests/pytorch/attention/test_attention.py'
99

1010
pull_request:
1111
branches: main
1212
paths:
13-
- '.github/workflows/qa_l3_test.yml'
13+
- '.github/workflows/qa-l3-te-pytorch-fa-versions-test.yml'
1414
- 'tests/pytorch/attention/test_attention.py'
1515

1616
concurrency:

.github/workflows/te-plugin-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches: main
66
paths:
77
- 'transformer_engine/plugin/**'
8-
- '.github/workflows/plugin_test.yml'
8+
- '.github/workflows/te-plugin-tests.yml'
99
pull_request:
1010
branches: main
1111
paths:
1212
- 'transformer_engine/plugin/**'
13-
- '.github/workflows/plugin_test.yml'
13+
- '.github/workflows/te-plugin-tests.yml'
1414

1515
concurrency:
1616
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.actor }}

0 commit comments

Comments
 (0)