use skynet's ggml repository

This commit is contained in:
Enzo Einhorn 2023-07-13 12:48:13 +02:00 committed by GitHub
parent b8ea95e2c7
commit 7bf6c0725e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,7 @@ gpt4all/gpt4all-bindings/golang/libgpt4all.a: gpt4all
## CEREBRAS GPT ## CEREBRAS GPT
go-ggml-transformers: go-ggml-transformers:
git clone --recurse-submodules https://github.com/hiventive/go-ggml-transformers.cpp go-ggml-transformers git clone --recurse-submodules https://github.com/go-skynet/go-ggml-transformers.cpp go-ggml-transformers
cd go-ggml-transformers && git checkout -b build $(GOGPT2_VERSION) && git submodule update --init --recursive --depth 1 cd go-ggml-transformers && git checkout -b build $(GOGPT2_VERSION) && git submodule update --init --recursive --depth 1
# This is hackish, but needed as both go-llama and go-gpt4allj have their own version of ggml.. # This is hackish, but needed as both go-llama and go-gpt4allj have their own version of ggml..
@find ./go-ggml-transformers -type f -name "*.c" -exec sed -i'' -e 's/ggml_/ggml_gpt2_/g' {} + @find ./go-ggml-transformers -type f -name "*.c" -exec sed -i'' -e 's/ggml_/ggml_gpt2_/g' {} +