I use command to deploy InterVL-78B model, could you help me find out the problem? It is ok when I use same envirnment to deploy 8B model:
INFO: Started server process [3587]
INFO: Waiting for application startup.
INFO: Application startup complete.
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
INFO: 127.0.0.1:38652 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:38654 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:38666 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
INFO: 127.0.0.1:38668 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/debug.py:105: RuntimeWarning: coroutine 'MediaConnector.fetch_image_async' was never awaited
code: CodeType = compile(
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/debug.py:105: RuntimeWarning: coroutine 'AsyncMultiModalItemTracker.all_mm_data' was never awaited
code: CodeType = compile(
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
INFO: 127.0.0.1:38682 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [chat_utils.py:1233] An error occurred in `transformers` while applying chat template
ERROR 09-14 13:08:40 [chat_utils.py:1233] Traceback (most recent call last):
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [chat_utils.py:1233] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [chat_utils.py:1233] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [chat_utils.py:1233] self.environment.handle_exception()
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [chat_utils.py:1233] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [chat_utils.py:1233] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [chat_utils.py:1233] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222] Error in preprocessing prompt inputs
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1219, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] return tokenizer.apply_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat, generation_indices = render_jinja_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template
ERROR 09-14 13:08:40 [serving_chat.py:222] rendered_chat = compiled_template.render(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
ERROR 09-14 13:08:40 [serving_chat.py:222] self.environment.handle_exception()
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
ERROR 09-14 13:08:40 [serving_chat.py:222] raise rewrite_traceback_stack(source=source)
ERROR 09-14 13:08:40 [serving_chat.py:222] File "<template>", line 2, in top-level template code
ERROR 09-14 13:08:40 [serving_chat.py:222] TypeError: can only concatenate str (not "list") to str
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] The above exception was the direct cause of the following exception:
ERROR 09-14 13:08:40 [serving_chat.py:222]
ERROR 09-14 13:08:40 [serving_chat.py:222] Traceback (most recent call last):
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_chat.py", line 205, in create_chat_completion
ERROR 09-14 13:08:40 [serving_chat.py:222] ) = await self._preprocess_chat(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/openai/serving_engine.py", line 813, in _preprocess_chat
ERROR 09-14 13:08:40 [serving_chat.py:222] request_prompt = apply_hf_chat_template(
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/utils/__init__.py", line 1292, in inner
ERROR 09-14 13:08:40 [serving_chat.py:222] return fn(*args, **kwargs)
ERROR 09-14 13:08:40 [serving_chat.py:222] ^^^^^^^^^^^^^^^^^^^
ERROR 09-14 13:08:40 [serving_chat.py:222] File "/root/miniconda3/envs/gui/lib/python3.12/site-packages/vllm/entrypoints/chat_utils.py", line 1235, in apply_hf_chat_template
ERROR 09-14 13:08:40 [serving_chat.py:222] raise ValueError(str(e)) from e
ERROR 09-14 13:08:40 [serving_chat.py:222] ValueError: can only concatenate str (not "list") to str
INFO: 127.0.0.1:38694 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:38700 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:38704 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m vllm.entrypoints.openai.api_server --model /root/autodl-tmp/models/InternVL3-78B --served-model-name qwen2.5-vl-72b-instruct --port=8005 --limit-mm-per-prompt image=3 --seed 0 --gpu-memory-utilization 0.92 --tensor-parallel-size 4 --max_model_len 25000 --trust-remote-code --chat-template-content-format openai
Checklist
Describe the bug
I use command to deploy InterVL-78B model, could you help me find out the problem? It is ok when I use same envirnment to deploy 8B model:
The error below:
Reproduction
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m vllm.entrypoints.openai.api_server --model /root/autodl-tmp/models/InternVL3-78B --served-model-name qwen2.5-vl-72b-instruct --port=8005 --limit-mm-per-prompt image=3 --seed 0 --gpu-memory-utilization 0.92 --tensor-parallel-size 4 --max_model_len 25000 --trust-remote-code --chat-template-content-format openai
Environment
Error traceback