mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-21 13:11:27 +00:00
[chore] Update placement_policy.py
This commit is contained in:
parent
013690a86b
commit
e57812c672
@ -45,11 +45,6 @@ class PlacementPolicy(ABC):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
import os
|
||||
|
||||
rank = int(os.environ["RANK"])
|
||||
|
||||
|
||||
class StaticPlacementPolicy(PlacementPolicy):
|
||||
def __init__(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user