Skip to content

b12801

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Nov 01:51
2a33525

ggml/CUDA+HIP: Flash Attention with indexed bias (#33063)

  • cuda : port indexed bias FA onto the refactored loaders

Replays the #32740 bias support on the shared typed tile loader, adds bias
in F32 to match the CPU reference and routes rows via KV_indirection.

  • cuda : return zeros for a fully masked FA query row

An all -inf mask row has a zero softmax sum, which divided gave NaN. Guard
the tile, vec and results-combine divisions so it gives zeros, as ggml-cpu.

  • Code review from Fable
  • fixup! cuda : port indexed bias FA onto the refactored loaders

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: