mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
![]() Serve stores context state, including the `_INTERNAL_REPLICA_CONTEXT` and the `_global_client` in `api.py`. However, these data structures are referenced throughout the codebase, causing circular dependencies. This change introduces two new files: * `context.py` * Intended to expose process-wide state to internal Serve code as well as `api.py` * Stores the `_INTERNAL_REPLICA_CONTEXT` and the `_global_client` global variables * `client.py` * Stores the definition for the Serve `Client` object, now called the `ServeControllerClient` |
||
---|---|---|
.. | ||
workloads | ||
app_config.yaml | ||
compute_tpl_8_cpu_autoscaling.yaml | ||
compute_tpl_32_cpu.yaml | ||
compute_tpl_single_node.yaml | ||
compute_tpl_single_node_k8s.yaml |