Update manually_build.yml

This commit is contained in:
Ziteng Zhang 2023-10-26 16:24:03 +08:00 committed by GitHub
parent 37b1708d16
commit 14a23015f8

View file

@ -10,8 +10,8 @@ on:
type: choice
options:
- all
- bigdl-llm-finetune-cpu
- bigdl-llm-finetune-xpu
- bigdl-llm-finetune-lora-cpu
- bigdl-llm-finetune-qlora-xpu
- bigdl-llm-xpu
- bigdl-llm-cpu
- bigdl-llm-serving-xpu
@ -60,8 +60,8 @@ permissions:
packages: write
jobs:
bigdl-llm-finetune-cpu:
if: ${{ github.event.inputs.artifact == 'bigdl-llm-finetune-cpu' || github.event.inputs.artifact == 'all' }}
bigdl-llm-finetune-lora-cpu:
if: ${{ github.event.inputs.artifact == 'bigdl-llm-finetune-lora-cpu' || github.event.inputs.artifact == 'all' }}
runs-on: [self-hosted, Shire]
steps:
@ -69,12 +69,12 @@ jobs:
- name: docker login
run: |
docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
- name: bigdl-llm-finetune-cpu
- name: bigdl-llm-finetune-lora-cpu
run: |
echo "##############################################################"
echo "####### bigdl-llm-finetune-cpu ########"
echo "####### bigdl-llm-finetune-lora-cpu ########"
echo "##############################################################"
export image=intelanalytics/bigdl-llm-finetune-cpu
export image=intelanalytics/bigdl-llm-finetune-lora-cpu
cd docker/llm/finetune/lora/cpu/docker
sudo docker build \
--no-cache=true \
@ -87,8 +87,8 @@ jobs:
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
bigdl-llm-finetune-xpu:
if: ${{ github.event.inputs.artifact == 'bigdl-llm-finetune-xpu' || github.event.inputs.artifact == 'all' }}
bigdl-llm-finetune-qlora-xpu:
if: ${{ github.event.inputs.artifact == 'bigdl-llm-finetune-qlora-xpu' || github.event.inputs.artifact == 'all' }}
runs-on: [self-hosted, Shire]
steps:
@ -96,12 +96,12 @@ jobs:
- name: docker login
run: |
docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
- name: bigdl-llm-finetune-xpu
- name: bigdl-llm-finetune-qlora-xpu
run: |
echo "##############################################################"
echo "####### bigdl-llm-finetune-xpu ########"
echo "####### bigdl-llm-finetune-qlora-xpu ########"
echo "##############################################################"
export image=intelanalytics/bigdl-llm-finetune-xpu
export image=intelanalytics/bigdl-llm-finetune-qlora-xpu
cd docker/llm/finetune/qlora/xpu/docker
sudo docker build \
--no-cache=true \