mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
Signed-off-by: Future-Outlier <[email protected]> Co-authored-by: machichima <[email protected]> Co-authored-by: fscnick <[email protected]> Co-authored-by: Rueian <[email protected]> Co-authored-by: kaihsun <[email protected]>
7 lines
132 B
Python
7 lines
132 B
Python
import ray
|
|
import sys
|
|
|
|
ray.init(namespace="default_namespace")
|
|
detached_actor = ray.get_actor(sys.argv[1])
|
|
ray.kill(detached_actor)
|