abetlen / abetlen/llama-cpp-python

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

未關閉
#1,315 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
10.6k
分支
1.4k
PR 合併指標
PR 指標待擷取

描述

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 |

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。