chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import ray
|
||||
from ray import serve
|
||||
|
||||
signal = ray.get_actor("signal123")
|
||||
ray.get(signal.wait.remote())
|
||||
|
||||
|
||||
@serve.deployment(ray_actor_options={"num_cpus": 0.1})
|
||||
def f():
|
||||
return "hello world"
|
||||
|
||||
|
||||
app = f.bind()
|
||||
Reference in New Issue
Block a user