From 3f903e19c6da489208b8435a63f82dd8cfd5a285 Mon Sep 17 00:00:00 2001
From: jllllll <3887729+jllllll@users.noreply.github.com>
Date: Tue, 28 Nov 2023 03:49:51 -0600
Subject: [PATCH] Add 0.2.20 builds to package index
Add aarch64 MacOS wheels
---
.github/workflows/build-wheels-macos.yml | 10 +-
generate-html.ps1 | 4 +-
generate-textgen-html.ps1 | 2 +-
index/AVX/cpu/llama-cpp-python/index.html | 9 +
index/AVX/cu116/llama-cpp-python/index.html | 9 +
index/AVX/cu117/llama-cpp-python/index.html | 9 +
index/AVX/cu118/llama-cpp-python/index.html | 9 +
index/AVX/cu120/llama-cpp-python/index.html | 9 +
index/AVX/cu121/llama-cpp-python/index.html | 9 +
index/AVX/cu122/llama-cpp-python/index.html | 9 +
.../AVX/rocm5.4.2/llama-cpp-python/index.html | 5 +
.../AVX/rocm5.5.1/llama-cpp-python/index.html | 5 +
index/AVX/rocm5.5/llama-cpp-python/index.html | 5 +
.../AVX/rocm5.6.1/llama-cpp-python/index.html | 5 +
index/AVX2/cpu/llama-cpp-python/index.html | 9 +
index/AVX2/cu116/llama-cpp-python/index.html | 9 +
index/AVX2/cu117/llama-cpp-python/index.html | 9 +
index/AVX2/cu118/llama-cpp-python/index.html | 9 +
index/AVX2/cu120/llama-cpp-python/index.html | 9 +
index/AVX2/cu121/llama-cpp-python/index.html | 9 +
index/AVX2/cu122/llama-cpp-python/index.html | 9 +
.../rocm5.4.2/llama-cpp-python/index.html | 5 +
.../rocm5.5.1/llama-cpp-python/index.html | 5 +
.../AVX2/rocm5.5/llama-cpp-python/index.html | 5 +
.../rocm5.6.1/llama-cpp-python/index.html | 5 +
index/AVX512/cpu/llama-cpp-python/index.html | 9 +
.../AVX512/cu116/llama-cpp-python/index.html | 9 +
.../AVX512/cu117/llama-cpp-python/index.html | 9 +
.../AVX512/cu118/llama-cpp-python/index.html | 9 +
.../AVX512/cu120/llama-cpp-python/index.html | 9 +
.../AVX512/cu121/llama-cpp-python/index.html | 9 +
.../AVX512/cu122/llama-cpp-python/index.html | 9 +
index/basic/cpu/llama-cpp-python/index.html | 280 ++++++++++++++++++
index/basic/cu116/llama-cpp-python/index.html | 9 +
index/basic/cu117/llama-cpp-python/index.html | 9 +
index/basic/cu118/llama-cpp-python/index.html | 9 +
index/basic/cu120/llama-cpp-python/index.html | 9 +
index/basic/cu121/llama-cpp-python/index.html | 9 +
index/basic/cu122/llama-cpp-python/index.html | 9 +
.../rocm5.4.2/llama-cpp-python/index.html | 5 +
.../rocm5.5.1/llama-cpp-python/index.html | 5 +
.../basic/rocm5.5/llama-cpp-python/index.html | 5 +
.../rocm5.6.1/llama-cpp-python/index.html | 5 +
index/cpu.html | 9 +
index/cu116.html | 9 +
index/cu117.html | 9 +
index/cu118.html | 9 +
index/cu120.html | 9 +
index/cu121.html | 9 +
index/cu122.html | 9 +
index/rocm5.4.2.html | 5 +
index/rocm5.5.1.html | 5 +
index/rocm5.5.html | 5 +
index/rocm5.6.1.html | 5 +
.../cu117/llama-cpp-python-cuda/index.html | 9 +
.../cu118/llama-cpp-python-cuda/index.html | 9 +
.../cu120/llama-cpp-python-cuda/index.html | 9 +
.../cu121/llama-cpp-python-cuda/index.html | 9 +
.../cu122/llama-cpp-python-cuda/index.html | 9 +
.../llama-cpp-python-cuda/index.html | 5 +
.../llama-cpp-python-cuda/index.html | 5 +
.../rocm5.5/llama-cpp-python-cuda/index.html | 5 +
.../llama-cpp-python-cuda/index.html | 5 +
.../cu117/llama-cpp-python-cuda/index.html | 9 +
.../cu118/llama-cpp-python-cuda/index.html | 9 +
.../cu120/llama-cpp-python-cuda/index.html | 9 +
.../cu121/llama-cpp-python-cuda/index.html | 9 +
.../cu122/llama-cpp-python-cuda/index.html | 9 +
.../llama-cpp-python-cuda/index.html | 5 +
.../llama-cpp-python-cuda/index.html | 5 +
.../rocm5.5/llama-cpp-python-cuda/index.html | 5 +
.../llama-cpp-python-cuda/index.html | 5 +
.../cu117/llama-cpp-python-cuda/index.html | 9 +
.../cu118/llama-cpp-python-cuda/index.html | 9 +
.../cu120/llama-cpp-python-cuda/index.html | 9 +
.../cu121/llama-cpp-python-cuda/index.html | 9 +
.../cu122/llama-cpp-python-cuda/index.html | 9 +
.../llama-cpp-python-cuda/index.html | 5 +
.../llama-cpp-python-cuda/index.html | 5 +
.../rocm5.5/llama-cpp-python-cuda/index.html | 5 +
.../llama-cpp-python-cuda/index.html | 5 +
81 files changed, 870 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build-wheels-macos.yml b/.github/workflows/build-wheels-macos.yml
index 0e9bf000..123779ed 100644
--- a/.github/workflows/build-wheels-macos.yml
+++ b/.github/workflows/build-wheels-macos.yml
@@ -4,8 +4,8 @@ on:
workflow_dispatch:
inputs:
version:
- description: 'Version tag of llama-cpp-python to build: v0.2.14'
- default: 'v0.2.14'
+ description: 'Version tag of llama-cpp-python to build: v0.2.20'
+ default: 'v0.2.20'
required: true
type: string
config:
@@ -21,8 +21,8 @@ on:
workflow_call:
inputs:
version:
- description: 'Version tag of llama-cpp-python to build: v0.2.14'
- default: 'v0.2.14'
+ description: 'Version tag of llama-cpp-python to build: v0.2.20'
+ default: 'v0.2.20'
required: true
type: string
config:
@@ -114,6 +114,8 @@ jobs:
VERBOSE=1 python -m build --wheel
fi
+ for file in ./dist/*.whl; do cp "$file" "${file/arm64.whl/aarch64.whl}"; done
+
export CMAKE_OSX_ARCHITECTURES="x86_64" && export CMAKE_ARGS="-DLLAMA_NATIVE=off -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_FMA=off -DLLAMA_F16C=off -DLLAMA_METAL=on" && export ARCHFLAGS="-arch x86_64"
VERBOSE=1 python -m build --wheel
diff --git a/generate-html.ps1 b/generate-html.ps1
index c84c5dcb..cca9470c 100644
--- a/generate-html.ps1
+++ b/generate-html.ps1
@@ -3,9 +3,9 @@ Set-Location $PSScriptRoot
$destinationDir = if (Test-Path $(Join-Path $(Resolve-Path '.') 'index')) {Join-Path '.' 'index' -resolve} else {(New-Item 'index' -ItemType 'Directory').fullname}
$avxVersions = "AVX","AVX2","AVX512","basic"
$cudaVersions = "11.6","11.7","11.8","12.0","12.1","12.2","rocm5.4.2","rocm5.5","rocm5.5.1","rocm5.6.1","cpu"
-$packageVersions = (@(62)+66..74+76..85).foreach({"$_".Insert(0,'0.1.')}) + (0..11+14..19).foreach({"$_".Insert(0,'0.2.')})
+$packageVersions = (@(62)+66..74+76..85).foreach({"$_".Insert(0,'0.1.')}) + (0..11+14..20).foreach({"$_".Insert(0,'0.2.')})
$pythonVersions = "3.7","3.8","3.9","3.10","3.11"
-$supportedSystems = 'linux_x86_64','win_amd64','macosx_11_0_x86_64','macosx_12_0_x86_64','macosx_13_0_x86_64','macosx_14_0_x86_64','macosx_11_0_arm64','macosx_12_0_arm64','macosx_13_0_arm64','macosx_14_0_arm64'
+$supportedSystems = 'linux_x86_64','win_amd64','macosx_11_0_x86_64','macosx_12_0_x86_64','macosx_13_0_x86_64','macosx_14_0_x86_64','macosx_11_0_arm64','macosx_12_0_arm64','macosx_13_0_arm64','macosx_14_0_arm64','macosx_11_0_aarch64','macosx_12_0_aarch64','macosx_13_0_aarch64','macosx_14_0_aarch64'
$wheelSource = 'https://github.com/jllllll/llama-cpp-python-cuBLAS-wheels/releases/download'
$packageName = 'llama_cpp_python'
$packageNameNormalized = 'llama-cpp-python'
diff --git a/generate-textgen-html.ps1 b/generate-textgen-html.ps1
index 0738e76f..76cf517b 100644
--- a/generate-textgen-html.ps1
+++ b/generate-textgen-html.ps1
@@ -4,7 +4,7 @@ $destinationDir = if (Test-Path $(Join-Path $(Resolve-Path '.') 'index')) {Join-
$destinationDir = if (Test-Path $(Join-Path $destinationDir 'textgen')) {Join-Path $destinationDir 'textgen'} else {(New-Item $(Join-Path $destinationDir 'textgen') -ItemType 'Directory').fullname}
$avxVersions = "AVX","AVX2","basic"
$cudaVersions = "11.7","11.8","12.0","12.1","12.2","rocm5.4.2","rocm5.5","rocm5.5.1","rocm5.6.1"
-$packageVersions = (73..74+76..85).foreach({"$_".Insert(0,'0.1.')}) + (0..11+14..19).foreach({"$_".Insert(0,'0.2.')})
+$packageVersions = (73..74+76..85).foreach({"$_".Insert(0,'0.1.')}) + (0..11+14..20).foreach({"$_".Insert(0,'0.2.')})
$pythonVersions = "3.8","3.9","3.10","3.11"
$supportedSystems = 'linux_x86_64','win_amd64'
$wheelSource = 'https://github.com/jllllll/llama-cpp-python-cuBLAS-wheels/releases/download'
diff --git a/index/AVX/cpu/llama-cpp-python/index.html b/index/AVX/cpu/llama-cpp-python/index.html
index 12e80afa..602129ff 100644
--- a/index/AVX/cpu/llama-cpp-python/index.html
+++ b/index/AVX/cpu/llama-cpp-python/index.html
@@ -327,5 +327,14 @@
llama_cpp_python-0.2.19+cpuavx-cp310-cp310-win_amd64.whl
llama_cpp_python-0.2.19+cpuavx-cp311-cp311-manylinux_2_31_x86_64.whl
llama_cpp_python-0.2.19+cpuavx-cp311-cp311-win_amd64.whl
+
+ llama_cpp_python-0.2.20+cpuavx-cp38-cp38-manylinux_2_31_x86_64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp38-cp38-win_amd64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp39-cp39-manylinux_2_31_x86_64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp39-cp39-win_amd64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp310-cp310-manylinux_2_31_x86_64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp310-cp310-win_amd64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp311-cp311-manylinux_2_31_x86_64.whl
+ llama_cpp_python-0.2.20+cpuavx-cp311-cp311-win_amd64.whl