From f69d7fa18d6fc905807182203c4ad27ca6f40e63 Mon Sep 17 00:00:00 2001 From: VincyZhang Date: Fri, 27 Oct 2023 11:53:49 +0800 Subject: [PATCH] clean CI code (#566) Signed-off-by: Wenxin Zhang --- .github/workflows/chatbot_finetuning.yml | 14 ++++++++++++++ .github/workflows/deploy-test.yml | 12 ------------ .github/workflows/optimize-test.yml | 10 ---------- 3 files changed, 14 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/chatbot_finetuning.yml diff --git a/.github/workflows/chatbot_finetuning.yml b/.github/workflows/chatbot_finetuning.yml new file mode 100644 index 00000000000..de3c3805f66 --- /dev/null +++ b/.github/workflows/chatbot_finetuning.yml @@ -0,0 +1,14 @@ +name: Chat Bot Finetuning Test + +on: + workflow_dispatch: + +# If there is a new commit, the previous jobs will be canceled +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + call-finetune-mpt-7b-chat: + uses: ./.github/workflows/chatbot-finetune-mpt-7b-chat.yml + diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 27a6b70cb0d..80066e1bb84 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -1,18 +1,6 @@ name: Deploy Model Test on: - #pull_request: - # branches: [main] - # paths: - # - ".github/workflows/deploy-test.yml" - # - ".github/workflows/script/models/run_deploy.sh" - # - "intel_extension_for_transformers/llm/runtime/deprecated/**" - # - "!intel_extension_for_transformers/llm/runtime/deprecated/kernels/**" - # - "!intel_extension_for_transformers/llm/runtime/deprecated/test/**" - # - "!intel_extension_for_transformers/llm/runtime/graph/**" - # - "!intel_extension_for_transformers/llm/runtime/deprecated/third_party/**" - # - "!intel_extension_for_transformers/llm/runtime/deprecated/docs/**" - workflow_dispatch: # If there is a new commit, the previous jobs will be canceled diff --git a/.github/workflows/optimize-test.yml b/.github/workflows/optimize-test.yml index a5c2e209820..b7db07bbb51 100644 --- a/.github/workflows/optimize-test.yml +++ b/.github/workflows/optimize-test.yml @@ -1,16 +1,6 @@ name: Optimize Model Test on: - #pull_request: - # branches: [main] - # paths: - # - intel_extension_for_transformers/transformers/** - # - intel_extension_for_transformers/utils/** - # - intel_extension_for_transformers/llm/evaluation/** - # - intel_extension_for_transformers/llm/quantization/** - # - '.github/workflows/optimize-test.yml' - # - '.github/workflows/script/models/run_optimize.sh' - workflow_dispatch: # If there is a new commit, the previous jobs will be canceled