mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
Update __init__.py
This commit is contained in:
@@ -45,10 +45,6 @@ if os.name != "nt" and os.path.exists(trt_directory):
|
|||||||
# Note(zhoushunjie): Fix the import order of paddle and fastdeploy library.
|
# Note(zhoushunjie): Fix the import order of paddle and fastdeploy library.
|
||||||
# This solution will be removed it when the confilct of paddle and
|
# This solution will be removed it when the confilct of paddle and
|
||||||
# fastdeploy is fixed.
|
# fastdeploy is fixed.
|
||||||
try:
|
|
||||||
import paddle
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
from .c_lib_wrap import (
|
from .c_lib_wrap import (
|
||||||
ModelFormat,
|
ModelFormat,
|
||||||
|
Reference in New Issue
Block a user