[NFC] polish .github/workflows/build_gpu_8.yml code style (#1813)

pull/1849/head
Zangwei Zheng 2022-11-08 14:21:55 +08:00 committed by binmakeswell
parent 244fa3108a
commit 25993db98a
1 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ name: Build on 8 GPUs
on: on:
schedule: schedule:
# run at 00:00 of every Sunday # run at 00:00 of every Sunday
- cron: '0 0 * * *' - cron: '0 0 * * *'
workflow_dispatch: workflow_dispatch:
@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ssh-key: ${{ secrets.SSH_KEY_FOR_CI }} ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}
- name: Install Colossal-AI - name: Install Colossal-AI
run: | run: |
[ ! -z "$(ls -A /github/home/cuda_ext_cache/)" ] && cp -r /github/home/cuda_ext_cache/* /__w/ColossalAI/ColossalAI/ [ ! -z "$(ls -A /github/home/cuda_ext_cache/)" ] && cp -r /github/home/cuda_ext_cache/* /__w/ColossalAI/ColossalAI/
pip install -r requirements/requirements.txt pip install -r requirements/requirements.txt
@ -45,4 +45,3 @@ jobs:
env: env:
DATA: /data/scratch/cifar-10 DATA: /data/scratch/cifar-10
LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64