mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-11 04:41:54 +00:00
remove unrelated code
This commit is contained in:
parent
3d625ca836
commit
06a3a100b3
@ -45,11 +45,6 @@ class PlacementPolicy(ABC):
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
# import torch.distributed as dist
|
|
||||||
# # rank = int(os.environ["RANK"])
|
|
||||||
# rank = dist.get_rank()
|
|
||||||
|
|
||||||
|
|
||||||
class StaticPlacementPolicy(PlacementPolicy):
|
class StaticPlacementPolicy(PlacementPolicy):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user