mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[build] support build sm 80,86,89,90 to one whl package (#6173)
* support build sm 80,86,89,90 to one whl package * create tmp dir before build custom ops in FD_UNIFY_BUILD mode * typo fix * ignore exceptions in xpu ..
This commit is contained in:
@@ -42,8 +42,8 @@ def import_custom_ops(package, module_name, global_ns):
|
||||
except Exception as e:
|
||||
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.")
|
||||
except Exception as e:
|
||||
logger.warning(f"Ops of {package} import failed, it may be not compiled. {e}")
|
||||
|
||||
preprocess_static_op(global_ns)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user