make BUILD_TYPE=cublas build FAILING on Linux #601
Replies: 8 comments
-
I am experiencing a similar issue I believe. Be sure in the MakeFile you have the correct path to cuda. the default is incorrect for ubuntu using the nvidia-cuda-toolkit. localai default: After changing to the default ubuntu location i get this as a warning and then errors about long long int. |
Beta Was this translation helpful? Give feedback.
-
@bailboy91 Any chance the errors below your warning look like this: github.com/go-skynet/go-llama.cpp/usr/bin/ld: go-llama/libbinding.a(ggml-cuda.o): in function |
Beta Was this translation helpful? Give feedback.
-
@napolitanica In this instance i wish i did have the same error as that. I have repeating lines like this:
|
Beta Was this translation helpful? Give feedback.
-
Well, Now i feel silly. A fresh git clone and now i get a different error..
|
Beta Was this translation helpful? Give feedback.
-
Is this going to be addressed/fixed??? |
Beta Was this translation helpful? Give feedback.
-
You seem to be missing go installed locally. |
Beta Was this translation helpful? Give feedback.
-
ok THX, installed GO per web site's instructions. Also ensured conda , python etc are installed correctly, (paths etc) now new errors, full text file attached
errors in file start with:
|
Beta Was this translation helpful? Give feedback.
-
that is a warning. There are no errors in the log you provided ? |
Beta Was this translation helpful? Give feedback.
-
LocalAI version:
1.18.0
Environment, CPU architecture, OS, and Version:
Linux 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
make for local Linux machine (vs Dockers) fails
To Reproduce
$ make BUILD_TYPE=cublas build
Expected behavior
localAI server running
Logs
$ make BUILD_TYPE=cublas build --debug
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
File 'build' does not exist.
File 'prepare' does not exist.
File 'prepare-sources' does not exist.
File 'replace' does not exist.
Must remake target 'replace'.
go mod edit -replace github.com/go-skynet/go-llama.cpp=/home/khan/Documents/Github/LocalAI/go-llama
make: go: No such file or directory
make: *** [Makefile:175: replace] Error 127
Additional context
PS docker image runs fine , trying to run locally for better performance , especially with GPU support
PPS GREAT PROJECT, THX!!!
Beta Was this translation helpful? Give feedback.
All reactions