From 75070031130c1e5e49935a6ae2b626eaa8530396 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 29 Mar 2023 12:57:40 +0800 Subject: [PATCH] Update __init__.py --- python/fastdeploy/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/fastdeploy/__init__.py b/python/fastdeploy/__init__.py index d7b3dac7a..360db8e5a 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,