Skip to content

Conversation

@yuanlehome
Copy link
Collaborator

@yuanlehome yuanlehome commented Oct 21, 2025

Motivation

修复一些自定义算子注册的不规范问题,需要使用PD_BUILD_STATIC_OP宏

Modifications

  1. 一些自定义算子使用PD_BUILD_STATIC_OP注册
  2. 优化set_stop_value_multi_ends算子处理eos token的逻辑
  3. 限制paddleformers>=0.3.1

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Oct 21, 2025

Thanks for your contribution!

@yuanlehome yuanlehome changed the title fix custom_ops enhance set_stop_value_multi_ends and standardize the registration of some operators Oct 21, 2025
@Jiang-Jia-Jun Jiang-Jia-Jun merged commit 3b58310 into PaddlePaddle:develop Oct 21, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants