| feat(torch): Add swiglu func with limit
Co-authored-by: iansheng<shengjiayi@huawei.com>
# message auto-generated for no-merge-commit merge:
!4428 merge swiglu426 into master
feat(torch): Add swiglu func with limit
Created-by: iansheng
Commit-by: iansheng
Merged-by: ascend-robot
Description:
## What this PR does / why we need it?
Please describe the background and detailed changes of the PR. If it is a bugfix, please attach the related issue.
## Does this PR introduce any user-facing change?
Please describe whether the PR will result in any user-facing usage changes. If there is related documentation, please specify its path.
## How was this patch tested?
Please explain how to verify the correctness and effectiveness of this feature, as well as its usage constraints and limitations.
See merge request: Ascend/MindSpeed-LLM!4428 | 1 个月前 |