Back to feed

b9557

Jun 8, 2026
Meta/llama.cppCLIvb9557

cuda: reset cuda context after reading memory size (#23935)

  • cuda: reset device in get_memory function if no backend is active

  • also count device and host buffers

  • exclude hip and musa from counting and device reset

  • use device mutex instead of atomic

  • undo backend_free function move

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

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

UI: