abetlen / abetlen/llama-cpp-python

cu118 install falls back to CPU mode on CentOS 7 (0.3.8)

Ouverte
#1,990 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
10.6k
Forks
1.4k
Métriques de merge des PR
Métriques de PR en attente

Description

I'm using CentOS 7 (glibc 2.17) with both CUDA 11.8 and 12.4.

Up until version 0.3.7, I was able to install llama-cpp-python with either CUDA version. However, starting from 0.3.8, it seems that the cu118 variant is no longer supported, and the package installs in CPU mode instead.

Has anyone managed to get it working with a similar setup?

Here's the install command I'm using:

`FORCE_CMAKE=1 CMAKE_ARGS="-DGGML_CUDA=on -DCMAKE_CUDA_ARCHITECTURES='70;75'" pip install llama-cpp-python==0.3.8`

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.