From 91c6aa07597462705a7f30ee5b97e2c7943b5616 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Tue, 29 Sep 2026 14:38:02 +0200 Subject: Remove unused checkpoint, tokenizer, and attention compatibility paths --- liblangdet/model_blas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liblangdet/model_blas.c') diff --git a/liblangdet/model_blas.c b/liblangdet/model_blas.c index 41f9237..d26db32 100644 --- a/liblangdet/model_blas.c +++ b/liblangdet/model_blas.c @@ -55,8 +55,8 @@ int ensure_buffers(langdet_workspace_t *ws, const langdet_config_t *c, int seq) return 0; } -void ensure_attention_scores(langdet_workspace_t *ws, const int *offsets, int batch) { - size_t bytes = bidirectional_gqa_attention_packed_scratch_bytes(offsets, batch); +void ensure_attention_scores(langdet_workspace_t *ws, int seq) { + size_t bytes = attention_scratch_bytes(seq); if (bytes <= ws->attn_scores_bytes) return; -- cgit v1.3.1