|
5 | 5 | - "tests/**" # 将api-config 放在tests下面 命名为test.txt |
6 | 6 |
|
7 | 7 | jobs: |
8 | | - upload_on_gpu: |
9 | | - name: Upload on bj-gpu-03 runner |
10 | | - runs-on: [bj-gpu-03] |
11 | | - container: |
12 | | - image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:3.2.1-gpu-cuda11.8-cudnn8.9 |
13 | | - steps: |
14 | | - - name: Checkout code |
15 | | - uses: actions/checkout@v4 |
| 8 | + # upload_on_gpu: |
| 9 | + # name: Upload on bj-gpu-03 runner |
| 10 | + # runs-on: [bj-gpu-03] |
| 11 | + # container: |
| 12 | + # image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:3.2.1-gpu-cuda11.8-cudnn8.9 |
| 13 | + # steps: |
| 14 | + # - name: Checkout code |
| 15 | + # uses: actions/checkout@v4 |
16 | 16 |
|
17 | | - - name: Setup Python |
18 | | - uses: actions/setup-python@v5 |
19 | | - with: |
20 | | - python-version: "3.10" |
| 17 | + # - name: Setup Python |
| 18 | + # uses: actions/setup-python@v5 |
| 19 | + # with: |
| 20 | + # python-version: "3.10" |
21 | 21 |
|
22 | | - - name: Install dependencies (bj-gpu-03) |
23 | | - shell: bash |
24 | | - run: | |
25 | | - set -euxo pipefail |
26 | | - pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ |
27 | | - pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 |
28 | | - pip install func_timeout pandas pebble pynvml pyyaml |
| 22 | + # - name: Install dependencies (bj-gpu-03) |
| 23 | + # shell: bash |
| 24 | + # run: | |
| 25 | + # set -euxo pipefail |
| 26 | + # pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ |
| 27 | + # pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 |
| 28 | + # pip install func_timeout pandas pebble pynvml pyyaml |
29 | 29 |
|
30 | | - - name: Run EngineV2 (upload on bj-gpu-03) |
31 | | - shell: bash |
32 | | - run: | |
33 | | - set -euxo pipefail |
34 | | - python engineV2.py \ |
35 | | - --custom_device_vs_gpu=True \ |
36 | | - --custom_device_vs_gpu_mode=upload \ |
37 | | - --random_seed=712 \ |
38 | | - --api_config_file="tests/test.txt" \ |
39 | | - --num_gpus=-1 \ |
40 | | - --num_workers_per_gpu=1 \ |
41 | | - --required_memory=10.0 |
| 30 | + # - name: Run EngineV2 (upload on bj-gpu-03) |
| 31 | + # shell: bash |
| 32 | + # run: | |
| 33 | + # set -euxo pipefail |
| 34 | + # python engineV2.py \ |
| 35 | + # --custom_device_vs_gpu=True \ |
| 36 | + # --custom_device_vs_gpu_mode=upload \ |
| 37 | + # --random_seed=42 \ |
| 38 | + # --api_config_file="tests/test.txt" \ |
| 39 | + # --num_gpus=-1 \ |
| 40 | + # --num_workers_per_gpu=1 \ |
| 41 | + # --required_memory=10.0 |
42 | 42 |
|
43 | | - - name: Package logs (bj-gpu-03) |
44 | | - if: always() |
45 | | - shell: bash |
46 | | - run: | |
47 | | - set -euxo pipefail |
48 | | - tar -czf test_log.tar.gz tester/api_config/test_log |
| 43 | + # - name: Package logs (bj-gpu-03) |
| 44 | + # if: always() |
| 45 | + # shell: bash |
| 46 | + # run: | |
| 47 | + # set -euxo pipefail |
| 48 | + # tar -czf test_log.tar.gz tester/api_config/test_log |
49 | 49 |
|
50 | | - - name: Upload test logs artifact (bj-gpu-03) |
51 | | - if: always() |
52 | | - uses: actions/upload-artifact@v4 |
53 | | - with: |
54 | | - name: test_log_bj-gpu-03 |
55 | | - path: test_log.tar.gz |
| 50 | + # - name: Upload test logs artifact (bj-gpu-03) |
| 51 | + # if: always() |
| 52 | + # uses: actions/upload-artifact@v4 |
| 53 | + # with: |
| 54 | + # name: test_log_bj-gpu-03 |
| 55 | + # path: test_log.tar.gz |
56 | 56 |
|
57 | 57 | download_on_iluvatar: |
58 | 58 | name: Download on iluvatar-gpu-2-1 runner |
59 | 59 | runs-on: [iluvatar-gpu-2-1] |
60 | 60 | container: |
61 | 61 | image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:latest |
62 | | - needs: upload_on_gpu |
| 62 | + # needs: upload_on_gpu |
63 | 63 | steps: |
64 | 64 | - name: Checkout code |
65 | 65 | uses: actions/checkout@v4 |
|
85 | 85 | python engineV2.py \ |
86 | 86 | --custom_device_vs_gpu=True \ |
87 | 87 | --custom_device_vs_gpu_mode=download \ |
88 | | - --random_seed=712 \ |
| 88 | + --random_seed=42 \ |
89 | 89 | --api_config_file="tests/test.txt" \ |
90 | 90 | --num_gpus=-1 \ |
91 | 91 | --num_workers_per_gpu=1 \ |
|
0 commit comments