已合并
新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。 #38602
yuanqi1104创建于 6月16日
新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。 #38602
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 yuanqi1104 的贡献)6月16日 创建了 pull request,commit 5d1e692d
ascend-robot
6月16日 评论:
6月16日 评论:
6月16日 添加了label:ascend-cla/yes
ascend-robot
6月16日 评论:
6月16日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| test | ✅ chujinjin, htchu, 李伟, daifu1234567, medivh-x (5/2) | ✅ chujinjin, htchu, 李伟 (3/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
yuanqi1104, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6月16日 添加了label:needs-issue
此处折叠了85条消息 查看更多
6月18日 added a commit that referenced this pull request
- b9d48380 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38702 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-v2.10.0 into v2.10.0
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: ascend-ds-bot
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38702- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- b9d48380 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38702 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-v2.10.0 into v2.10.0
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: ascend-ds-bot
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38702- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- 26318a02 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38703 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-v2.11.0 into v2.11.0
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: ascend-ds-bot
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38703- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- 26318a02 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38703 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-v2.11.0 into v2.11.0
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: ascend-ds-bot
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38703- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- 33c15034 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38704 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-v2.12.0 into v2.12.0
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: ascend-ds-bot
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38704- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- 33c15034 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38704 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-v2.12.0 into v2.12.0
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: ascend-ds-bot
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38704- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- 419a247b - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38733 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-master into master
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: yuanqi1104
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38733- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月18日 added a commit that referenced this pull request
- 419a247b - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38733 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-master into master
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: yuanqi1104
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38733- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月22日 added a commit that referenced this pull request
- ec1d9947 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38860 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-master into master
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: yuanqi1104
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description: 本PR为对 https://gitcode.com/Ascend/pytorch/pull/38733 的补充
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38860- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
6月22日 added a commit that referenced this pull request
- ec1d9947 - [sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Co-authored-by: yuanqi1104
# message auto-generated for no-merge-commit merge:
!38860 merge sync-pr38602-yuanqi_add_torch_npu_testcases-to-master into master
[sync] PR-38602: 新增torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。
Created-by: yuanqi1104
Commit-by: yuanqi1104
Merged-by: ascend-robot
Description: 本PR为对 https://gitcode.com/Ascend/pytorch/pull/38733 的补充
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38602
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2402
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[3481c54f](https://gitcode.com/Ascend/pytorch/commit/3481c54f3cd388fe46ae989e0dcaaf21a8844c0c)|2026-06-16 20:01:41 +0800 CST|Add test case fot torch_npu
| See merge request: Ascend/pytorch!38860- [#38602](https://gitcode.com/Ascend/pytorch/merge_requests/38602)
【合入来源】
https://gitcode.com/Ascend/pytorch/issues/2402
【修改方案】
新增
torch_npu.npu.are_compatible_impl_enabled和torch_npu.npu.get_amp_supported_dtype接口的测试用例。【资料变更】
不涉及
【接口变更】
不涉及
【功能验证】
已验证
【CheckList】