Skip to content

Commit

Permalink
debug vllm
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPiche committed Jan 7, 2025
1 parent 647a491 commit b153ea8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/rl_gsm8k/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,13 @@ def _cleanup(self) -> None:
f.close()

def __enter__(self) -> "VLLMServiceManager":
self._start_service()
#self._start_service()
self.ports = [8080, 8081]
return self

def __exit__(self, exc_type, exc_val, exc_tb) -> None:
self._cleanup()
return None
#self._cleanup()

def get_stats(self):
return self.stats
Expand Down

0 comments on commit b153ea8

Please sign in to comment.