mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00
![]() Getting or creating a named actor is a common pattern, however it is somewhat esoteric in how to achieve this. Add a utility function and test that it doesn't cause any scary error messages. Actor.options(name="my_singleton", get_if_exists=True).remote(args) |
||
---|---|---|
.. | ||
actor-pool.py | ||
actor-queue.py | ||
actor-sync.py | ||
get_or_create.py | ||
metrics_example.py | ||
runtime_env_example.py | ||
tasks.py | ||
tf_example.py | ||
torch_example.py |