mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -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` |
||
---|---|---|
.. | ||
autoscaling_multi_deployment.py | ||
autoscaling_single_deployment.py | ||
multi_deployment_1k_noop_replica.py | ||
serve_cluster_fault_tolerance.py | ||
serve_cluster_fault_tolerance_gcs.py | ||
serve_micro_benchmark.py | ||
serve_test_cluster_utils.py | ||
serve_test_utils.py | ||
single_deployment_1k_noop_replica.py |