|
|
@ -3,23 +3,47 @@ GOTEST=$(GOCMD) test |
|
|
|
GOVET=$(GOCMD) vet
|
|
|
|
GOVET=$(GOCMD) vet
|
|
|
|
BINARY_NAME=local-ai
|
|
|
|
BINARY_NAME=local-ai
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# llama.cpp versions
|
|
|
|
|
|
|
|
# Temporarly pinned to https://github.com/go-skynet/go-llama.cpp/pull/124
|
|
|
|
GOLLAMA_VERSION?=cb8d7cd4cb95725a04504a9e3a26dd72a12b69ac
|
|
|
|
GOLLAMA_VERSION?=cb8d7cd4cb95725a04504a9e3a26dd72a12b69ac
|
|
|
|
|
|
|
|
|
|
|
|
# Temporary set a specific version of llama.cpp
|
|
|
|
# Temporary set a specific version of llama.cpp
|
|
|
|
|
|
|
|
# containing: https://github.com/ggerganov/llama.cpp/pull/1773 and
|
|
|
|
|
|
|
|
# rebased on top of master.
|
|
|
|
|
|
|
|
# This pin can be dropped when the PR above is merged, and go-llama has merged changes as well
|
|
|
|
|
|
|
|
# Set empty to use the version pinned by go-llama
|
|
|
|
LLAMA_CPP_REPO?=https://github.com/mudler/llama.cpp
|
|
|
|
LLAMA_CPP_REPO?=https://github.com/mudler/llama.cpp
|
|
|
|
LLAMA_CPP_VERSION?=48ce8722a05a018681634af801fd0fd45b3a87cc
|
|
|
|
LLAMA_CPP_VERSION?=48ce8722a05a018681634af801fd0fd45b3a87cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# gpt4all version
|
|
|
|
GPT4ALL_REPO?=https://github.com/nomic-ai/gpt4all
|
|
|
|
GPT4ALL_REPO?=https://github.com/nomic-ai/gpt4all
|
|
|
|
GPT4ALL_VERSION?=70cbff70cc2a9ad26d492d44ab582d32e6219956
|
|
|
|
GPT4ALL_VERSION?=70cbff70cc2a9ad26d492d44ab582d32e6219956
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# go-ggml-transformers version
|
|
|
|
GOGGMLTRANSFORMERS_VERSION?=8e31841dcddca16468c11b2e7809f279fa76a832
|
|
|
|
GOGGMLTRANSFORMERS_VERSION?=8e31841dcddca16468c11b2e7809f279fa76a832
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# go-rwkv version
|
|
|
|
RWKV_REPO?=https://github.com/donomii/go-rwkv.cpp
|
|
|
|
RWKV_REPO?=https://github.com/donomii/go-rwkv.cpp
|
|
|
|
RWKV_VERSION?=f5a8c45396741470583f59b916a2a7641e63bcd0
|
|
|
|
RWKV_VERSION?=f5a8c45396741470583f59b916a2a7641e63bcd0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# whisper.cpp version
|
|
|
|
WHISPER_CPP_VERSION?=85ed71aaec8e0612a84c0b67804bde75aa75a273
|
|
|
|
WHISPER_CPP_VERSION?=85ed71aaec8e0612a84c0b67804bde75aa75a273
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# bert.cpp version
|
|
|
|
BERT_VERSION?=6069103f54b9969c02e789d0fb12a23bd614285f
|
|
|
|
BERT_VERSION?=6069103f54b9969c02e789d0fb12a23bd614285f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# go-piper version
|
|
|
|
PIPER_VERSION?=56b8a81b4760a6fbee1a82e62f007ae7e8f010a7
|
|
|
|
PIPER_VERSION?=56b8a81b4760a6fbee1a82e62f007ae7e8f010a7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# go-bloomz version
|
|
|
|
BLOOMZ_VERSION?=1834e77b83faafe912ad4092ccf7f77937349e2f
|
|
|
|
BLOOMZ_VERSION?=1834e77b83faafe912ad4092ccf7f77937349e2f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# stablediffusion version
|
|
|
|
|
|
|
|
STABLEDIFFUSION_VERSION?=d89260f598afb809279bc72aa0107b4292587632
|
|
|
|
|
|
|
|
|
|
|
|
export BUILD_TYPE?=
|
|
|
|
export BUILD_TYPE?=
|
|
|
|
CGO_LDFLAGS?=
|
|
|
|
CGO_LDFLAGS?=
|
|
|
|
CUDA_LIBPATH?=/usr/local/cuda/lib64/
|
|
|
|
CUDA_LIBPATH?=/usr/local/cuda/lib64/
|
|
|
|
STABLEDIFFUSION_VERSION?=d89260f598afb809279bc72aa0107b4292587632
|
|
|
|
|
|
|
|
GO_TAGS?=
|
|
|
|
GO_TAGS?=
|
|
|
|
BUILD_ID?=git
|
|
|
|
BUILD_ID?=git
|
|
|
|
|
|
|
|
|
|
|
|