Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarbuzzi committed May 29, 2024
1 parent 8869ec6 commit 0e4f8a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neuralmagic/benchmarks/run_benchmark_serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def __enter__(self):
self._wait_for_server_ready()

def __exit__(self, exc_type, exc_value, exc_traceback):
print('context manager __exit__')
self.logger.info('context manager __exit__')
if self.proc and self.proc.poll() is None:
self.logger.info("killing server")
self.proc.kill()
Expand Down

0 comments on commit 0e4f8a4

Please sign in to comment.