Fix exllamav3 ignoring the stop button
This commit is contained in:
@@ -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"]:
|
||||
|
||||
Reference in New Issue
Block a user