mirror of https://github.com/hpcaitech/ColossalAI
aibig-modeldata-parallelismdeep-learningdistributed-computingfoundation-modelsheterogeneous-traininghpcinferencelarge-scalemodel-parallelismpipeline-parallelism
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.
24 lines
372 B
24 lines
372 B
import click |
|
from .launcher import run |
|
from .check import check |
|
from .benchmark import benchmark |
|
|
|
|
|
class Arguments(): |
|
|
|
def __init__(self, arg_dict): |
|
for k, v in arg_dict.items(): |
|
self.__dict__[k] = v |
|
|
|
|
|
@click.group() |
|
def cli(): |
|
pass |
|
|
|
|
|
cli.add_command(run) |
|
cli.add_command(check) |
|
cli.add_command(benchmark) |
|
|
|
if __name__ == '__main__': |
|
cli()
|
|
|