Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhongyii committed Dec 13, 2024
1 parent 95eaafc commit 67e8c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mlc_llm/serve/engine_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def terminate(self):
if hasattr(self, "_background_stream_back_loop_thread"):
self._background_stream_back_loop_thread.join()

def _debug_call_func_on_all_worker(self, func_name: str, func_args: Optional[str]) -> None:
def _debug_call_func_on_all_worker(self, func_name: str, func_args: Optional[str] = None) -> None:
"""Call the given global function on all workers. Only for debug purpose."""
self._ffi["debug_call_func_on_all_worker"](func_name, func_args)

Expand Down

0 comments on commit 67e8c57

Please sign in to comment.