code: def joblib_wrapper(process_func, search_processes_paras, n_processes):
      from joblib import Parallel, delayed
  
      jobs = [
          delayed(process_func)(*info_dict)
          for info_dict in search_processes_paras
      ]
      results = Parallel(n_jobs=n_processes)(jobs)
  
      return results
  
imports: from tqdm import tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: joblib_wrapper(process_func, search_processes_paras, n_processes) and returns: results