Skip to content

make BUILD_TYPE=cublas build FAILING on Linux #572

@Free-Radical

Description

@Free-Radical

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!!!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions