[Autoscaler] Pass custom resources to "ray start" multi instance autoscaling (#9986)

This commit is contained in:
Alex Wu
2020-08-17 22:34:07 -07:00
committed by GitHub
parent 71f6f83f1d
commit 0b5d5ec17d
11 changed files with 303 additions and 25 deletions
+1 -1
View File
@@ -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)