forked from ggerganov/llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing workflow for windows cuda builds
(cherry picked from commit e1f013b)
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Koboldcpp Builder Windows CUDA | ||
|
||
on: workflow_dispatch | ||
env: | ||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | ||
|
||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: concedo_experimental | ||
|
||
- uses: Jimver/cuda-toolkit@v0.2.11 | ||
id: cuda-toolkit | ||
with: | ||
cuda: '11.7.1' | ||
method: 'network' | ||
sub-packages: '["nvcc", "cudart", "cublas", "cublas_dev", "thrust", "visual_studio_integration"]' | ||
|
||
- name: Build | ||
id: cmake_build | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -DLLAMA_CUBLAS=ON | ||
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS} | ||
- name: Save artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: kcpp_windows_cuda_binary | ||
path: build/bin/Release/ |