Can you fix this jinja2 TemplateSyntaxError?
Some parameters are on the meta device because they were offloaded to the cpu.
Traceback (most recent call last):
File "", line 21, in
File "/usr/local/lib/python3.11/dist-packages/transformers/tokenization_utils_base.py", line 1629, in apply_chat_template
compiled_template = _compile_jinja_template(chat_template)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/transformers/utils/chat_template_utils.py", line 430, in _compile_jinja_template
return jinja_env.from_string(chat_template)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 1111, in from_string
return cls.from_code(self, self.compile(source), gs, None)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 771, in compile
self.handle_exception(source=source_hint)
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 6, in template
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got 're'
Sorry for this mistake. The jinja chat template is now fixed.