mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
Global scheduler supports configuring hot updates (#2807)
* Check if the controller port is available * Global scheduler supports configuring hot updates * add interface: /controller/scheduler * add interface: /controller/scheduler
This commit is contained in:
@@ -142,12 +142,6 @@ class LLMEngine(object):
|
||||
disable_any_whitespace=self.cfg.disable_any_whitespace,
|
||||
)
|
||||
|
||||
def reset_scheduler(self):
|
||||
"""
|
||||
Reset the scheduler to its initial state.
|
||||
"""
|
||||
self.scheduler.reset()
|
||||
|
||||
def start(self, api_server_pid=None):
|
||||
"""
|
||||
Initializes the engine and starts its sub-services.
|
||||
|
Reference in New Issue
Block a user