mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 06:33:06 +08:00
Changes where actor resources are assigned (#4323)
This commit is contained in:
committed by
Robert Nishihara
parent
01699ce4ea
commit
11580fb7dc
@@ -807,7 +807,7 @@ def test_defining_remote_functions(shutdown_only):
|
||||
|
||||
|
||||
def test_submit_api(shutdown_only):
|
||||
ray.init(num_cpus=1, num_gpus=1, resources={"Custom": 1})
|
||||
ray.init(num_cpus=2, num_gpus=1, resources={"Custom": 1})
|
||||
|
||||
@ray.remote
|
||||
def f(n):
|
||||
|
||||
Reference in New Issue
Block a user