abetlen / abetlen/llama-cpp-python

Even after installing CUDA + Pytorch + LLamaCPP Python I see BLAS = 0 always

Ouverte
#1,315 2 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 want to run my gguf model to use the GPU for inference, So for this I have done following things:

1. Installed Visual Studio Community Version 2022
2. Installed Visual Studio Build Tools
3. Installed CUDA Toolkit 12.1
4. Installed CuDNN 12X
5. Created New Conda Environment
6. Installed Pytorch compatible with CUDA
7. Checked if import torch >> torch.cuda.is_available() >> True
8. Check if CUDA Path is available in system variables. >> Available
9. I installed llama cpp python with following commands:
set CMAKE_ARGS=-DLLAMA_CUBLAS=on
set FORCE_CMAKE=1
pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir --verbose
10. There is no error in Installation either.
11. But When I run the model, it return BLAS = 0 in the console.

Whatever inferences it makes, it does on the CPU instead of GPU.

I want my model to do the inferences with GPU instead of CPU.
I have 2 Nvidia RTX A5000 GPUs.

So Kindly guide why it is happening?

PS: I tried with Reinstalling CUDA Toolkit.

AVX = 1 | AVX_VNNI = 0 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | SSSE3 = 0 | VSX = 0 | MATMUL_INT8 = 0 |

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.