github ggml-org/llama.cpp b12080

latest release: b12081
pre-releaseone hour ago
Details

cuda : gather batched tensor reads into mapped host memory (PR to master) (#31391)

  • cuda: gather batched tensor reads into mapped host memory

Assisted-by: Codex

  • add comments

Assisted-by: Codex

  • simplify the implementation based on checks that exist earlier in the flow

  • simplify batched tensor gather indexing

  • add conditional dispatch

  • address comments - make host registration raii, better test mindful of ci time, assert instead of return false

  • cuda : gather small reads and use pinned DMA for large reads

  • cuda : use std::vector for host gather descriptors

  • cuda : add 8-byte gather copies, generalize tensor test and log registration failures

  • common buffer for descriptors

  • simplify stream sync + increase to 128k descriptor pinned buf

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.