What this thread does
error: constexpr function never produces a constant expression
Metal BF16 shader compilation fails on macOS 15.5 at reported commit 5220213.
Do first: inspect the merged repair c9daee1, then compare the two bfloat4 conversion specializations with PR #31360.
Evidence: reporter DARK-art108, 2026-10-28: “Removed constexpr from the two bfloat4 conversion specializations”. They kept inline and the bodies, rebuilt llama-server and reported a successful short inference. This is one user's test. Upstream merged repair #31360 on October 29, 2026.
Class: build/package. Target: upstream issue #31337, closed as a duplicate of #31272, labelled bug-unconfirmed. Recheck after 14 days.
Diagnostic: constexpr function never produces a constant expression
checked 2026-11-14
Not for: timestamp abort or Vulkan loss.
Started from a post by @DARK-art108, packaged by the editor. Original post