mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 05:16:30 +08:00
num_cpus=1 by default in Pool (#6812)
This commit is contained in:
@@ -270,7 +270,7 @@ class UnorderedIMapIterator(IMapIterator):
|
||||
return self._ready_objects.popleft()
|
||||
|
||||
|
||||
@ray.remote
|
||||
@ray.remote(num_cpus=1)
|
||||
class PoolActor:
|
||||
"""Actor used to process tasks submitted to a Pool."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user