From 2926089c5da357cda9450c70624342f52350c3a7 Mon Sep 17 00:00:00 2001 From: ochafik Date: Thu, 26 Sep 2024 19:06:29 +0100 Subject: [PATCH] fix lints --- tests/test-chat-template.cpp | 2 +- tests/update_jinja_goldens.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test-chat-template.cpp b/tests/test-chat-template.cpp index 55d741251..8f2a58bc4 100644 --- a/tests/test-chat-template.cpp +++ b/tests/test-chat-template.cpp @@ -334,4 +334,4 @@ int main(void) { } return 0; -} \ No newline at end of file +} diff --git a/tests/update_jinja_goldens.py b/tests/update_jinja_goldens.py index ea7e01f0e..e87effc1b 100644 --- a/tests/update_jinja_goldens.py +++ b/tests/update_jinja_goldens.py @@ -62,7 +62,7 @@ model_ids = [ # "deepseek-ai/DeepSeek-Coder-V2-Instruct", # "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct", # "deepseek-ai/DeepSeek-V2.5", - + # Cannot find chat template: # "eachadea/vicuna-13b-1.1", # "microsoft/Phi-3-vision-instruct", @@ -161,6 +161,7 @@ def handle_chat_template(model_id, variant, template_src): logger.info('') + def main(): for dir in ['tests/chat/templates', 'tests/chat/goldens']: if not os.path.isdir(dir):