docstr: Abstract Shard Strategy. Use to shard a tensors on multiple GPUs.
docstr_tok: ["Abstract","Shard","Strategy",".","Use","to","shard","a","tensors","on","multiple","GPUs","."]
code: def __init__(self) -> None:
      """Abstract Shard Strategy. Use to shard a tensors on multiple GPUs."""
      super().__init__()
  
file_path: colossalai/colossalai/legacy/zero/shard_utils/base_shard_strategy.py
imports: from abc import ABC, abstractmethod
  from typing import List, Optional
  import torch.distributed
  from colossalai.legacy.zero.sharded_param.sharded_tensor import ShardedTensor
label_desc: Use image node_id 1 to create a new BaseShardStrategy object from inherited base classes: ABC with example: obj = BaseShardStrategy()