[chore] Update placement_policy.py

pull/5722/head
botbw 2024-05-17 13:42:18 +08:00 committed by GitHub
parent 013690a86b
commit e57812c672
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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,