mirror of
https://github.com/wassname/ray.git
synced 2026-07-31 12:41:01 +08:00
Automatically create custom node id resource (#5882)
* node id * comment * comments * fix tests
This commit is contained in:
@@ -496,6 +496,7 @@ class RayTrialExecutor(TrialExecutor):
|
||||
self._committed_resources.get_res_total(name),
|
||||
self._avail_resources.get_res_total(name), name)
|
||||
for name in self._avail_resources.custom_resources
|
||||
if not name.startswith(ray.resource_spec.NODE_ID_PREFIX)
|
||||
])
|
||||
if customs:
|
||||
status += " ({})".format(customs)
|
||||
|
||||
Reference in New Issue
Block a user