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.
16 lines
431 B
16 lines
431 B
from .api import auto_set_accelerator, get_accelerator, set_accelerator
|
|
from .base_accelerator import BaseAccelerator
|
|
from .cpu_accelerator import CpuAccelerator
|
|
from .cuda_accelerator import CudaAccelerator
|
|
from .npu_accelerator import NpuAccelerator
|
|
|
|
__all__ = [
|
|
"get_accelerator",
|
|
"set_accelerator",
|
|
"auto_set_accelerator",
|
|
"BaseAccelerator",
|
|
"CudaAccelerator",
|
|
"NpuAccelerator",
|
|
"CpuAccelerator",
|
|
]
|