Skip to content

Commit a596c27

Browse files
Update metax_work.yaml (PaddlePaddle#2002)
1 parent 6f5b98f commit a596c27

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/metax_work.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,18 @@ jobs:
7979
run: |
8080
cd backends/metax_gpu/tests
8181
bash run_test.sh -j 16
82+
83+
- name: push whl
84+
env:
85+
PR_ID: ${{ github.event.pull_request.number }}
86+
COMMIT_ID: ${{ github.event.pull_request.head.sha }}
87+
run: |
88+
pip install bce-python-sdk==0.8.74
89+
export AK=paddle
90+
export SK=paddle
91+
if [ ! -f "BosClient.py}" ]; then
92+
wget -q --no-proxy https://xly-devops.bj.bcebos.com/home/bos_retry.tar.gz --no-check-certificate
93+
tar xf bos_retry.tar.gz
94+
fi
95+
cp backends/metax_gpu/build/dist/paddle_metax_gpu*.whl .
96+
python BosClient.py paddle_metax_gpu*.whl paddle-github-action/PaddleCustomDevice/metax_gpu/${PR_ID}/${COMMIT_ID}

0 commit comments

Comments
 (0)