mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 08:16:42 +08:00
polish code with new pre-commit rule (#2923)
This commit is contained in:
@@ -43,8 +43,7 @@ def import_custom_ops(package, module_name, global_ns):
|
||||
logger.warning(f"Failed to import op {func_name}: {e}")
|
||||
|
||||
except Exception:
|
||||
logger.warning(
|
||||
f"Ops of {package} import failed, it may be not compiled.")
|
||||
logger.warning(f"Ops of {package} import failed, it may be not compiled.")
|
||||
|
||||
preprocess_static_op(global_ns)
|
||||
|
||||
|
Reference in New Issue
Block a user