Warning fix: cast enum for HWY_ABORT %d

PiperOrigin-RevId: 886242788
This commit is contained in:
Jan Wassenberg 2026-03-19 10:10:57 -07:00 committed by Copybara-Service
parent 79f2bf7a07
commit 1dedcfd50d
1 changed files with 3 additions and 2 deletions

View File

@ -720,8 +720,9 @@ void TiledAttention(AttentionImpl attention_impl, size_t num_tokens,
attention_impl, activations, qbatch, flags,
env);
} else {
HWY_ABORT("Unsupported KV cache type: %d",
qbatch.KV(0).cache->compact_kv_cache_ptr.GetType());
HWY_ABORT(
"Unsupported KV cache type: %d",
static_cast<int>(qbatch.KV(0).cache->compact_kv_cache_ptr.GetType()));
}
RMSNormAndPositionalEncoding(num_tokens, qbatch, activations.q,
layer.query_norm_scale, layer_idx, activations,