diff --git a/.github/workflows/kcpp-build-release-win-cuda.yaml b/.github/workflows/kcpp-build-release-win-cuda.yaml index 2c4e335a1e08f..24cb3de5369ba 100644 --- a/.github/workflows/kcpp-build-release-win-cuda.yaml +++ b/.github/workflows/kcpp-build-release-win-cuda.yaml @@ -25,7 +25,7 @@ jobs: mkdir build cd build cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0" - cmake --build . --config Release -j $((${env:NUMBER_OF_PROCESSORS} - 1)) + cmake --build . --config Release -j 1 - name: Save artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/kcpp-build-release-win-cuda12.yaml b/.github/workflows/kcpp-build-release-win-cuda12.yaml index ed5993b916cd3..7e4e5354715e9 100644 --- a/.github/workflows/kcpp-build-release-win-cuda12.yaml +++ b/.github/workflows/kcpp-build-release-win-cuda12.yaml @@ -25,7 +25,7 @@ jobs: mkdir build cd build cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0" - cmake --build . --config Release -j $((${env:NUMBER_OF_PROCESSORS} - 1)) + cmake --build . --config Release -j 1 - name: Save artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/kcpp-build-release-win-full-cu12.yaml b/.github/workflows/kcpp-build-release-win-full-cu12.yaml index d8de3a729f3fb..6c4e9a80aad6f 100644 --- a/.github/workflows/kcpp-build-release-win-full-cu12.yaml +++ b/.github/workflows/kcpp-build-release-win-full-cu12.yaml @@ -58,7 +58,7 @@ jobs: mkdir build cd build cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0" - cmake --build . --config Release -j $((${env:NUMBER_OF_PROCESSORS} - 1)) + cmake --build . --config Release -j 1 mv bin/Release/koboldcpp_cublas.dll ../koboldcpp_cublas.dll cd .. diff --git a/.github/workflows/kcpp-build-release-win-full.yaml b/.github/workflows/kcpp-build-release-win-full.yaml index 33fc613177069..ba84dc88ef748 100644 --- a/.github/workflows/kcpp-build-release-win-full.yaml +++ b/.github/workflows/kcpp-build-release-win-full.yaml @@ -58,7 +58,7 @@ jobs: mkdir build cd build cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0" - cmake --build . --config Release -j $((${env:NUMBER_OF_PROCESSORS} - 1)) + cmake --build . --config Release -j 1 mv bin/Release/koboldcpp_cublas.dll ../koboldcpp_cublas.dll cd .. diff --git a/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml b/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml index 69aec6f59b92e..351736948d7ed 100644 --- a/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml +++ b/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml @@ -58,7 +58,7 @@ jobs: mkdir build cd build cmake .. -DLLAMA_CUBLAS=ON -DLLAMA_AVX2=OFF -DCMAKE_SYSTEM_VERSION="10.0.19041.0" - cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS} + cmake --build . --config Release -j 1 mv bin/Release/koboldcpp_cublas.dll ../koboldcpp_cublas.dll cd ..