| [Test]add ut for qwenvl get_rope_index
Co-authored-by: lu-jinfu1999<lujinfu1@h-partners.com>
# message auto-generated for no-merge-commit merge:
!1760 merge master into master
[Test]add ut for qwenvl get_rope_index
Created-by: lu-jinfu1999
Commit-by: lu-jinfu1999
Merged-by: ascend-robot
Description: ## Motivation
add ut for qwenvl get_rope_index.
## Modification
1.add ut for qwenvl qwen2vl_get_rope_index.
2.add ut for qwenvl qwen2_5_vl_get_rope_index.
3.add ut for qwenvl qwen2_5_omni_get_rope_index.
4.add ut for test_activation.
## Self-test (Optional)
If modifications to this PR may cause/fix function/accuracy/performance DTSs/issues, a self-inspection record needs to be attached.
## BC-breaking (Optional)
If there are compatibility issues, such as dependencies on cann/torch_npu versions, they need to be explained in the PR.
## Checklist
**Before PR**:
- [x] The new code needs to comply with the Clean Code specification.
- [x] The PR content is self-checked, and the expression can be clear and the writing standardized
**After PR**:
- [x] CLA has been signed and all committers have signed the CLA in this PR.
- [x] The ci-pipeline is passed, Code Check is passed.
See merge request: Ascend/MindSpeed-MM!1760 | 6 个月前 |