Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ function copy_ops(){
is_maca=`$python -c "import paddle; print(paddle.device.is_compiled_with_custom_device('metax_gpu'))"`
if [ "$is_maca" = "True" ]; then
DEVICE_TYPE="metax_gpu"
mkdir -p ../fastdeploy/model_executor/ops/base
cp -r ${OPS_TMP_DIR_BASE}/${WHEEL_BASE_NAME}/* ../fastdeploy/model_executor/ops/base
cp -r ${TMP_PACKAGE_DIR}/* ../fastdeploy/model_executor/ops/gpu
echo -e "MACA ops have been copy to fastdeploy"
return
Expand Down
617 changes: 382 additions & 235 deletions custom_ops/gpu_ops/sample_kernels/sampling.cuh

Large diffs are not rendered by default.

245 changes: 132 additions & 113 deletions custom_ops/gpu_ops/sample_kernels/utils.cuh

Large diffs are not rendered by default.

291 changes: 0 additions & 291 deletions custom_ops/metax_ops/apply_rope.cu

This file was deleted.

Loading
Loading