code: def run_dist_linear_test(lazy_init, seq_parallel, overlap):
      check_linear_1d_col(lazy_init, seq_parallel, overlap)
      check_linear_1d_row(lazy_init, seq_parallel)
      check_linear_col_plus_row(lazy_init, seq_parallel, overlap)
  
file_path: ColossalAI/tests/test_shardformer/test_layer/test_linear_1d.py
imports: from contextlib import nullcontext
  import torch
  import torch.distributed
  import torch.nn
  from torch.testing import assert_close
  import colossalai
  from colossalai.lazy import LazyInitContext
  from colossalai.shardformer.layer import Linear1D_Col, Linear1D_Row
  from colossalai.tensor.d_tensor import is_distributed_tensor
  from colossalai.testing import parameterize, rerun_if_address_is_in_use, spawn
label_desc: Use image node_id 4 for calling a global function with example usage: run_dist_linear_test(lazy_init, seq_parallel, overlap) without return types