Skip to content

Commit

Permalink
ADD: Ray
Browse files Browse the repository at this point in the history
  • Loading branch information
User3574 committed Aug 9, 2023
1 parent 7c50c6f commit 79ebd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai/src/itwinai/backend/executors.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, pipeline, class_dict, param_space):
self.pipeline = yaml.safe_load(f)

# Init ray
ray.init(ignore_reinit_error=True)
ray.init(address='auto', ignore_reinit_error=True)
print('Ray is initialized')

def worker_fn(self, config, pipeline, class_dict):
Expand Down

0 comments on commit 79ebd80

Please sign in to comment.