diff --git a/python/fastdeploy/__init__.py b/python/fastdeploy/__init__.py index d7b3dac7aa..360db8e5a6 100755 --- a/python/fastdeploy/__init__.py +++ b/python/fastdeploy/__init__.py @@ -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. # This solution will be removed it when the confilct of paddle and # fastdeploy is fixed. -try: - import paddle -except: - pass from .c_lib_wrap import ( ModelFormat,