nemo_gym.server_utils
nemo_gym.server_utils
Module Contents
Classes
Functions
Data
DISCONNECTED_CLIENT_OS_HELP_TEXT
DISCONNECTED_CLIENT_OS_PRINT_INTERVAL
IS_NEMO_GYM_FASTAPI_ENTRYPOINT_KEY_NAME
IS_NEMO_GYM_FASTAPI_WORKER_KEY_NAME
_GLOBAL_AIOHTTP_CLIENT_REQUEST_DEBUG
_NUM_SERVER_DISCONNECTED_ERROR
API
Bases: BaseModel
All instances of BaseServer are queryable using ServerClient.
Bases: BaseModel
Bases: ProfilingMiddlewareInputConfig
Bases: BaseModel
Bases: BaseModel
Parameters:
str The name of the server you are trying to call.
str The URL path in the server you are trying to call e.g. “/v1/responses”.
Parameters:
str The name of the server you are trying to call.
str The URL path in the server you are trying to call e.g. “/v1/responses”.
Bases: BaseModel
Bases: BaseModel
Initialize ray cluster in a process.
We store the Ray address in the global config dict so that child processes can connect to it.
This avoids the need to start a new Ray cluster in each child process.
Note: This function will modify the global config dict - update ray_head_node_address