Skip to content

Commit

Permalink
FIX: Distributed Dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
User3574 committed Aug 9, 2023
1 parent ad30fa0 commit 332b58d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ai/src/itwinai/backend/executors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import yaml
import ray

from .components import Executor
from jsonargparse import ArgumentParser
Expand Down Expand Up @@ -40,6 +41,9 @@ def __init__(self, pipeline, class_dict, param_space):
self.class_dict = class_dict
self.param_space = param_space

# Init ray
ray.init()

def worker_fn(self, config, pipeline, class_dict):
# Should have same structure pipe and params
def replace(pipe, params):
Expand Down

0 comments on commit 332b58d

Please sign in to comment.