mirror of https://github.com/hpcaitech/ColossalAI
[chore] Update placement_policy.py
parent
013690a86b
commit
e57812c672
|
@ -45,11 +45,6 @@ class PlacementPolicy(ABC):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
rank = int(os.environ["RANK"])
|
|
||||||
|
|
||||||
|
|
||||||
class StaticPlacementPolicy(PlacementPolicy):
|
class StaticPlacementPolicy(PlacementPolicy):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|
Loading…
Reference in New Issue