[core] add wake_up doc and some sanity check (#12361)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
@@ -1157,6 +1157,9 @@ class LLM:
|
||||
self.llm_engine.sleep(level=level)
|
||||
|
||||
def wake_up(self):
|
||||
"""
|
||||
Wake up the engine from sleep mode. See the :meth:`sleep` method
|
||||
for more details."""
|
||||
self.llm_engine.wake_up()
|
||||
|
||||
# LEGACY
|
||||
|
||||
Reference in New Issue
Block a user