mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[BugFix] Fixed build script issue on Intel HPU platforms (#5455)
* [INTEL HPU] Fixed build script issue for non-gpu platforms Signed-off-by: Luo, Focus <focus.luo@intel.com> * [INTEL HPU] PR CI HPU will not use fixed version of fastdeploy_intel_hpu Signed-off-by: Luo, Focus <focus.luo@intel.com> --------- Signed-off-by: Luo, Focus <focus.luo@intel.com> Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
This commit is contained in:
@@ -672,7 +672,14 @@ elif paddle.device.is_compiled_with_custom_device("metax_gpu"):
|
||||
),
|
||||
)
|
||||
elif paddle.is_compiled_with_custom_device("intel_hpu"):
|
||||
pass
|
||||
setup(
|
||||
name="fastdeploy_ops",
|
||||
ext_modules=CppExtension(
|
||||
sources=[
|
||||
"gpu_ops/get_output.cc",
|
||||
]
|
||||
),
|
||||
)
|
||||
else:
|
||||
use_bf16 = envs.FD_CPU_USE_BF16 == "True"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user