mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-09 13:48:05 -05:00
Fix processor type remapping
This commit is contained in:
6
.github/workflows/create-release.yml
vendored
6
.github/workflows/create-release.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
# Base x86
|
||||
- home_assistant_version: "2025.4.1"
|
||||
suffix: "-noavx"
|
||||
arch: "amd64"
|
||||
arch: "x86_64"
|
||||
extra_defines: "-DGGML_AVX=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF -DGGML_F16C=OFF"
|
||||
- home_assistant_version: "2025.4.1"
|
||||
arch: "i386"
|
||||
@@ -37,10 +37,10 @@ jobs:
|
||||
|
||||
# AVX2 and AVX512
|
||||
- home_assistant_version: "2025.4.1"
|
||||
arch: "amd64"
|
||||
arch: "x86_64"
|
||||
extra_defines: "-DGGML_AVX=ON -DGGML_AVX2=ON -DGGML_FMA=ON -DGGML_F16C=ON"
|
||||
- home_assistant_version: "2025.4.1"
|
||||
arch: "amd64"
|
||||
arch: "x86_64"
|
||||
suffix: "-avx512"
|
||||
extra_defines: "-DGGML_AVX512=ON -DGGML_FMA=ON -DGGML_F16C=ON"
|
||||
- home_assistant_version: "2025.4.1"
|
||||
|
||||
@@ -169,13 +169,13 @@ def install_llama_cpp_python(config_dir: str):
|
||||
# remap other names for architectures to the names we use
|
||||
if platform_suffix == "arm64":
|
||||
platform_suffix = "aarch64"
|
||||
if platform_suffix == "i386" or platform_suffix == "x86_64":
|
||||
platform_suffix = "amd64"
|
||||
if platform_suffix == "i386" or platform_suffix == "amd64":
|
||||
platform_suffix = "x86_64"
|
||||
|
||||
runtime_version = f"cp{sys.version_info.major}{sys.version_info.minor}"
|
||||
|
||||
instruction_extensions_suffix = ""
|
||||
if platform_suffix == "amd64":
|
||||
if platform_suffix == "x86_64":
|
||||
instruction_extensions_suffix = "-noavx"
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user