8000 Allow user to compile with any cuda version using github actions by jianlins · Pull Request #10928 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content

Allow user to compile with any cuda version using github actions #10928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
trim trailing whitespaces
  • Loading branch information
jianlins authored Dec 29, 2024
commit 9449305e47aaa96af249b10fc6bc341df2a765b7
16 changes: 8 additions & 8 deletions .github/workflows/custom_build_wincuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
cancel-in-progress: true

permissions:
contents: write
contents: write

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
Expand All @@ -34,7 +34,7 @@ env:
LLAMA_LOG_TIMESTAMPS: 1

jobs:


windows-2019-cmake-cuda:
runs-on: windows-2019
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Python
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -73,12 +73,12 @@ jobs:
echo "Computer Name: ${env:COMPUTERNAME}"
wmic cpu get name
wmic os get TotalVisibleMemorySize, FreePhysicalMemory

- uses: Jimver/cuda-toolkit@v0.2.19
id: cuda-toolkit
with:
cuda: ${{ github.event.inputs.cuda }}


- name: Install ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand All @@ -91,7 +91,7 @@ jobs:
mkdir build
cd build
cmake .. -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="${{ github.event.inputs.gpu_arch }}" -DCMAKE_SYSTEM_VERSION="10.0.19041.0"
cmake --build . --config Release -j 2
cmake --build . --config Release -j 2

- name: Determine tag name
id: tag
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

- name: Move artifacts
id: move_artifacts
run: mkdir -p ./artifact/release && mv ./artifact/*/*.zip ./artifact/release
run: mkdir -p ./artifact/release && mv ./artifact/*/*.zip ./artifact/release

- name: Create release
id: create_release
Expand All @@ -152,7 +152,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.name }}

- name: Upload release
id: upload_release
if: ${{ github.event.inputs.create_release == 'true' }}
Expand Down
Loading
0