Browse Source

[chore] Update placement_policy.py

pull/5722/head
botbw 6 months ago committed by GitHub
parent
commit
e57812c672
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      colossalai/zero/gemini/placement_policy.py

5
colossalai/zero/gemini/placement_policy.py

@ -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…
Cancel
Save