code: def test_linear():
      spawn(check_dist_linear, nprocs=2)
  
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 6 for calling a global function with example usage: test_linear() without return types