매니저 함수¶
-
class
ai.backend.client.manager.
Manager
[소스]¶ 게이트웨이 및 매니저 서버의 상태를 관리합니다.
버전 18.12에 추가.
-
session
= None¶ 이 함수 클래스가 사용할 클라이언트 세션 인스턴스
-
classmethod await
freeze
(force_kill=False)[소스]¶ Freezes the configured API server. Any API clients will no longer be able to create new compute sessions nor create and modify vfolders/keypairs/etc. This is used to enter the maintenance mode of the server for unobtrusive manager and/or agent upgrades.
- 매개변수
force_kill (
bool
) -- If setTrue
, immediately shuts down all running compute sessions forcibly. If not set, clients who have running compute session are still able to interact with them though they cannot create new compute sessions.
-