Skip to content

Commit 497f483

Browse files
authored
Revert "NPU add titan test (#55)"
This reverts commit a2ba986.
1 parent a2ba986 commit 497f483

File tree

2 files changed

+20
-142
lines changed

2 files changed

+20
-142
lines changed

.github/workflows/_ascend_npu_torchtitan.yml

Lines changed: 0 additions & 137 deletions
This file was deleted.

.github/workflows/ascend_npu_test.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
- ".github/workflows/_ascend_npu_build_torch_npu.yml"
1111
- ".github/workflows/_ascend_npu_ut.yml"
1212
- ".github/workflows/_ascend_npu_benchmark.yml"
13-
- ".github/workflows/_ascend_npu_torchtitan.yml"
1413
- ".ci/**"
1514
- "ascend_npu/**"
1615
- "src/**"
@@ -24,7 +23,6 @@ on:
2423
- ".github/workflows/_ascend_npu_build_torch_npu.yml"
2524
- ".github/workflows/_ascend_npu_ut.yml"
2625
- ".github/workflows/_ascend_npu_benchmark.yml"
27-
- ".github/workflows/_ascend_npu_torchtitan.yml"
2826
- ".ci/**"
2927
- "ascend_npu/**"
3028
- "src/**"
@@ -120,19 +118,36 @@ jobs:
120118
image: ${{ needs.prepare.outputs.image }}
121119
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
122120

123-
torchtitan:
124-
name: Run torchtitan
121+
test:
122+
name: Test torch_npu
125123
needs:
126124
- prepare
127125
- build-torch
128126
- build
129127
if: |
130128
!cancelled() && github.event_name != 'repository_dispatch' &&
131129
(success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
132-
uses: ./.github/workflows/_ascend_npu_torchtitan.yml
130+
uses: ./.github/workflows/_ascend_npu_ut.yml
133131
with:
134132
runner: ${{ needs.prepare.outputs.runner }}
135133
image: ${{ needs.prepare.outputs.image }}
136134
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
137135
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
138136

137+
benchmark:
138+
name: Run benchmarks
139+
needs:
140+
- prepare
141+
- build-torch
142+
- build
143+
if: |
144+
!cancelled() && github.event_name != 'repository_dispatch' &&
145+
(success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
146+
uses: ./.github/workflows/_ascend_npu_benchmark.yml
147+
with:
148+
runner: ${{ needs.prepare.outputs.runner }}
149+
image: ${{ needs.prepare.outputs.image }}
150+
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
151+
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
152+
secrets:
153+
pr-token: ${{ secrets.COSDT_BOT_TOKEN }}

0 commit comments

Comments
 (0)