Comments (6)
Sure, since I’m out of office, I’ll rather write briefly, and will augment later if you find necessary.
Reproduction step
- Clone llama.cpp
- follows the instruction to build cublas supported version: https://github.com/ggerganov/llama.cpp#cublas
- Then will see an error, basically the same one as the issue content of this, originated from https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L316
Rather simple step to reproduce
CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
will trigger the exact steps as I described in above reproduction step section.
from studio-lab-examples.
Thank you for using Studio Lab! As error message CMakeLists.txt:358
suggests, could please refer the CMakeLists
file?
If you find out this error is caused by Studio Lab environment, please raise a new issue.
from studio-lab-examples.
I suspect that
Unable to find cublas_v2.h in either "/usr/local/cuda/include" or "/usr/math_libs/include"
is the source of error.
I myself met this error also. @icoxfog417 can you open it? As this is on going issue.
from studio-lab-examples.
@HyunggyuJang We sincerely appreciate your effort in reporting the issue. Could you kindly provide us with the reproducible steps? It would be immensely helpful for us to gain a better understanding of the specific libraries or tools you are attempting to install. We would like to suggest considering the use of conda for package installation, installing by manual will cause unexpected errors.
from studio-lab-examples.
Thank you. Did you install cmake
and cuda-toolkit
(11.4) before installing llama.cpp
? (conda-forge version seems not include cuBLAS and cuda-toolkit
includes it).
from studio-lab-examples.
I believe I tried. Let me check it again ASAP!
Edit: Still is an issue, yet rather different error message,
-- Found CUDAToolkit: /home/studio-lab-user/.conda/envs/textgen/include (found version "11.4.48")
-- cuBLAS found
CMake Error at /tmp/pip-build-env-bkzhlka1/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:753 (message):
Compiling the CUDA compiler identification source file
"CMakeCUDACompilerId.cu" failed.
Compiler: /home/studio-lab-user/.conda/envs/textgen/bin/nvcc
Build flags:
Id flags: --keep;--keep-dir;tmp -v
The output was:
1
gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or
directory
compilation terminated.
nvcc fatal : Failed to preprocess host compiler properties.
I'd better to experiment with it from clean state later. As I've tried on custom conda env where python version is 3.10. I'll try with default (studiolab) env.
from studio-lab-examples.
Related Issues (20)
- Download PyTorch_model.bin - Server failed HOT 8
- new conda environment creation is not working HOT 8
- new notebook can not be created with new environment use after new environment is created and activated in terminal HOT 8
- Unable to request new account HOT 3
- Gradio Output HOT 19
- Can not use `tab` for auto code completion HOT 1
- Automatic Run on Multi GPU? HOT 2
- Not sending phone verification code HOT 2
- There is no runtime available right now. Please change the compute type or try again later. HOT 2
- Weather Image Classification Notebook: "IndexError: Target 4 is out of Bounds"
- Weather Data Image Classification notebook shows "IndexError: Target 4 is out of bounds" HOT 1
- Unable to login account HOT 9
- Remove the Mistral-7B-OpenOrca example
- 'GPU not available error' even when starting the project in 'GPU mode' HOT 3
- Kernal getting died after every few minutes with simple code of execution HOT 2
- Receiving a 500: Internal Server Error when opening my project after selecting cpu runtime HOT 2
- Unable to create account - not redirecting on captcha completed HOT 1
- "You can't use the project runtime because your account is associated with activity that may have violated our Service Terms." HOT 3
- Notebook not rendering properly in Chrome or Edge HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studio-lab-examples.