已合并
支持c++外部流接口getStreamFromExternal #36663
pwc10490创建于 5月25日
支持c++外部流接口getStreamFromExternal #36663
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 pwc10490 的贡献)ascend-robot
5月25日 评论:
5月25日 评论:
test/cpp_extensions/torch_test_cpp_extension/load_external_stream.py
@@ -0,0 +42,8 @@
42+ sys.path.remove(path)
43+
44+ os.environ["TORCH_DEVICE_BACKEND_AUTOLOAD"] = "0"
45+
46+ import torch # noqa: F401
47+
48+ import torch_npu # noqa: F401
49+
50+ try:
【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。


5月25日 添加了label:stat/needs-squash
test/cpp_extensions/torch_test_cpp_extension/load_external_stream.py
@@ -0,0 +44,7 @@
44+ os.environ["TORCH_DEVICE_BACKEND_AUTOLOAD"] = "0"
45+
46+ import torch # noqa: F401
47+
48+ import torch_npu # noqa: F401
49+
50+ try:
51+ return importlib.import_module(MODULE_NAME)
【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。


此处折叠了59条消息 查看更多
6月1日 添加了label:approved
6月1日 合入了pull request
ascend-robot
6月1日 评论:
6月1日 评论:
Pull Request 已合并或已关闭。
If you want to solve this problem, you can click here to do it in the FAQs.


ascend-robot
6月1日 评论:
6月1日 评论:
流水线 pytorch_gitcode_PR_multiVersion#9783 [ commitID:03daeb40 ] 已完成


【合入来源】
【修改方案】
https://gitcode.com/Ascend/pytorch/issues/2163
【资料变更】
【接口变更】
【功能验证】
test/cpp_extensions/test/test_external_stream.py

【CheckList】