mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-19 08:00:25 +00:00
github actions updates for deprecation of nodejs 20 (+1 squashed commits)
Squashed commits: [0ed5af384] checkout to v4
This commit is contained in:
parent
2f63f94fd8
commit
699bc6b278
11 changed files with 29 additions and 29 deletions
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-oldpc
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_linux_binary
|
||||
path: dist/
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
df -h
|
||||
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
"
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_linux_binary
|
||||
path: ${{ github.workspace }}/dist/
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ jobs:
|
|||
run: mv dist/koboldcpp-linux-x64-cuda1210 dist/koboldcpp-linux-x64
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_linux_binary
|
||||
path: dist/
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
dist/koboldcpp-mac-arm64 --model baby_llama.gguf --gpulayers 99 --benchmark --prompt 'Hi, my name is'
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_mac_binary
|
||||
path: dist/
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Get Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8.10
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
run: |
|
||||
make LLAMA_VULKAN=1 LLAMA_PORTABLE=1 -j ${env:NUMBER_OF_PROCESSORS} LLAMA_NOAVX2=1
|
||||
|
||||
- uses: Jimver/cuda-toolkit@v0.2.15
|
||||
- uses: Jimver/cuda-toolkit@v0.2.24
|
||||
id: cuda-toolkit
|
||||
with:
|
||||
cuda: '11.4.4'
|
||||
|
|
@ -124,7 +124,7 @@ jobs:
|
|||
./make_pyinstaller_cuda_oldpc.bat
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_windows_pyinstallers
|
||||
path: dist/
|
||||
|
|
|
|||
10
.github/workflows/kcpp-build-release-win.yaml
vendored
10
.github/workflows/kcpp-build-release-win.yaml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Get Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8.10
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ jobs:
|
|||
./make_pyinstaller_cuda.bat
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_windows_pyinstallers
|
||||
path: dist/
|
||||
|
|
@ -136,7 +136,7 @@ jobs:
|
|||
echo "If you cannot compile vulkan shaders yourself with glslc, you can manually patch in precompiled vulkan shader source files. Copy ggml-vulkan-shaders.cpp and ggml-vulkan-shaders.hpp to the ggml/src subdirectory in KoboldCpp source files before building." > vulkan-readme.txt
|
||||
|
||||
- name: Save Standalone Vulkan Shaders
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: vulkan_precompiled_shaders
|
||||
path: |
|
||||
|
|
@ -162,7 +162,7 @@ jobs:
|
|||
shell: pwsh
|
||||
|
||||
- name: Upload Tools
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: koboldcpp_tools
|
||||
path: |
|
||||
|
|
|
|||
2
.github/workflows/test-autoguess.yaml
vendored
2
.github/workflows/test-autoguess.yaml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x' # Adjust to your preferred Python version
|
||||
|
||||
|
|
|
|||
4
.github/workflows/test-unofficial-arm64.yaml
vendored
4
.github/workflows/test-unofficial-arm64.yaml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
"
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_linux_arm64_binary
|
||||
path: dist/
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-olderpc
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_linux_binary
|
||||
path: dist/
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Get Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8.10
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
./make_pyinstaller_oldpc.bat
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_windows_pyinstallers
|
||||
path: dist/
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
echo "Building from ref: ${{ inputs.commit_hash != '' && inputs.commit_hash || github.head_ref || github.ref_name }}"
|
||||
|
||||
- name: Get Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8.10
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
run: |
|
||||
make LLAMA_VULKAN=1 LLAMA_PORTABLE=1 -j ${env:NUMBER_OF_PROCESSORS}
|
||||
|
||||
- uses: Jimver/cuda-toolkit@v0.2.15
|
||||
- uses: Jimver/cuda-toolkit@v0.2.24
|
||||
id: cuda-toolkit
|
||||
with:
|
||||
cuda: '11.4.4'
|
||||
|
|
@ -124,7 +124,7 @@ jobs:
|
|||
./make_pyinstaller_cuda_oldpc.bat
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: kcpp_windows_pyinstallers
|
||||
path: dist/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue