CoolFace
Datasetpublic

AIencoder/llama-cpp-wheels

If you like this please consider liking and donating (https://buymeacoffee.com/aiencoder) 🏭 llama-cpp-python Mega-Factory Wheels "Stop waiting for pip to compile. Just install and run." The most complete collection of pre-built llama-cpp-python wheels in existence β€” 8,333 wheels across every platform, Python version, backend, and CPU optimization level. No more cmake, gcc, or compilation hell. No more waiting 10 minutes for a build that might fail. Just find your wheel and… See the full description on the dataset page: https://huggingface.co/datasets/AIencoder/llama-cpp-wheels.

sourceHugging Facemitupdated 2h agoView on Hugging Face
4likes3.9kdownloads
Dataset Card

If you like this please consider liking and donating (https://buymeacoffee.com/aiencoder)

🏭 llama-cpp-python Mega-Factory Wheels

"Stop waiting for `pip` to compile. Just install and run."

The most complete collection of pre-built llama-cpp-python wheels in existence β€” 8,333 wheels across every platform, Python version, backend, and CPU optimization level.

No more cmake, gcc, or compilation hell. No more waiting 10 minutes for a build that might fail. Just find your wheel and pip install it directly.


πŸš€ Why These Wheels?

Standard wheels target the "lowest common denominator" to avoid crashes on old hardware. This collection goes further β€” the manylinux wheels are built using a massive Everything Preset targeting specific CPU instruction sets, maximizing your Tokens per Second (T/s).

  • β€”Zero Dependencies: No cmake, gcc, or nvcc required on your target machine.
  • β€”Every Platform: Linux (manylinux, aarch64, i686, RISC-V), Windows (amd64, 32-bit), macOS (Intel + Apple Silicon).
  • β€”Server-Grade Power: Optimized builds for Sapphire Rapids, Ice Lake, Alder Lake, Haswell, and more.
  • β€”Full Backend Support: OpenBLAS, MKL, Vulkan, CLBlast, OpenCL, RPC, and plain CPU builds.
  • β€”Cutting Edge: Python 3.8 through experimental 3.14, plus PyPy pp38–pp310.
  • β€”GPU Too: CUDA wheels (cu121–cu124) and macOS Metal wheels included.

πŸ“Š Collection Stats

PlatformWheels
🐧 Linux x86_64 (manylinux)4,940
🍎 macOS Intel (x86\_64)1,040
πŸͺŸ Windows (amd64)1,010
πŸͺŸ Windows (32-bit)634
🍎 macOS Apple Silicon (arm64)289
🐧 Linux i686214
🐧 Linux aarch64120
🐧 Linux x86\_64 (plain)81
🐧 Linux RISC-V5
Total8,333

The manylinux builds alone cover 3,600+ combinations across versions, backends, Python versions, and CPU profiles.


πŸš€ How to Install

Quick Install

Find your wheel filename (see naming convention below), then:

bash
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/YOUR_WHEEL_NAME.whl"

Common Examples

bash
# Linux x86_64, Python 3.11, OpenBLAS, Haswell CPU (most common Linux setup)
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.18+openblas_haswell-cp311-cp311-manylinux_2_31_x86_64.whl"

# Linux x86_64, Python 3.12, Basic CPU (maximum compatibility)
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.18+basic_basic-cp312-cp312-manylinux_2_31_x86_64.whl"

# Windows, Python 3.11
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.18-cp311-cp311-win_amd64.whl"

# macOS Apple Silicon, Python 3.12
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.18-cp312-cp312-macosx_11_0_arm64.whl"

# macOS Intel, Python 3.11
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.18-cp311-cp311-macosx_10_9_x86_64.whl"

# Linux ARM64 (Raspberry Pi, AWS Graviton), Python 3.11
pip install "https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.18-cp311-cp311-linux_aarch64.whl"

πŸ“ Wheel Naming Convention

manylinux wheels (custom-built)

llama_cpp_python-{version}+{backend}_{profile}-{pytag}-{pytag}-{platform}.whl

Versions covered: 0.3.0 through 0.3.18+

Backends:

BackendDescription
openblasOpenBLAS BLAS acceleration β€” best general-purpose CPU performance
mklIntel MKL acceleration β€” best on Intel CPUs
basicNo BLAS, maximum compatibility
vulkanVulkan GPU backend
clblastCLBlast OpenCL GPU backend
openclGeneric OpenCL GPU backend
rpcDistributed inference over network

CPU Profiles:

ProfileInstruction SetsEraNotes
basicx86-64 baselineAnyMaximum compatibility
sse42SSE 4.22008+Nehalem
sandybridgeAVX2011+
ivybridgeAVX + F16C2012+
haswellAVX2 + FMA + BMI22013+Most common
skylakexAVX-5122017+
icelakeAVX-512 + VNNI + VBMI2019+
alderlakeAVX-VNNI2021+
sapphirerapidsAVX-512 BF16 + AMX2023+Highest performance

Python tags: cp38, cp39, cp310, cp311, cp312, cp313, cp314, pp38, pp39, pp310

Platform: manylinux_2_31_x86_64 (glibc 2.31+, compatible with Ubuntu 20.04+, Debian 11+)

Windows / macOS / Linux ARM wheels (from abetlen)

llama_cpp_python-{version}-{pytag}-{pytag}-{platform}.whl

These are the official pre-built wheels from the upstream maintainer, covering versions 0.2.82 through 0.3.18+.


πŸ” How to Find Your Wheel

  1. 1.Identify your Python version: python --version β†’ e.g. 3.11 β†’ tag cp311
  2. 2.Identify your platform:
  3. 3.Linux x86\64 β†’ `manylinux231x86_64`
  4. 4.Windows 64-bit β†’ win_amd64
  5. 5.macOS Apple Silicon β†’ macosx_11_0_arm64
  6. 6.macOS Intel β†’ macosx_10_9_x86_64
  7. 7.Pick a backend (manylinux only): openblas for most use cases
  8. 8.Pick a CPU profile (manylinux only): haswell works on virtually all modern CPUs
  9. 9.Browse the files in this repo or construct the filename directly

πŸ—οΈ Sources & Credits

manylinux Wheels β€” Built by AIencoder

The 4,940 manylinux x86\_64 wheels were built by a distributed 4-worker HuggingFace Space factory system (AIencoder/wheel-factory-*) β€” a custom-built automated pipeline covering every possible llama.cpp cmake option on manylinux:

  • β€”Every backend: OpenBLAS, MKL, Basic, Vulkan, CLBlast, OpenCL, RPC
  • β€”Every CPU hardware profile from baseline x86-64 up to Sapphire Rapids AMX
  • β€”Python 3.8 through 3.14
  • β€”llama-cpp-python versions 0.3.0 through 0.3.18+

Windows / macOS / Linux ARM Wheels β€” abetlen

The remaining 3,393 wheels (Windows, macOS, Linux aarch64/i686/riscv64, PyPy) were sourced from the official releases by Andrei Betlen ([@abetlen](https://github.com/abetlen)), the original author and maintainer of llama-cpp-python. These include:

  • β€”CPU wheels for all platforms via https://abetlen.github.io/llama-cpp-python/whl/cpu/
  • β€”Metal wheels for macOS GPU acceleration
  • β€”CUDA wheels (cu121–cu124) for Windows and Linux
All credit for the underlying library goes to Georgi Gerganov ([@ggerganov](https://github.com/ggerganov)) and the llama.cpp team, and to Andrei Betlen for the Python bindings.

πŸ“ Notes

  • β€”All wheels are MIT licensed (same as llama-cpp-python upstream)
  • β€”manylinux wheels require glibc 2.31+ (Ubuntu 20.04+, Debian 11+)
  • β€”manylinux and linux_x86_64 are not the same thing β€” manylinux wheels have broad distro compatibility, plain linux wheels do not
  • β€”CUDA wheels require the matching CUDA toolkit to be installed
  • β€”Metal wheels require macOS 11.0+ and an Apple Silicon or AMD GPU
  • β€”This collection is updated periodically as new versions are released
AIencoder/llama-cpp-wheels Β· CoolFace