mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31: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` |
||
---|---|---|
.. | ||
actor_deaths.py | ||
apex.py | ||
impala.py | ||
many_actor_tasks.py | ||
many_drivers.py | ||
many_ppo.py | ||
many_tasks.py | ||
many_tasks_serialized_ids.py | ||
node_failures.py | ||
pbt.py | ||
serve.py | ||
serve_failure.py |