Skip to content

Commit e1c26ff

Browse files
committed
run as fast as possible
1 parent 37d8939 commit e1c26ff

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

.github/workflows/_ascend_npu_torchtitan.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ defaults:
3838

3939
jobs:
4040
setup_environment:
41-
name: Run Torchtitan Environment
41+
name: run torchtitan tests
4242
runs-on: ${{ inputs.runner }}
4343
container:
4444
image: ${{ inputs.image }}
@@ -112,10 +112,6 @@ jobs:
112112
run: |
113113
pip install ${{ inputs.torch-npu-artifact }}
114114
115-
- name: Install nightly torchvision and torchaudio
116-
run: |
117-
pip install --pre torchvision torchaudio --no-deps --index-url https://download.pytorch.org/whl/nightly/cpu
118-
119115
- name: Install project dependencies
120116
run: |
121117
pip install -r requirements.txt
@@ -132,7 +128,6 @@ jobs:
132128
- name: Run torchtitan integration_test
133129
working-directory: torchtitan
134130
run: |
135-
mkdir artifacts-to-be-uploaded
136131
npu_count=$(python -c "import torch; print(torch.npu.device_count())")
137132
python ./tests/integration_tests.py artifacts-to-be-uploaded --ngpu ${npu_count}
138133

.github/workflows/ascend_npu_test.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,23 +136,6 @@ jobs:
136136
device: ${{ needs.prepare.outputs.device }}
137137
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
138138

139-
test:
140-
name: Test torch_npu
141-
needs:
142-
- prepare
143-
- build-torch
144-
- build
145-
if: |
146-
!cancelled() && github.event_name != 'repository_dispatch' &&
147-
(success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
148-
uses: ./.github/workflows/_ascend_npu_ut.yml
149-
with:
150-
runner: ${{ needs.prepare.outputs.runner }}
151-
image: ${{ needs.prepare.outputs.image }}
152-
device: ${{ needs.prepare.outputs.device }}
153-
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
154-
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
155-
156139
torchtitan:
157140
name: Run torchtitan
158141
needs:

0 commit comments

Comments
 (0)