Skip to content

Commit

Permalink
Minor change.
Browse files Browse the repository at this point in the history
Signed-off-by: Revital Sur <[email protected]>
  • Loading branch information
revit13 committed Sep 25, 2024
1 parent 4b6e8d2 commit 35b9989
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
ClusterSpec,
HeadNodeSpec,
RayJobRequest,
Template,
template_decoder,
WorkerNodeSpec,
environment_variables_decoder,
Expand Down Expand Up @@ -122,7 +121,7 @@ def create_ray_cluster(
"""
# start with templates
# head_node
dct= {}
dct = {}
dct["cpu"] = head_node.get("cpu", 1)
dct["memory"] = head_node.get("memory", 1)
dct["gpu"] = head_node.get("gpu", 0)
Expand All @@ -141,7 +140,7 @@ def create_ray_cluster(
index = 0
# For every worker group
for worker_node in worker_nodes:
dct={}
dct ={}
dct["cpu"] = worker_node.get("cpu", 1)
dct["memory"] = worker_node.get("memory", 1)
dct["gpu"] = worker_node.get("gpu", 0)
Expand Down

0 comments on commit 35b9989

Please sign in to comment.