diff --git a/python/sglang/utils.py b/python/sglang/utils.py index 9b5ca15dde1..98e0f3f4f8d 100644 --- a/python/sglang/utils.py +++ b/python/sglang/utils.py @@ -363,23 +363,3 @@ def terminate_process(process): def print_highlight(html_content: str): html_content = str(html_content).replace("\n", "
") display(HTML(f"{html_content}")) - - -import pdb # type: ignore -import sys - - -class ForkedPdb(pdb.Pdb): - """ - PDB Subclass for debugging multi-processed code - Suggested in: https://stackoverflow.com/questions/4716533/how-to-attach-debugger-to-a-python-subproccess - """ - - def interaction(self, *args, **kwargs): - _stdin = sys.stdin - try: - - sys.stdin = open("/dev/stdin") - pdb.Pdb.interaction(self, *args, **kwargs) - finally: - sys.stdin = _stdin