mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 09:31:35 +08:00
dcu adapter ernie45t (#2756)
Co-authored-by: lifu <lifu@sugon.com> Co-authored-by: yongqiangma <xing.wo@163.com>
This commit is contained in:
@@ -37,3 +37,9 @@ if current_platform.is_gcu():
|
||||
from .gcu import *
|
||||
if hasattr(gcu, '__all__'):
|
||||
__all__.extend(gcu.__all__)
|
||||
|
||||
if current_platform.is_dcu():
|
||||
from .dcu import *
|
||||
from . import dcu
|
||||
if hasattr(dcu, '__all__'):
|
||||
__all__.extend(dcu.__all__)
|
Reference in New Issue
Block a user