Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
13 changes: 9 additions & 4 deletions .github/workflows/build-wheels-cu128-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ on:
description: 'Optional: Repository to checkout (e.g. JamePeng/llama-cpp-python). '
required: false
type: string
default: 'hJamePeng/llama-cpp-python'
default: 'JamePeng/llama-cpp-python'
cuda_ver:
description: 'CUDA versions | 12.4.1 / 12.8.1'
required: true
default: '12.4.1'
type: string
cuda_arch:
description: 'CUDA architectures'
description: 'CUDA architectures | 50;70'
required: true
default: '70-real;75-real;80-real;86-real;87-real;89-real;90-real;100-real;101-real;120-real'
type: string
Expand All @@ -24,8 +29,8 @@ jobs:
strategy:
matrix:
os: ['windows-2022']
pyver: ["3.10", "3.11", "3.12", "3.13"]
cuda: ["12.8.1"]
pyver: ["3.10", "3.11", "3.12"]
cuda: ["${{ inputs.cuda_ver }}"]
releasetag: ["AVX2"]
cudaarch: ["${{ inputs.cuda_arch }}"]
defaults:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/build-wheels-cuda_manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
required: true
default: '12.4.1'
type: string
cuda_arch:
description: 'CUDA architectures | 50;70;75;80;86;87;89;90;100;101;120 or all'
required: true
default: '50;70;75;80;86;87;89;90;100;101;120'
type: string
releasetag:
description: 'Release tags (comma-separated)'
required: true
Expand Down Expand Up @@ -364,11 +369,11 @@ jobs:
# 准备CMake参数
cmake_args = [
"-DGGML_CUDA=on",
"-DCMAKE_CUDA_ARCHITECTURES=all",
"-DCMAKE_CUDA_ARCHITECTURES=${{inputs.cuda_arch}}",
"-DGGML_CUDA_FORCE_MMQ=ON",
"-DGGML_AVX2=off",
"-DGGML_FMA=off",
"-DGGML_F16C=off",
"-DGGML_AVX2=ON",
"-DGGML_FMA=OFF",
"-DGGML_F16C=OFF",
f'-DCMAKE_CUDA_COMPILER="{norm_nvcc}"'
]

Expand Down