]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-alloc : allocate all leafs as if they were inputs (#731)
authorslaren <redacted>
Mon, 12 Feb 2024 17:07:14 +0000 (18:07 +0100)
committerGitHub <redacted>
Mon, 12 Feb 2024 17:07:14 +0000 (19:07 +0200)
commit849215767b689727818888158332ae9172e719f9
tree4f85be0d23a9cdc35658be85d42211d3c6031e73
parent03c1ad89cac29064077ce0b550aa8edfb8b96491
ggml-alloc : allocate all leafs as if they were inputs (#731)

* ggml-alloc : allocate all leafs as if they were inputs

* ensure static leafs are allocated

* gpt-2-backend : remove unnecesary ggml_new_tensor

* update other gpt-2 examples to remove ggml_new_tensor calls in the graph
examples/gpt-2/main-alloc.cpp
examples/gpt-2/main-backend.cpp
examples/gpt-2/main-batched.cpp
examples/gpt-2/main-sched.cpp
src/ggml-alloc.c