We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb56d46 commit e6338d2Copy full SHA for e6338d2
build.sh
@@ -159,12 +159,11 @@ function copy_ops(){
159
is_maca=`$python -c "import paddle; print(paddle.device.is_compiled_with_custom_device('metax_gpu'))"`
160
if [ "$is_maca" = "True" ]; then
161
DEVICE_TYPE="metax_gpu"
162
- mkdir -p ../fastdeploy/model_executor/ops/base
163
- cp -r ${OPS_TMP_DIR_BASE}/${WHEEL_BASE_NAME}/* ../fastdeploy/model_executor/ops/base
164
cp -r ${TMP_PACKAGE_DIR}/* ../fastdeploy/model_executor/ops/gpu
165
echo -e "MACA ops have been copy to fastdeploy"
166
return
167
fi
+
168
is_intel_hpu=`$python -c "import paddle; print(paddle.is_compiled_with_custom_device('intel_hpu'))"`
169
if [ "$is_intel_hpu" = "True" ]; then
170
DEVICE_TYPE="intel-hpu"
0 commit comments