You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QVAC-18192 parakeet-cpp: resolve Sortformer head backend internally (force-CPU safety)
The Sortformer force-CPU path (the Mali-Vulkan miscompute workaround) allocated and
computed on the caller-supplied backend, so a caller passing the active GPU backend
(as test_sortformer_parity did) would defeat the workaround on Mali and drive the
CPU-resident head weights through the GPU. Both production engine callers passed the
correct backend, but the contract was a footgun.
Resolve the head backend internally via model_sortformer_backend(model) (CPU on
Mali-Vulkan, the active backend otherwise) and drop the caller-supplied backend
parameter from sortformer_diarize_ggml and sortformer_aosc_step so the contract
cannot be violated. Make model_sortformer_backend const and add an internal
null-backend guard; delete the now-orphaned caller locals.
0 commit comments