Fix exllamav3 ignoring the stop button

This commit is contained in:
oobabooga 2025-09-19 16:12:50 -07:00
parent 005fcf3f98
commit 1e863a7113

View file

@ -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"]: