]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : add graph tensor allocator (#2411)
authorslaren <redacted>
Sun, 30 Jul 2023 13:58:01 +0000 (15:58 +0200)
committerGitHub <redacted>
Sun, 30 Jul 2023 13:58:01 +0000 (15:58 +0200)
commita113689571420fb4d6540f1a324d12965781356a
tree7ae5da392644f6c72e49aa88137a77875239dfe8
parent11f3ca06b8c66b0427aab0a472479da22553b472
ggml : add graph tensor allocator (#2411)

* ggml : add graph tensor allocator

* ggml : don't calculate data pointer of unallocated tensors when creating a view with an offset

* ggml : refactor ggml_view_Nd into ggml_view_tensor_offset
CMakeLists.txt
Makefile
ggml-alloc.c [new file with mode: 0644]
ggml-alloc.h [new file with mode: 0644]
ggml.c
ggml.h
llama.cpp