github ggml-org/llama.cpp b12732

latest releases: b12738, b12734
pre-releaseone hour ago
Details

ggml: allow input async copies (#30685)

  • ggml: allow input async copies

Copy the host inputs of a split with set_tensor_async followed by a
single synchronize, instead of one blocking copy per input. This is
opt-in per device through the new async_host_input cap, which only
CUDA sets. Other backends keep the current path.

The async path is used without pipeline parallelism only. With
pipeline parallelism, the input backend also waits on the slot event
before an async copy, since CUDA peer copies run on the source stream.
This replaces the synchronize on graph reuse in process_ubatch.

  • remove sched change

  • tests : add get_props to test-alloc dummy device

  • tests : check that sched inputs can be overwritten after compute_async

  • ggml : rename async_host_input to fast_async_host_input, address review comments

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.