llama.cpp b11977

b11977Pre-release
Changed 1
  • ggml-openvino rejects an in-place SCALE on a non-contiguous view because its dense copy-back would write to the wrong elements
Fixed 1
  • ggml-openvino SCALE translation now slices view inputs with process_view_input_new so strided view inputs are no longer scaled across their whole source tensor, which crashed test-backend-ops on SCALE view cases

From llama.cpp

ggml-openvino: slice view inputs of SCALE (#31334)

SCALE now accepts a src0 view with arbitrary row strides. translate_scale used the raw input, and on the dynamic path a VIEW translates to its whole source tensor, so a strided view input scaled the entire source. The model output then had the source's size, and copying it back overran the result buffer, which crashes test-backend-ops on the SCALE view cases.

Slice the input with process_view_input_new, as the other translators do. Reject an in-place SCALE on a non-contiguous view: its result is copied back densely and would land in the wrong elements.

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