]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : rename batch to ubatch (#9950)
authorDaniel Bevenius <redacted>
Tue, 22 Oct 2024 13:31:06 +0000 (15:31 +0200)
committerGitHub <redacted>
Tue, 22 Oct 2024 13:31:06 +0000 (16:31 +0300)
commit19d900a7565b8f6b0a708836a57d26966cb9efe2
tree55f8c48f1f71344d83d4f99f15b5e06df2741ea1
parent11d47057a51f3d9b9231e6b57d0ca36020c0ee99
llama : rename batch to ubatch (#9950)

This commit renames the member field batch in llm_build_context to
ubatch, and also the parameter batch in llama_build_graph, and
llama_set_inputs to ubatch.

The motivation for this change is to make the code more readable
(considering there are the structs llama_batch and llama_sbatch), and
consistent with other parts of the code base where parameters/fields of
type llama_ubatch are named ubatch.
src/llama.cpp