mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-17 16:25:01 +02:00
breaking change: due to cuda12 upgrade, release filenames will change. standardize them to windows naming for the future. (+1 squashed commits)
Squashed commits: [75842919a] cuda12.4 test
This commit is contained in:
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
KCPP_CUDA: 12.1.0
|
||||
KCPP_CUDA: 12.4.0
|
||||
ARCHES_CU12: 1
|
||||
|
||||
jobs:
|
||||
@@ -51,6 +51,9 @@ jobs:
|
||||
run: |
|
||||
./koboldcpp.sh dist
|
||||
|
||||
- name: Rename file before upload
|
||||
run: mv dist/koboldcpp-linux-x64-cuda1240 dist/koboldcpp-linux-x64-cuda12
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
@@ -52,6 +52,9 @@ jobs:
|
||||
run: |
|
||||
./koboldcpp.sh dist
|
||||
|
||||
- name: Rename file before upload
|
||||
run: mv dist/koboldcpp-linux-x64-cuda1150 dist/koboldcpp-linux-x64-cuda11
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
@@ -40,34 +40,6 @@ jobs:
|
||||
& "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -products * -format json
|
||||
shell: pwsh
|
||||
|
||||
- name: Visual Studio 2019 Reinstall
|
||||
shell: cmd
|
||||
run: |
|
||||
@echo off
|
||||
echo Preparing setup
|
||||
curl -fLO https://download.visualstudio.microsoft.com/download/pr/1fbe074b-8ae1-4e9b-8e83-d1ce4200c9d1/61098e228df7ba3a6a8b4e920a415ad8878d386de6dd0f23f194fe1a55db189a/vs_Enterprise.exe
|
||||
vs_Enterprise.exe --quiet --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.CLI.Support --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Workload.UniversalBuildTools --add Microsoft.VisualStudio.Component.VC.CMake.Project
|
||||
echo Waiting for VS2019 setup
|
||||
set "ProcessName=setup.exe"
|
||||
:CheckProcess
|
||||
tasklist /FI "IMAGENAME eq %ProcessName%" | find /I "%ProcessName%" >nul
|
||||
if %errorlevel%==0 (
|
||||
ping 127.0.0.1 /n 5 >nul
|
||||
goto CheckProcess
|
||||
)
|
||||
echo VS2019 Setup completed
|
||||
exit /b 0
|
||||
|
||||
- name: Disable Visual Studio 2022 by Renaming
|
||||
run: |
|
||||
Rename-Item "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" "Enterprise_DISABLED"
|
||||
shell: pwsh
|
||||
|
||||
- name: Display full Visual Studio info After
|
||||
run: |
|
||||
& "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -products * -format json
|
||||
shell: pwsh
|
||||
|
||||
- name: Download and install win64devkit
|
||||
run: |
|
||||
curl -L https://github.com/skeeto/w64devkit/releases/download/v1.22.0/w64devkit-1.22.0.zip --output w64devkit.zip
|
||||
@@ -94,7 +66,7 @@ jobs:
|
||||
- uses: Jimver/cuda-toolkit@v0.2.15
|
||||
id: cuda-toolkit
|
||||
with:
|
||||
cuda: '12.1.0'
|
||||
cuda: '12.4.0'
|
||||
use-github-cache: false
|
||||
|
||||
- name: Build CUDA
|
||||
@@ -114,8 +86,8 @@ jobs:
|
||||
# ls
|
||||
- name: Copy CuBLAS Libraries
|
||||
run: |
|
||||
copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin\cublasLt64_12.dll" .
|
||||
copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin\cublas64_12.dll" .
|
||||
copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin\cublasLt64_12.dll" .
|
||||
copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin\cublas64_12.dll" .
|
||||
ls
|
||||
|
||||
- name: Package PyInstallers
|
||||
|
||||
Reference in New Issue
Block a user