Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/metax_work.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
# runs-on: debug-paddle-runner-set
steps:
- name: Checkout repository
env:
PR_ID: ${{ github.event.pull_request.number }}
COMMIT_ID: ${{ github.event.pull_request.head.sha }}
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
Expand Down Expand Up @@ -52,3 +55,15 @@ jobs:
run: |
cd backends/metax_gpu/tests
bash run_test.sh -j 16

- name: push whl
run: |
pip install bce-python-sdk==0.8.74
export AK=paddle
export SK=paddle
if [ ! -f "BosClient.py}" ]; then
wget -q --no-proxy https://xly-devops.bj.bcebos.com/home/bos_retry.tar.gz --no-check-certificate
tar xf bos_retry.tar.gz
fi
cp backends/metax_gpu/build/dist/paddle_metax_gpu*.whl .
python BosClient.py paddle_metax_gpu*.whl paddle-github-action/PaddleCustomDevice/metax_gpu/${PR_ID}/${COMMIT_ID}