mirror of https://github.com/hpcaitech/ColossalAI
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
404 B
19 lines
404 B
2 years ago
|
from typing import List
|
||
|
|
||
|
__all__ = ['EnvironmentTable']
|
||
|
|
||
|
|
||
|
class EnvironmentTable:
|
||
|
|
||
|
def __init__(self, intra_op_world_sizes: List[int]):
|
||
|
# TODO: implement this method
|
||
|
pass
|
||
|
|
||
|
@property
|
||
|
def is_master(self) -> bool:
|
||
|
# TODO: implement this method
|
||
|
pass
|
||
|
|
||
|
# TODO: implement more utility methods as given in
|
||
|
# https://github.com/hpcaitech/ColossalAI/issues/3051
|