Optimize koboldcpp.sh for local users (#2444)

* koboldcpp.sh is now optimized for local

* Restore 12.1 behavior when build system has no GPU

* Fix PORTABLE_SO text replace fail

* Restore accidentally deleted file

* More koboldcpp.sh fixes

* Move vulkan noavx2 to portable section

* Fix syntax on portable env

* Fix rocm env variables in CI
This commit is contained in:
henk717 2026-09-18 04:49:52 +02:00 • committed by GitHub
parent 7f1f979185
commit 6c8df269ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 51 additions and 17 deletions

View file

@ -12,6 +12,7 @@ env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
KCPP_CUDA: 13.0.0
ARCHES_CU13: 1
KCPP_PORTABLE: 1
jobs:
linux:

View file

@ -13,6 +13,7 @@ env:
NOAVX2: 1
ARCHES_CU11: 1
KCPP_CUDA: 11.4.0
KCPP_PORTABLE: 1
jobs:
linux:

View file

@ -14,8 +14,6 @@ on:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
KCPP_CUDA: rocm
ARCHES_CU12: 1
jobs:
linux:
@ -46,6 +44,7 @@ jobs:
-v "${{ github.workspace }}:/workspace" \
-w /workspace \
-e KCPP_CUDA="rocm" \
-e KCPP_PORTABLE="1" \
-e BRANCH_NAME="${{ github.head_ref || github.ref_name }}" \
rocm/dev-ubuntu-22.04:7.14.0-full \
bash -c "

View file

@ -12,6 +12,7 @@ env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
KCPP_CUDA: 12.1.0
ARCHES_CU12: 1
KCPP_PORTABLE: 1
jobs:
linux:

View file

@ -13,6 +13,7 @@ env:
NOAVX1: 1
ARCHES_CU11: 1
KCPP_CUDA: 11.4.0
KCPP_PORTABLE: 1
jobs:
linux: