spm : add ggml headers

This commit is contained in:
Georgi Gerganov 2024-02-12 19:53:23 +02:00
parent b8a91c5ac5
commit 10ab4c4129
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
4 changed files with 14 additions and 1 deletions

View file

@ -17,7 +17,17 @@ let package = Package(
.target( .target(
name: "llama", name: "llama",
path: ".", path: ".",
exclude: ["ggml-metal.metal"], exclude: [
"cmake",
"examples",
"scripts",
"models",
"tests",
"CMakeLists.txt",
"ggml-cuda.cu",
"ggml-cuda.h",
"Makefile"
],
sources: [ sources: [
"ggml.c", "ggml.c",
"llama.cpp", "llama.cpp",

1
spm-headers/ggml-alloc.h Symbolic link
View file

@ -0,0 +1 @@
../ggml-alloc.h

1
spm-headers/ggml-backend.h Symbolic link
View file

@ -0,0 +1 @@
../ggml-backend.h

1
spm-headers/ggml.h Symbolic link
View file

@ -0,0 +1 @@
../ggml.h