From 4f9fd0dffd521322d1aaf0244cc2d974e913d2d0 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 10:51:57 +0800 Subject: [PATCH 01/13] arc-ut with 3.10 & 3.11 --- .github/workflows/llm_unit_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index 0034d554..b9994826 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -38,6 +38,7 @@ jobs: llm-cpp-build: uses: ./.github/workflows/llm-binary-build.yml llm-unit-test: + if: false needs: llm-cpp-build strategy: fail-fast: false @@ -203,7 +204,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9"] + python-version: ["3.9","3.10","3.11"] runs-on: [self-hosted, llm, arc] env: OMP_NUM_THREADS: 16 From 7c7a7f2ec1169c48a2c662be8a4c11695d18e718 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 13:17:13 +0800 Subject: [PATCH 02/13] spr & arc ut with python3,9&3.10&3.11 --- .github/workflows/llm-binary-build.yml | 30 ++++++++++++++++++++++++++ .github/workflows/llm_unit_tests.yml | 6 ++++++ python/llm/setup.py | 6 ++++-- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index d48fc9b8..fee8f6d8 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -62,6 +62,8 @@ jobs: conda create -n python39 python=3.9 -y conda remove -n python310 --all -y conda create -n python310 python=3.10 -y + conda remove -n python311 --all -y + conda create -n python311 python=3.11 -y - uses: actions/checkout@v3 with: repository: "intel-analytics/llm.cpp" @@ -117,6 +119,18 @@ jobs: shell: bash run: | mv src/chatglm/build/_C.cpython-310-x86_64-linux-gnu.so release/chatglm_C.cpython-310-x86_64-linux-gnu.so + - name: Build Chatglm Py311 + shell: bash + run: | + source activate python311 || conda activate python311 + cd src/chatglm + rm -r build + scl enable gcc-toolset-11 "cmake -B build" + scl enable gcc-toolset-11 "cmake --build build --config Release -j" + - name: Move Chatglm binaries Py311 + shell: bash + run: | + mv src/chatglm/build/_C.cpython-311-x86_64-linux-gnu.so release/chatglm_C.cpython-311-x86_64-linux-gnu.so - name: Archive build files uses: actions/upload-artifact@v3 with: @@ -129,6 +143,7 @@ jobs: make clean conda remove -n python39 --all -y conda remove -n python310 --all -y + conda remove -n python311 --all -y check-linux-avx512-artifact: runs-on: ubuntu-latest @@ -431,6 +446,21 @@ jobs: shell: powershell run: | mv src/chatglm/build/Release/_C.cp310-win_amd64.pyd release/chatglm_C.cp310-win_amd64.pyd + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.11" + - name: Build Chatglm Py311 + shell: powershell + run: | + cd src/chatglm + rm -r build + cmake -DAVXVNNI=ON -B build + cmake --build build --config Release -j + - name: Move Chatglm binaries Py311 + shell: powershell + run: | + mv src/chatglm/build/Release/_C.cp311-win_amd64.pyd release/chatglm_C.cp311-win_amd64.pyd - name: Archive build files uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index b9994826..a1ac64ff 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -56,6 +56,12 @@ jobs: - os: ubuntu-20.04-lts instruction: avx512 python-version: "3.10" + - os: windows + instruction: avx2 + python-version: "3.11" + - os: ubuntu-20.04-lts + instruction: avx512 + python-version: "3.11" runs-on: [self-hosted, llm, "${{matrix.instruction}}", "${{matrix.os}}"] env: THREAD_NUM: 24 diff --git a/python/llm/setup.py b/python/llm/setup.py index 36bacb20..44ee4578 100644 --- a/python/llm/setup.py +++ b/python/llm/setup.py @@ -86,7 +86,8 @@ windows_binarys = [ "main-chatglm_vnni.exe", "chatglm_C.cp39-win_amd64.pyd", - "chatglm_C.cp310-win_amd64.pyd" + "chatglm_C.cp310-win_amd64.pyd", + "chatglm_C.cp311-win_amd64.pyd" ] linux_binarys = [ "libllama_avx.so", @@ -125,7 +126,8 @@ linux_binarys = [ "main-chatglm_vnni", "main-chatglm_amx", "chatglm_C.cpython-39-x86_64-linux-gnu.so", - "chatglm_C.cpython-310-x86_64-linux-gnu.so" + "chatglm_C.cpython-310-x86_64-linux-gnu.so", + "chatglm_C.cpython-311-x86_64-linux-gnu.so" ] ext_lib_urls = [ From d51821e264d6532f7a2540c90432637c1394ea64 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 13:49:32 +0800 Subject: [PATCH 03/13] test --- .github/workflows/llm_unit_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index a1ac64ff..f0fea65c 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -206,6 +206,7 @@ jobs: pip install -U typing_extensions==4.5.0 bash python/llm/test/run-llm-langchain-tests.sh llm-unit-test-on-arc: + if: false needs: llm-cpp-build strategy: fail-fast: false From 6f1cee90a48533023b545c1a0f103fb1800fd481 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 13:58:03 +0800 Subject: [PATCH 04/13] test --- .github/workflows/llm-binary-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index fee8f6d8..7a5032a5 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -62,7 +62,7 @@ jobs: conda create -n python39 python=3.9 -y conda remove -n python310 --all -y conda create -n python310 python=3.10 -y - conda remove -n python311 --all -y + conda create -n python311 python=3.11 -y - uses: actions/checkout@v3 with: From ba148ff3ff662f79036cd56543d848b56d3383c1 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 14:08:49 +0800 Subject: [PATCH 05/13] test py311 --- .github/workflows/llm-binary-build.yml | 58 +++++++++++++------------- .github/workflows/llm_unit_tests.yml | 24 +++++------ python/llm/setup.py | 4 +- 3 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index 7a5032a5..fbfe1b35 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -62,8 +62,8 @@ jobs: conda create -n python39 python=3.9 -y conda remove -n python310 --all -y conda create -n python310 python=3.10 -y - - conda create -n python311 python=3.11 -y + # conda remove -n python311 --all -y + # conda create -n python311 python=3.11 -y - uses: actions/checkout@v3 with: repository: "intel-analytics/llm.cpp" @@ -119,18 +119,18 @@ jobs: shell: bash run: | mv src/chatglm/build/_C.cpython-310-x86_64-linux-gnu.so release/chatglm_C.cpython-310-x86_64-linux-gnu.so - - name: Build Chatglm Py311 - shell: bash - run: | - source activate python311 || conda activate python311 - cd src/chatglm - rm -r build - scl enable gcc-toolset-11 "cmake -B build" - scl enable gcc-toolset-11 "cmake --build build --config Release -j" - - name: Move Chatglm binaries Py311 - shell: bash - run: | - mv src/chatglm/build/_C.cpython-311-x86_64-linux-gnu.so release/chatglm_C.cpython-311-x86_64-linux-gnu.so + # - name: Build Chatglm Py311 + # shell: bash + # run: | + # source activate python311 || conda activate python311 + # cd src/chatglm + # rm -r build + # scl enable gcc-toolset-11 "cmake -B build" + # scl enable gcc-toolset-11 "cmake --build build --config Release -j" + # - name: Move Chatglm binaries Py311 + # shell: bash + # run: | + # mv src/chatglm/build/_C.cpython-311-x86_64-linux-gnu.so release/chatglm_C.cpython-311-x86_64-linux-gnu.so - name: Archive build files uses: actions/upload-artifact@v3 with: @@ -446,21 +446,21 @@ jobs: shell: powershell run: | mv src/chatglm/build/Release/_C.cp310-win_amd64.pyd release/chatglm_C.cp310-win_amd64.pyd - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - name: Build Chatglm Py311 - shell: powershell - run: | - cd src/chatglm - rm -r build - cmake -DAVXVNNI=ON -B build - cmake --build build --config Release -j - - name: Move Chatglm binaries Py311 - shell: powershell - run: | - mv src/chatglm/build/Release/_C.cp311-win_amd64.pyd release/chatglm_C.cp311-win_amd64.pyd + # - name: Set up Python + # uses: actions/setup-python@v4 + # with: + # python-version: "3.11" + # - name: Build Chatglm Py311 + # shell: powershell + # run: | + # cd src/chatglm + # rm -r build + # cmake -DAVXVNNI=ON -B build + # cmake --build build --config Release -j + # - name: Move Chatglm binaries Py311 + # shell: powershell + # run: | + # mv src/chatglm/build/Release/_C.cp311-win_amd64.pyd release/chatglm_C.cp311-win_amd64.pyd - name: Archive build files uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index f0fea65c..479a142b 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -44,18 +44,18 @@ jobs: fail-fast: false matrix: include: - - os: windows - instruction: avx2 - python-version: "3.9" - - os: ubuntu-20.04-lts - instruction: avx512 - python-version: "3.9" - - os: windows - instruction: avx2 - python-version: "3.10" - - os: ubuntu-20.04-lts - instruction: avx512 - python-version: "3.10" + # - os: windows + # instruction: avx2 + # python-version: "3.9" + # - os: ubuntu-20.04-lts + # instruction: avx512 + # python-version: "3.9" + # - os: windows + # instruction: avx2 + # python-version: "3.10" + # - os: ubuntu-20.04-lts + # instruction: avx512 + # python-version: "3.10" - os: windows instruction: avx2 python-version: "3.11" diff --git a/python/llm/setup.py b/python/llm/setup.py index 44ee4578..22c1d4a5 100644 --- a/python/llm/setup.py +++ b/python/llm/setup.py @@ -87,7 +87,7 @@ windows_binarys = [ "main-chatglm_vnni.exe", "chatglm_C.cp39-win_amd64.pyd", "chatglm_C.cp310-win_amd64.pyd", - "chatglm_C.cp311-win_amd64.pyd" + ] linux_binarys = [ "libllama_avx.so", @@ -127,7 +127,7 @@ linux_binarys = [ "main-chatglm_amx", "chatglm_C.cpython-39-x86_64-linux-gnu.so", "chatglm_C.cpython-310-x86_64-linux-gnu.so", - "chatglm_C.cpython-311-x86_64-linux-gnu.so" + ] ext_lib_urls = [ From b66584f23b1ed30f28ef0465b22ac69a3b25d641 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 14:51:23 +0800 Subject: [PATCH 06/13] test --- .github/workflows/llm_unit_tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index 479a142b..df012e53 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -38,7 +38,6 @@ jobs: llm-cpp-build: uses: ./.github/workflows/llm-binary-build.yml llm-unit-test: - if: false needs: llm-cpp-build strategy: fail-fast: false From 8f6e979fadf48c1455c6c9a1d4b0d567d7af39c3 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 15:10:11 +0800 Subject: [PATCH 07/13] test again --- .github/workflows/llm-binary-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index fbfe1b35..8ac7809b 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -143,7 +143,7 @@ jobs: make clean conda remove -n python39 --all -y conda remove -n python310 --all -y - conda remove -n python311 --all -y + # conda remove -n python311 --all -y check-linux-avx512-artifact: runs-on: ubuntu-latest From cb7ef38e86573c0f3823299e1df9d7d819e0437e Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 15:30:34 +0800 Subject: [PATCH 08/13] rerun --- .github/workflows/llm-binary-build.yml | 60 +++++++++++++------------- .github/workflows/llm_unit_tests.yml | 24 +++++------ python/llm/setup.py | 4 +- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index 8ac7809b..fee8f6d8 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -62,8 +62,8 @@ jobs: conda create -n python39 python=3.9 -y conda remove -n python310 --all -y conda create -n python310 python=3.10 -y - # conda remove -n python311 --all -y - # conda create -n python311 python=3.11 -y + conda remove -n python311 --all -y + conda create -n python311 python=3.11 -y - uses: actions/checkout@v3 with: repository: "intel-analytics/llm.cpp" @@ -119,18 +119,18 @@ jobs: shell: bash run: | mv src/chatglm/build/_C.cpython-310-x86_64-linux-gnu.so release/chatglm_C.cpython-310-x86_64-linux-gnu.so - # - name: Build Chatglm Py311 - # shell: bash - # run: | - # source activate python311 || conda activate python311 - # cd src/chatglm - # rm -r build - # scl enable gcc-toolset-11 "cmake -B build" - # scl enable gcc-toolset-11 "cmake --build build --config Release -j" - # - name: Move Chatglm binaries Py311 - # shell: bash - # run: | - # mv src/chatglm/build/_C.cpython-311-x86_64-linux-gnu.so release/chatglm_C.cpython-311-x86_64-linux-gnu.so + - name: Build Chatglm Py311 + shell: bash + run: | + source activate python311 || conda activate python311 + cd src/chatglm + rm -r build + scl enable gcc-toolset-11 "cmake -B build" + scl enable gcc-toolset-11 "cmake --build build --config Release -j" + - name: Move Chatglm binaries Py311 + shell: bash + run: | + mv src/chatglm/build/_C.cpython-311-x86_64-linux-gnu.so release/chatglm_C.cpython-311-x86_64-linux-gnu.so - name: Archive build files uses: actions/upload-artifact@v3 with: @@ -143,7 +143,7 @@ jobs: make clean conda remove -n python39 --all -y conda remove -n python310 --all -y - # conda remove -n python311 --all -y + conda remove -n python311 --all -y check-linux-avx512-artifact: runs-on: ubuntu-latest @@ -446,21 +446,21 @@ jobs: shell: powershell run: | mv src/chatglm/build/Release/_C.cp310-win_amd64.pyd release/chatglm_C.cp310-win_amd64.pyd - # - name: Set up Python - # uses: actions/setup-python@v4 - # with: - # python-version: "3.11" - # - name: Build Chatglm Py311 - # shell: powershell - # run: | - # cd src/chatglm - # rm -r build - # cmake -DAVXVNNI=ON -B build - # cmake --build build --config Release -j - # - name: Move Chatglm binaries Py311 - # shell: powershell - # run: | - # mv src/chatglm/build/Release/_C.cp311-win_amd64.pyd release/chatglm_C.cp311-win_amd64.pyd + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.11" + - name: Build Chatglm Py311 + shell: powershell + run: | + cd src/chatglm + rm -r build + cmake -DAVXVNNI=ON -B build + cmake --build build --config Release -j + - name: Move Chatglm binaries Py311 + shell: powershell + run: | + mv src/chatglm/build/Release/_C.cp311-win_amd64.pyd release/chatglm_C.cp311-win_amd64.pyd - name: Archive build files uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index df012e53..21bbe829 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -43,18 +43,18 @@ jobs: fail-fast: false matrix: include: - # - os: windows - # instruction: avx2 - # python-version: "3.9" - # - os: ubuntu-20.04-lts - # instruction: avx512 - # python-version: "3.9" - # - os: windows - # instruction: avx2 - # python-version: "3.10" - # - os: ubuntu-20.04-lts - # instruction: avx512 - # python-version: "3.10" + - os: windows + instruction: avx2 + python-version: "3.9" + - os: ubuntu-20.04-lts + instruction: avx512 + python-version: "3.9" + - os: windows + instruction: avx2 + python-version: "3.10" + - os: ubuntu-20.04-lts + instruction: avx512 + python-version: "3.10" - os: windows instruction: avx2 python-version: "3.11" diff --git a/python/llm/setup.py b/python/llm/setup.py index 22c1d4a5..44ee4578 100644 --- a/python/llm/setup.py +++ b/python/llm/setup.py @@ -87,7 +87,7 @@ windows_binarys = [ "main-chatglm_vnni.exe", "chatglm_C.cp39-win_amd64.pyd", "chatglm_C.cp310-win_amd64.pyd", - + "chatglm_C.cp311-win_amd64.pyd" ] linux_binarys = [ "libllama_avx.so", @@ -127,7 +127,7 @@ linux_binarys = [ "main-chatglm_amx", "chatglm_C.cpython-39-x86_64-linux-gnu.so", "chatglm_C.cpython-310-x86_64-linux-gnu.so", - + "chatglm_C.cpython-311-x86_64-linux-gnu.so" ] ext_lib_urls = [ From 964a8e6dc1f18db950222af346ec166985062f29 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 16:20:19 +0800 Subject: [PATCH 09/13] update conda --- .github/workflows/llm-binary-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index fee8f6d8..0ac66dad 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -58,6 +58,7 @@ jobs: export http_proxy=${HTTP_PROXY} export https_proxy=${HTTPS_PROXY} yum install -y gcc-toolset-11 cmake git + conda update -n base conda conda remove -n python39 --all -y conda create -n python39 python=3.9 -y conda remove -n python310 --all -y From 2fff0e8c21fbac763228ecb2e1a07af263200e76 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 16:28:29 +0800 Subject: [PATCH 10/13] use runner avx2 with linux --- .github/workflows/llm_unit_tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index 21bbe829..699cdadb 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -47,19 +47,19 @@ jobs: instruction: avx2 python-version: "3.9" - os: ubuntu-20.04-lts - instruction: avx512 + instruction: avx2 python-version: "3.9" - os: windows instruction: avx2 python-version: "3.10" - os: ubuntu-20.04-lts - instruction: avx512 + instruction: avx2 python-version: "3.10" - os: windows instruction: avx2 python-version: "3.11" - os: ubuntu-20.04-lts - instruction: avx512 + instruction: avx2 python-version: "3.11" runs-on: [self-hosted, llm, "${{matrix.instruction}}", "${{matrix.os}}"] env: From 3c3329010df75d85ff64068a2d51c72835dd3699 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 16:36:35 +0800 Subject: [PATCH 11/13] add conda update -n base conda --- .github/workflows/llm_unit_tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index 699cdadb..21bbe829 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -47,19 +47,19 @@ jobs: instruction: avx2 python-version: "3.9" - os: ubuntu-20.04-lts - instruction: avx2 + instruction: avx512 python-version: "3.9" - os: windows instruction: avx2 python-version: "3.10" - os: ubuntu-20.04-lts - instruction: avx2 + instruction: avx512 python-version: "3.10" - os: windows instruction: avx2 python-version: "3.11" - os: ubuntu-20.04-lts - instruction: avx2 + instruction: avx512 python-version: "3.11" runs-on: [self-hosted, llm, "${{matrix.instruction}}", "${{matrix.os}}"] env: From 687da21467d9733ce2004f2a105e12929e61504e Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 19:14:53 +0800 Subject: [PATCH 12/13] test 3.11 --- .github/workflows/llm-binary-build.yml | 1 - .github/workflows/llm_unit_tests.yml | 24 ++++++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/llm-binary-build.yml b/.github/workflows/llm-binary-build.yml index 0ac66dad..fee8f6d8 100644 --- a/.github/workflows/llm-binary-build.yml +++ b/.github/workflows/llm-binary-build.yml @@ -58,7 +58,6 @@ jobs: export http_proxy=${HTTP_PROXY} export https_proxy=${HTTPS_PROXY} yum install -y gcc-toolset-11 cmake git - conda update -n base conda conda remove -n python39 --all -y conda create -n python39 python=3.9 -y conda remove -n python310 --all -y diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index 21bbe829..df012e53 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -43,18 +43,18 @@ jobs: fail-fast: false matrix: include: - - os: windows - instruction: avx2 - python-version: "3.9" - - os: ubuntu-20.04-lts - instruction: avx512 - python-version: "3.9" - - os: windows - instruction: avx2 - python-version: "3.10" - - os: ubuntu-20.04-lts - instruction: avx512 - python-version: "3.10" + # - os: windows + # instruction: avx2 + # python-version: "3.9" + # - os: ubuntu-20.04-lts + # instruction: avx512 + # python-version: "3.9" + # - os: windows + # instruction: avx2 + # python-version: "3.10" + # - os: ubuntu-20.04-lts + # instruction: avx512 + # python-version: "3.10" - os: windows instruction: avx2 python-version: "3.11" From d1bdc0ef7230d78e557a9c497b56c62864757623 Mon Sep 17 00:00:00 2001 From: Jasonzzt Date: Wed, 1 Nov 2023 22:57:48 +0800 Subject: [PATCH 13/13] spr & arc ut with python 3.9 & 3.10 & 3.11 --- .github/workflows/llm_unit_tests.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/llm_unit_tests.yml b/.github/workflows/llm_unit_tests.yml index df012e53..9a8380ed 100644 --- a/.github/workflows/llm_unit_tests.yml +++ b/.github/workflows/llm_unit_tests.yml @@ -43,18 +43,18 @@ jobs: fail-fast: false matrix: include: - # - os: windows - # instruction: avx2 - # python-version: "3.9" - # - os: ubuntu-20.04-lts - # instruction: avx512 - # python-version: "3.9" - # - os: windows - # instruction: avx2 - # python-version: "3.10" - # - os: ubuntu-20.04-lts - # instruction: avx512 - # python-version: "3.10" + - os: windows + instruction: avx2 + python-version: "3.9" + - os: ubuntu-20.04-lts + instruction: avx512 + python-version: "3.9" + - os: windows + instruction: avx2 + python-version: "3.10" + - os: ubuntu-20.04-lts + instruction: avx512 + python-version: "3.10" - os: windows instruction: avx2 python-version: "3.11" @@ -205,7 +205,6 @@ jobs: pip install -U typing_extensions==4.5.0 bash python/llm/test/run-llm-langchain-tests.sh llm-unit-test-on-arc: - if: false needs: llm-cpp-build strategy: fail-fast: false