[accelerator] init the accelerator module (#5129)

* [accelerator] init the accelerator module

* polish code

* polish code

* polish code

* polish code
This commit is contained in:
Frank Lee
2023-11-30 13:25:17 +08:00
committed by GitHub
parent 68fcaa2225
commit f4e72c9992
7 changed files with 306 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
from .initialize import launch, launch_from_openmpi, launch_from_slurm, launch_from_torch
from . import accelerator
try:
# .version will be created by setup.py