| 【bugfix】修改sanitizer的apply应用至开启流间竞争检测时
Co-authored-by: 龚昊宇<gonghaoyu1@h-partners.com>
# message auto-generated for no-merge-commit merge:
merge 922fix_v2.7.1 into v2.7.1
【bugfix】修改sanitizer的apply应用至开启流间竞争检测时
Created-by: gonghaoyu
Commit-by: 龚昊宇
Merged-by: ascend-robot
Description: <!-- Thanks for sending a pull request!
-->
**What type of PR is this?**
/kind bug
> Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
>
> /kind bug
> /kind task
> /kind feature
**What does this PR do / why do we need it**:
修改sanitizer的apply应用范围至开启流间竞争检测时,以防止第三方工具使用is_cuda时误判npu和cuda的tensor。
**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: Fixes #<issue number>, or Fixes (paste link of issue).
-->
Fixes #
**Special notes for your reviewers**:
See merge request: Ascend/pytorch!25097 | 8 个月前 |