Skip to content

Commit 19d4099

Browse files
committed
Skip compile torch
1 parent ed888d2 commit 19d4099

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/_build-and-test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,18 @@ jobs:
4040
- name: Prepare the codes
4141
run: |
4242
\cp -rf /root/codes/ /root/build
43-
- name: Compile torch
44-
working-directory: /root/build/pytorch/pytorch
45-
run: |
46-
pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
47-
export _GLIBCXX_USE_CXX11_ABI=0
48-
export USE_CUDA=0
49-
export USE_XNNPACK=0
50-
python setup.py develop
43+
#- name: Compile torch
44+
# working-directory: /root/build/pytorch/pytorch
45+
# run: |
46+
# pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
47+
# export _GLIBCXX_USE_CXX11_ABI=0
48+
# export USE_CUDA=0
49+
# export USE_XNNPACK=0
50+
# python setup.py develop
5151
- name: Compile and install torch_npu
5252
working-directory: /root/build/npu/pytorch
5353
run: |
54-
grep -v 'torch' requirements.txt | pip install -r /dev/stdin -i https://pypi.tuna.tsinghua.edu.cn/simple
54+
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
5555
bash ci/build.sh --python=3.8
5656
pip3 install dist/torch_npu*.whl
5757
- name: Do the test

.github/workflows/_fetch_and_rebase.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
fetch-and-rebase:
1717
runs-on: ${{ inputs.runner }}
1818
steps:
19-
- name: Pull latest codes for torch
20-
uses: cosdt/pytorch-integration-tests/.github/actions/fetch-and-rebase@main
21-
with:
22-
repo_path: /home/runner/actions-runner/codes/pytorch/pytorch
23-
remote_branch: upstream/main
24-
loop: ${{ inputs.loop }}
19+
#- name: Pull latest codes for torch
20+
# uses: cosdt/pytorch-integration-tests/.github/actions/fetch-and-rebase@main
21+
# with:
22+
# repo_path: /home/runner/actions-runner/codes/pytorch/pytorch
23+
# remote_branch: upstream/main
24+
# loop: ${{ inputs.loop }}
2525
- name: Pull latest codes for torch_npu
2626
uses: cosdt/pytorch-integration-tests/.github/actions/fetch-and-rebase@main
2727
with:

0 commit comments

Comments
 (0)