llama.cpp b12048

b12048Pre-release
Added 1
  • Added a comm_exchange function pointer that selects between the 2-buffer and 4-buffer SYCL exchange implementations at initialization, controlled by the SYCL_ENABLE_DEFAULT_CONTEXTS=1 setting.
Changed 3
  • Increased tensor-split prompt evaluation throughput on Intel Arc Pro B70 GPUs in the SYCL backend by replacing the ggml_sycl_comm_exchange() synchronization path.
  • Replaced the first pair of wait() calls in the SYCL comm exchange with ext_oneapi_submit_barrier(), avoiding a degradation observed with MTP.
  • Restricted the new SYCL comm exchange optimization from applying on Windows until it is validated there.

From llama.cpp

sycl : fast ggml_sycl_comm_exchange() on Intel Arc Pro B70s (#30956)

  • Update ggml-sycl.cpp

Increases -sm tensor prompt eval t/s by +19% with zero PPL change.

  • Update ggml-sycl.cpp

Replace first pair of wait() calls with ext_oneapi_submit_barrier(). The wait() calls was discovered to cause MTP degradation.

  • Update ggml-sycl.cpp

Adding comm_exchange function pointer to switch between 2 and 4 buffer ggml_sycl_comm_exchange versions @ initialization time (versus hot path) controlled by SYCL_ENABLE_DEFAULT_CONTEXTS=1 setting.

  • Update ggml-sycl.cpp

adding back 2nd half of 4-buffer free.

  • Update ggml-sycl.cpp

Removing extra whitespace.

  • Update ggml-sycl.cpp

Excluding Windows until it is validated on Windows.

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:

View original

Upgraded? How did it go?

Discussion