llama.cpp b12002 adds batched tensor copies

News llama.cpp Releases · Source account, not independently verified by us.

With b12002, llama.cpp adds an API for batched tensor copies in ggml. The release says the change groups multiple copy operations and is also used for context input and output in llama.cpp. It therefore concerns internal workflows in the open-source inference software.

The new API is generic; the entry also lists CUDA support and batched tensor copies for device input and output. Other changes adjust backend dispatch: operations are grouped by buffer type. Async tensor-n APIs have been removed, and null-buffer hooks have been added.

Tests cover hook invocation, per-tensor fallback, and grouping by buffer type; they also use a mock buffer type. The release provides no performance or memory measurements and does not describe specific effects for users. Further technical details are available in the original source.

🇬🇧 https://github.com/ggml-org/llama.cpp/releases/tag/b12002

Leave a Comment

The weekly brief: selected developments, projects and videos