Skip to content

Commit d7f5c50

Browse files
authored
Comment out upload job and update random seed
Comment out the upload_on_gpu job and adjust random seed in download_on_iluvatar job.
1 parent 22087ef commit d7f5c50

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.github/workflows/iluvatar-gpu.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,61 @@ on:
55
- "tests/**" # 将api-config 放在tests下面 命名为test.txt
66

77
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
1616

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"
2121

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
2929

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
4242

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
4949

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
5656

5757
download_on_iluvatar:
5858
name: Download on iluvatar-gpu-2-1 runner
5959
runs-on: [iluvatar-gpu-2-1]
6060
container:
6161
image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:latest
62-
needs: upload_on_gpu
62+
# needs: upload_on_gpu
6363
steps:
6464
- name: Checkout code
6565
uses: actions/checkout@v4
@@ -85,7 +85,7 @@ jobs:
8585
python engineV2.py \
8686
--custom_device_vs_gpu=True \
8787
--custom_device_vs_gpu_mode=download \
88-
--random_seed=712 \
88+
--random_seed=42 \
8989
--api_config_file="tests/test.txt" \
9090
--num_gpus=-1 \
9191
--num_workers_per_gpu=1 \

0 commit comments

Comments
 (0)