From d261919404013c2891acae4dd7401a243e907dac Mon Sep 17 00:00:00 2001 From: Tiara Rodney Date: Thu, 18 Jun 2026 16:46:57 +0200 Subject: [PATCH] todo(16): in-progress A shared _input_ids helper extracts the id sequence from a BatchEncoding (5.x) or bare list/tensor (4.x); _render_ids uses it; a new render_prompt_ids(tokenizer, messages, device) builds the generation prompt and extracts input_ids; eval.py and resident.py operators use render_prompt_ids instead of passing a BatchEncoding to generate; unit test covers _input_ids for both shapes; existing tests pass; mypy strict clean; holdout eval runs on the box without the AttributeError. --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index ada5ac5..9193c94 100644 --- a/TODO +++ b/TODO @@ -277,7 +277,7 @@ Content-Type: application/issue ID: 16 Type: bugfix Title: generation operators pass BatchEncoding to generate (transformers 5.x) -Status: open +Status: in-progress Priority: high Created: 2026-06-18 Module: sekft