删除流式请求中的缓存清理
This commit is contained in:
parent
5eccb58759
commit
e7b06a9072
|
|
@ -63,7 +63,7 @@ class ChatGLM(BaseAnswer, LLM, ABC):
|
|||
temperature=self.temperature,
|
||||
stopping_criteria=stopping_criteria_list
|
||||
)):
|
||||
self.checkPoint.clear_torch_cache()
|
||||
# self.checkPoint.clear_torch_cache()
|
||||
history[-1] = [prompt, stream_resp]
|
||||
answer_result = AnswerResult()
|
||||
answer_result.history = history
|
||||
|
|
|
|||
Loading…
Reference in New Issue