mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 08:31:42 +08:00
[Autoscaler] Pass custom resources to "ray start" multi instance autoscaling (#9986)
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ class Node:
|
||||
return result
|
||||
|
||||
env_resources = {}
|
||||
env_string = os.getenv("RAY_OVERRIDE_RESOURCES")
|
||||
env_string = os.getenv(ray_constants.RESOURCES_ENVIRONMENT_VARIABLE)
|
||||
if env_string:
|
||||
env_resources = json.loads(env_string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user