mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 02:46:49 +08:00
7 lines
361 B
Python
7 lines
361 B
Python
def set_resource(resource_name, capacity, node_id=None):
|
|
raise DeprecationWarning(
|
|
"Dynamic custom resources are deprecated. Consider using placement "
|
|
"groups instead (docs.ray.io/en/master/placement-group.html). You "
|
|
"can also specify resources at Ray start time with the 'resources' "
|
|
"field in the cluster autoscaler.")
|