Skip to content

Commit 8237b3f

Browse files
committed
removed duplicate code fragment intest_chat_wrap_and_equivalence
1 parent 16f30a0 commit 8237b3f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/llms_from_scratch/tests/test_qwen3.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,6 @@ def test_chat_wrap_and_equivalence(add_gen, add_think):
470470
add_generation_prompt=add_gen,
471471
enable_thinking=add_think,
472472
)
473-
ours = qt.encode(prompt)
474-
ref = hf_tok.apply_chat_template(
475-
messages,
476-
tokenize=True,
477-
add_generation_prompt=add_gen,
478-
enable_thinking=add_think,
479-
)
480473

481474
if add_gen and not add_think:
482475
pass # skip edge case as this is not something we use in practice

0 commit comments

Comments
 (0)