Unverified Commit f8728357 authored by fzyzcjy's avatar fzyzcjy Committed by GitHub
Browse files

Add expert distribution APIs for engine (#6290)

parent 73187152
......@@ -324,6 +324,24 @@ class Engine(EngineBase):
loop = asyncio.get_event_loop()
loop.run_until_complete(self.tokenizer_manager.stop_profile())
def start_expert_distribution_record(self):
loop = asyncio.get_event_loop()
loop.run_until_complete(
self.tokenizer_manager.start_expert_distribution_record()
)
def stop_expert_distribution_record(self):
loop = asyncio.get_event_loop()
loop.run_until_complete(
self.tokenizer_manager.stop_expert_distribution_record()
)
def dump_expert_distribution_record(self):
loop = asyncio.get_event_loop()
loop.run_until_complete(
self.tokenizer_manager.dump_expert_distribution_record()
)
def get_server_info(self):
loop = asyncio.get_event_loop()
internal_states = loop.run_until_complete(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment