Skip to content

Commit e8b51ed

Browse files
committed
[Metax] refactor moe and flash attention backend
1 parent a4bb3e9 commit e8b51ed

File tree

17 files changed

+2545
-1355
lines changed

17 files changed

+2545
-1355
lines changed

build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ function copy_ops(){
159159
is_maca=`$python -c "import paddle; print(paddle.device.is_compiled_with_custom_device('metax_gpu'))"`
160160
if [ "$is_maca" = "True" ]; then
161161
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
164162
cp -r ${TMP_PACKAGE_DIR}/* ../fastdeploy/model_executor/ops/gpu
165163
echo -e "MACA ops have been copy to fastdeploy"
166164
return

custom_ops/metax_ops/apply_rope.cu

Lines changed: 0 additions & 291 deletions
This file was deleted.

0 commit comments

Comments
 (0)