mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-10 07:34:00 +01:00
Fix exllamav3 ignoring the stop button
This commit is contained in:
parent
005fcf3f98
commit
1e863a7113
|
|
@ -344,6 +344,9 @@ class Exllamav3Model:
|
|||
|
||||
try:
|
||||
while self.generator.num_remaining_jobs():
|
||||
if shared.stop_everything:
|
||||
break
|
||||
|
||||
results = self.generator.iterate()
|
||||
for result in results:
|
||||
if "eos" in result and result["eos"]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue