]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : reorganize source code + improve CMake (#865)
authorGeorgi Gerganov <redacted>
Wed, 26 Jun 2024 16:33:53 +0000 (19:33 +0300)
committerGitHub <redacted>
Wed, 26 Jun 2024 16:33:53 +0000 (19:33 +0300)
commit5378ea0d3c2f25bcd330ecb226ad2db454be86d0
tree57e5032a75746b1ad1de5d1794dfc17a6bb0658f
parent5a4ecabfa5f503937a63acb11c6d008096ce5a1f
ggml : reorganize source code + improve CMake (#865)

* scripts : update sync [no ci]

* ggml : move headers one up [no ci]

* files : reorganize + update CMake

ggml-ci

* cmake : build normal ggml library

ggml-ci

* cmake : link math library to test + remove ci for code cov

ggml-ci

* files : move public headers to include

ggml-ci
104 files changed:
.github/workflows/ci.yml
.gitignore
CMakeLists.txt
cmake/FindSIMD.cmake [new file with mode: 0644]
examples/gpt-2/main-alloc.cpp
examples/gpt-2/main-backend.cpp
examples/gpt-2/main-batched.cpp
examples/gpt-2/main-ctx.cpp
examples/gpt-2/main-sched.cpp
examples/gpt-2/quantize.cpp
examples/gpt-j/README.md
examples/gpt-j/main.cpp
examples/gpt-j/quantize.cpp
examples/magika/main.cpp
examples/mnist/main-cnn.cpp
examples/mnist/main-cpu.cpp
examples/mnist/main-mtl.cpp
examples/mnist/main-mtl.m
examples/mnist/main.cpp
examples/python/README.md
examples/simple/simple-backend.cpp
examples/yolo/yolov3-tiny.cpp
include/ggml-alloc.h [new file with mode: 0644]
include/ggml-backend.h [new file with mode: 0644]
include/ggml-blas.h [new file with mode: 0644]
include/ggml-cuda.h [new file with mode: 0644]
include/ggml-kompute.h [new file with mode: 0644]
include/ggml-metal.h [new file with mode: 0644]
include/ggml-rpc.h [new file with mode: 0644]
include/ggml-sycl.h [new file with mode: 0644]
include/ggml-vulkan.h [new file with mode: 0644]
include/ggml.h [new file with mode: 0644]
include/ggml/ggml-alloc.h [deleted file]
include/ggml/ggml-backend.h [deleted file]
include/ggml/ggml.h [deleted file]
scripts/sync-llama-am.sh
scripts/sync-llama.sh
scripts/sync-whisper-am.sh
scripts/sync-whisper.sh
spm-headers/ggml-alloc.h
spm-headers/ggml-backend.h
spm-headers/ggml-metal.h [new symlink]
spm-headers/ggml.h
src/CMakeLists.txt
src/ggml-backend.c
src/ggml-blas.h [deleted file]
src/ggml-cuda.cu
src/ggml-cuda.h [deleted file]
src/ggml-cuda/common.cuh
src/ggml-cuda/fattn-common.cuh
src/ggml-cuda/mma.cuh
src/ggml-cuda/mmq.cu
src/ggml-cuda/mmq.cuh
src/ggml-cuda/mmvq.cuh
src/ggml-cuda/unary.cu
src/ggml-cuda/unary.cuh
src/ggml-impl.h
src/ggml-kompute.h [deleted file]
src/ggml-metal.h [deleted file]
src/ggml-metal.m
src/ggml-quants.c
src/ggml-rpc.cpp
src/ggml-rpc.h [deleted file]
src/ggml-sycl.cpp
src/ggml-sycl.h [deleted file]
src/ggml-sycl/backend.hpp
src/ggml-sycl/common.hpp
src/ggml-sycl/convert.cpp [new file with mode: 0644]
src/ggml-sycl/convert.hpp [new file with mode: 0644]
src/ggml-sycl/dequantize.hpp [new file with mode: 0644]
src/ggml-sycl/dmmv.cpp [new file with mode: 0644]
src/ggml-sycl/dmmv.hpp [new file with mode: 0644]
src/ggml-sycl/dpct/helper.hpp
src/ggml-sycl/mmq.cpp [new file with mode: 0644]
src/ggml-sycl/mmq.hpp [new file with mode: 0644]
src/ggml-sycl/mmvq.cpp [new file with mode: 0644]
src/ggml-sycl/mmvq.hpp [new file with mode: 0644]
src/ggml-sycl/presets.hpp
src/ggml-sycl/vecdotq.hpp [new file with mode: 0644]
src/ggml-vulkan.cpp
src/ggml-vulkan.h [deleted file]
src/ggml.c
tests/CMakeLists.txt
tests/test-arange.cpp
tests/test-backend-buffer.cpp
tests/test-backend-ops.cpp
tests/test-conv-transpose.c
tests/test-conv1d.cpp
tests/test-conv2d.cpp
tests/test-customop.c
tests/test-dup.c
tests/test-mul-mat.cpp
tests/test-mul-mat0.c
tests/test-pool.c
tests/test-rel-pos.c
tests/test-timestep_embedding.cpp
tests/test0.c
tests/test0.zig
tests/test1.c
tests/test1.zig
tests/test2.c
tests/test2.zig
tests/test3.c
tests/test3.zig