Skip to content

b12732

  • b12732
  • 62d6c8c
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • b12732
  • 62d6c8c
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@am17an am17an tagged this 25 Nov 08:56
* 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
Assets 2
Loading