Traceback (most recent call last):
File "/parallel_test/device/./parallel_test.py", line 22, in <module>
init()
File "/lib/python3.9/site-packages/mindspore/communication/management.py", line 180, in init
init_cluster()
RuntimeError: PyNative mode is not supported in dynamic networking for now.
----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/ccsrc/distributed/cluster/cluster_context.cc:217 InitNodeRole
我想用动态组网方式启动单机多卡并行,我的脚本如下:
代码如下
报错如下
Traceback (most recent call last): File "/parallel_test/device/./parallel_test.py", line 22, in <module> init() File "/lib/python3.9/site-packages/mindspore/communication/management.py", line 180, in init init_cluster() RuntimeError: PyNative mode is not supported in dynamic networking for now. ---------------------------------------------------- - C++ Call Stack: (For framework developers) ---------------------------------------------------- mindspore/ccsrc/distributed/cluster/cluster_context.cc:217 InitNodeRole运行机器:GPU RTX2080ti 希望尽快支持Pynative模式,GRAPH MODE模式不支持AnnAssign。两者都不能使用动态组网方式运行我的代码。希望尽快适配。