1mindspore.reset_auto_parallel_context 2====================================== 3 4.. py:function:: mindspore.reset_auto_parallel_context() 5 6 重置自动并行的配置为默认值。如果某个程序具有不同并行模式下的任务,需要提前调用reset_auto_parallel_context()并为下一个任务设置新的并行模式。 7 8 - device_num:1。 9 - global_rank:0。 10 - gradients_mean:False。 11 - gradient_fp32_sync:True。 12 - parallel_mode: 'stand_alone'。 13 - search_mode: 'recursive_programming'。 14 - auto_parallel_search_mode: 'recursive_programming'。 15 - parameter_broadcast:False。 16 - strategy_ckpt_load_file: ''。 17 - strategy_ckpt_save_file: ''。 18 - full_batch:False。 19 - enable_parallel_optimizer:False。 20 - enable_alltoall:False。 21 - pipeline_stages:1。 22 - auto_pipeline:False。 23 - fusion_threshold:64。 24