code: def _func_fit(model, input_data, convert_dtype):
      X = concatenate([item[0] for item in input_data])
      y = concatenate([item[1] for item in input_data])
      return model.fit(X, y, convert_dtype)
  
imports: from cuml.fil.fil import TreeliteModel
  from cuml.dask.common.utils import get_client, wait_and_raise_from_futures
  from cuml.dask.common.input_utils import DistributedDataHandler, concatenate
  from dask.distributed import Future
  from collections.abc import Iterable
  from cuml import using_output_type
  import warnings
  from cuml.internals.safe_imports import gpu_only_import
  import dask
  import json
  import math
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: _func_fit(model, input_data, convert_dtype) and returns: model