runtime error
Exit code: 1. Reason: in serve config.load() File "/usr/local/lib/python3.9/site-packages/uvicorn/config.py", line 458, in load self.loaded_app = import_from_string(self.app) File "/usr/local/lib/python3.9/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/app/./app.py", line 9, in <module> pipe(messages) File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/text_generation.py", line 267, in __call__ return super().__call__(Chat(text_inputs), **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/base.py", line 1268, in __call__ return self.run_single(inputs, preprocess_params, forward_params, postprocess_params) File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/base.py", line 1274, in run_single model_inputs = self.preprocess(inputs, **preprocess_params) File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/text_generation.py", line 301, in preprocess inputs = self.tokenizer.apply_chat_template( File "/usr/local/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 1817, in apply_chat_template compiled_template = _compile_jinja_template(chat_template) File "/usr/local/lib/python3.9/site-packages/transformers/utils/chat_template_utils.py", line 362, in _compile_jinja_template class AssistantTracker(Extension): NameError: name 'Extension' is not defined
Container logs:
Fetching error logs...