File size: 1,002 Bytes
14da0d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
license: mit
tags:
- llama-cpp-python
- prebuilt-wheels
- huggingface-spaces
- cpu-only
- python-3.13
---

# Llama-CPP-Python Pre-built Wheels (CPU Only)

This repository provides pre-compiled Python wheels for `llama-cpp-python`, specifically optimized for **Hugging Face Spaces (Free CPU Tier)**. 

## 🚀 Key Features
- **Zero Compilation:** Skips the 15-minute C++ build process on HF Spaces.
- **Python 3.13 Support:** Built for the latest Python version.
- **Generic CPU:** Compiled with `GGML_NATIVE=OFF` to ensure compatibility with older cloud processors (no "Illegal Instruction" errors).

## 🛠 Usage in HF Spaces

### Dockerfile (Recommended)
Add this to your Dockerfile to install the wheel instantly:
```dockerfile
RUN pip install [https://huggingface.co/Jameson040/llama-cpp-python-wheels/resolve/main/llama_cpp_python-0.3.16-cp313-cp313-linux_x86_64.whl](https://huggingface.co/Jameson040/llama-cpp-python-wheels/resolve/main/llama_cpp_python-0.3.16-cp313-cp313-linux_x86_64.whl)