File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -40,18 +40,18 @@ jobs:
40
40
- name : Prepare the codes
41
41
run : |
42
42
\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
51
51
- name : Compile and install torch_npu
52
52
working-directory : /root/build/npu/pytorch
53
53
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
55
55
bash ci/build.sh --python=3.8
56
56
pip3 install dist/torch_npu*.whl
57
57
- name : Do the test
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
16
16
fetch-and-rebase :
17
17
runs-on : ${{ inputs.runner }}
18
18
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 }}
25
25
- name : Pull latest codes for torch_npu
26
26
uses : cosdt/pytorch-integration-tests/.github/actions/fetch-and-rebase@main
27
27
with :
You can’t perform that action at this time.
0 commit comments