Various fixes in chat mode
This commit is contained in:
parent
b0e8cb8c88
commit
341e135036
3 changed files with 22 additions and 24 deletions
|
@ -64,6 +64,7 @@ class Iteratorize:
|
|||
ret = self.mfunc(callback=_callback, **self.kwargs)
|
||||
except ValueError:
|
||||
pass
|
||||
clear_torch_cache()
|
||||
self.q.put(self.sentinel)
|
||||
if self.c_callback:
|
||||
self.c_callback(ret)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue