[feature]torch_npu support dlpack
Co-authored-by: zhang_xu_hao1230<zhangxuhao6@huawei.com>
# message auto-generated for no-merge-commit merge:
!26141 merge master_dlpack into master
[feature]torch_npu support dlpack
Created-by: zhang_xu_hao1230
Commit-by: zhang_xu_hao1230
Merged-by: ascend-robot
Description: <!-- Thanks for sending a pull request!
-->
**What type of PR is this?**
/kind feature
**What does this PR do / why do we need it**:
torch_npu支持dlpack
通过用torch_npu下from_blob替换torch下的from_blob实现dlpack支持
todo:等待from_blob支持310上的NZ format
**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!26141
add submodule torch mlir
Co-authored-by: lijintao<lijintao14@huawei.com>
# message auto-generated for no-merge-commit merge:
!25896 merge 11-add-submodule-torch-mlir into master
add submodule torch mlir
Created-by: gent1e
Commit-by: lijintao
Merged-by: ascend-robot
Description: <!-- Thanks for sending a pull request!
-->
**What type of PR is this?**
> 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**:
**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!25896