add llama.cpp go bindings
Showing
| module github.com/ollama/ollama | ||
| module github.com/jmorganca/ollama | ||
| go 1.20 | ||
| require ( | ||
| github.com/gin-gonic/gin v1.9.1 | ||
| github.com/go-skynet/go-llama.cpp v0.0.0-20230630201504-ecd358d2f144 | ||
| github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc | ||
| github.com/spf13/cobra v1.7.0 | ||
| golang.org/x/crypto v0.10.0 | ||
| ) | ||
| ... | ... | @@ -19,6 +17,7 @@ require ( |
| github.com/go-playground/universal-translator v0.18.1 // indirect | ||
| github.com/go-playground/validator/v10 v10.14.0 // indirect | ||
| github.com/goccy/go-json v0.10.2 // indirect | ||
| github.com/google/go-cmp v0.5.9 // indirect | ||
| github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| github.com/json-iterator/go v1.1.12 // indirect | ||
| github.com/klauspost/cpuid/v2 v2.2.4 // indirect | ||
| ... | ... | @@ -35,6 +34,5 @@ require ( |
| golang.org/x/sys v0.9.0 // indirect | ||
| golang.org/x/text v0.10.0 // indirect | ||
| google.golang.org/protobuf v1.30.0 // indirect | ||
| gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect | ||
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| ) |
lib/.gitignore
deleted
100644 → 0
lib/README.md
deleted
100644 → 0
lib/binding.h
deleted
100644 → 0
llama/.gitignore
0 → 100644
llama/binding/binding.h
0 → 100644
llama/llama.go
0 → 100644
llama/llama_cublas.go
0 → 100644
llama/llama_openblas.go
0 → 100644
llama/options.go
0 → 100644
Please register or sign in to comment