ssbuild / aigc_serving

aigc_serving lightweight and efficient Language service model reasoning
Apache License 2.0
23 stars 2 forks source link

NameError: name 'get_chat_default' is not defined #93

Closed Qcosmo closed 1 year ago

Qcosmo commented 1 year ago

Traceback (most recent call last): File "/data/aigc_serving/serving/workers/llm_worker.py", line 132, in run_once node = self.api_client.trigger(r) File "/data/aigc_serving/serving/model_handler/base/infer.py", line 414, in trigger return self._do_work(r) File "/data/aigc_serving/serving/model_handler/base/infer.py", line 385, in _do_work node: CompletionResult = method_fn(query, history=history, **params) File "/data/aigc_serving/serving/model_handler/llama/infer.py", line 177, in chat prompt = get_chat_default(self.tokenizer, query, history) NameError: name 'get_chat_default' is not defined

ssbuild commented 1 year ago

是不是没更新~

Qcosmo commented 1 year ago

是的,更新了之后好了。