[Fix] check to make sure processor has chat templates (#18047)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2025-05-13 06:04:10 -04:00
committed by GitHub
parent 98fcba1575
commit cb528d0585
3 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ def test_bad_callable():
pass_manager.configure(config)
with pytest.raises(AssertionError):
pass_manager.add(simple_callable) # noqa, type wrong on purpose
pass_manager.add(simple_callable)
# Pass that inherits from InductorPass