Skip to content

Commit

Permalink
Add kill sglang process
Browse files Browse the repository at this point in the history
  • Loading branch information
kcz358 committed Aug 27, 2024
1 parent f3c73b8 commit 3a6f0ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lmms_eval/models/srt_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ async def _process(request):
pbar.update(1)

asyncio.run(run(requests))
kill_child_process(self.process.pid)

return res

Expand Down

0 comments on commit 3a6f0ce

Please sign in to comment.