code: def partition_list_by_worker_id(lst, num_workers=15):
      partitions = []
      for i in range(num_workers):
          partitions.append([])
      for idx, item in enumerate(lst):
          worker_id = idx % num_workers
          partitions[worker_id].append(item)
      return partitions
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/exps/nas_bench_tabular/2.seq_train_dist_online.py
imports: import argparse
  import calendar
  import json
  import logging
  import os
  import time
  from exps.shared_args import parse_arguments
label_desc: Use image node_id 1 for calling a global function with example usage: partition_list_by_worker_id(lst, num_workers) and returns: partitions