mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-10 14:18:00 -05:00
fix wheel creation + bump llama.cpp version again
This commit is contained in:
3
.github/workflows/create-release.yml
vendored
3
.github/workflows/create-release.yml
vendored
@@ -87,6 +87,9 @@ jobs:
|
||||
git clone --quiet --recurse-submodules https://github.com/abetlen/llama-cpp-python --branch "v${{ env.EMBEDDED_LLAMA_CPP_PYTHON_VERSION }}"
|
||||
cd llama-cpp-python
|
||||
|
||||
# for some reason, scikit-build-core v0.9.7+ doesn't produce properly tagged musllinux wheels
|
||||
sed -i -e 's/scikit-build-core\[pyproject\]>=0.9.2/scikit-build-core\[pyproject\]==0.9.6/g' pyproject.toml
|
||||
|
||||
export CMAKE_ARGS="-DLLAVA_BUILD=OFF -DGGML_NATIVE=OFF ${{ matrix.extra_defines }}"
|
||||
python3 -m build --wheel
|
||||
|
||||
|
||||
@@ -384,4 +384,4 @@ OPTIONS_OVERRIDES = {
|
||||
}
|
||||
|
||||
INTEGRATION_VERSION = "0.3.4"
|
||||
EMBEDDED_LLAMA_CPP_PYTHON_VERSION = "0.2.87"
|
||||
EMBEDDED_LLAMA_CPP_PYTHON_VERSION = "0.2.88"
|
||||
@@ -2,11 +2,15 @@
|
||||
# Don't run this. This is executed inside of the home assistant container to build the wheel
|
||||
|
||||
apk update
|
||||
apk add build-base python3-dev
|
||||
apk add build-base python3-dev cmake
|
||||
|
||||
cd /tmp
|
||||
git clone --recurse-submodules https://github.com/abetlen/llama-cpp-python --branch $1
|
||||
cd llama-cpp-python
|
||||
pip3 install build
|
||||
|
||||
# for some reason, scikit-build-core v0.9.7+ doesn't produce properly tagged musllinux wheels
|
||||
sed -i -e 's/scikit-build-core\[pyproject\]>=0.9.2/scikit-build-core\[pyproject\]==0.9.6/g' pyproject.toml
|
||||
|
||||
python3 -m build --wheel
|
||||
cp -f ./dist/*.whl /tmp/dist/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION_TO_BUILD="v0.2.87"
|
||||
VERSION_TO_BUILD="v0.2.88"
|
||||
|
||||
# make python11 wheels
|
||||
# docker run -it --rm \
|
||||
|
||||
Reference in New Issue
Block a user