mindspore 2.6.0__cp311-cp311-manylinux1_x86_64.whl → 2.7.0rc1__cp311-cp311-manylinux1_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mindspore might be problematic. Click here for more details.

Files changed (4138) hide show
  1. mindspore/.commit_id +1 -1
  2. mindspore/Third_Party_Open_Source_Software_Notice +1290 -0
  3. mindspore/__init__.py +1 -1
  4. mindspore/_c_dataengine.cpython-311-x86_64-linux-gnu.so +0 -0
  5. mindspore/_c_expression.cpython-311-x86_64-linux-gnu.so +0 -0
  6. mindspore/_c_mindrecord.cpython-311-x86_64-linux-gnu.so +0 -0
  7. mindspore/_checkparam.py +40 -9
  8. mindspore/{_deprecated → _extends/optimize}/__init__.py +9 -3
  9. mindspore/_extends/optimize/cell_utils.py +96 -0
  10. mindspore/_extends/parse/__init__.py +2 -2
  11. mindspore/_extends/parse/compile_config.py +44 -22
  12. mindspore/_extends/parse/deprecated/deprecated_tensor_method.py +1 -1
  13. mindspore/_extends/parse/parser.py +36 -61
  14. mindspore/_extends/parse/resources.py +39 -0
  15. mindspore/_extends/parse/standard_method.py +32 -13
  16. mindspore/_extends/parse/trope.py +8 -1
  17. mindspore/_extends/pijit/__init__.py +1 -2
  18. mindspore/amp.py +4 -4
  19. mindspore/boost/adasum.py +1 -1
  20. mindspore/boost/boost_cell_wrapper.py +4 -4
  21. mindspore/common/__init__.py +27 -2
  22. mindspore/common/_grad_function.py +2 -1
  23. mindspore/common/_pijit_context.py +28 -7
  24. mindspore/common/_stub_tensor.py +1 -209
  25. mindspore/common/_tensor_cpp_method.py +1 -1
  26. mindspore/common/_tensor_docs.py +3260 -3199
  27. mindspore/common/api.py +193 -112
  28. mindspore/common/dtype.py +21 -11
  29. mindspore/common/dump.py +10 -15
  30. mindspore/common/generator.py +2 -3
  31. mindspore/common/hook_handle.py +11 -2
  32. mindspore/common/jit_config.py +1 -1
  33. mindspore/common/jit_trace.py +84 -105
  34. mindspore/common/parameter.py +26 -12
  35. mindspore/common/recompute.py +3 -3
  36. mindspore/common/sparse_tensor.py +0 -3
  37. mindspore/common/symbol.py +0 -1
  38. mindspore/common/tensor.py +48 -83
  39. mindspore/communication/_comm_helper.py +46 -4
  40. mindspore/communication/management.py +79 -7
  41. mindspore/context.py +38 -23
  42. mindspore/dataset/core/config.py +3 -3
  43. mindspore/dataset/engine/datasets.py +20 -7
  44. mindspore/dataset/engine/datasets_user_defined.py +32 -2
  45. mindspore/dataset/engine/iterators.py +2 -2
  46. mindspore/dataset/engine/obs/config_loader.py +2 -2
  47. mindspore/dataset/engine/obs/obs_mindrecord_dataset.py +8 -0
  48. mindspore/dataset/transforms/py_transforms.py +7 -3
  49. mindspore/dataset/transforms/transforms.py +7 -3
  50. mindspore/dataset/vision/validators.py +1 -0
  51. mindspore/device_context/ascend/device.py +1 -1
  52. mindspore/device_context/gpu/__init__.py +2 -2
  53. mindspore/device_context/gpu/device.py +1 -1
  54. mindspore/device_context/gpu/op_precision.py +4 -2
  55. mindspore/device_context/gpu/op_tuning.py +6 -3
  56. mindspore/device_manager.py +16 -9
  57. mindspore/experimental/llm_boost/ascend_native/llama_boost_ascend_native.py +3 -5
  58. mindspore/experimental/llm_boost/atb/boost_base.py +2 -3
  59. mindspore/experimental/optim/adadelta.py +13 -20
  60. mindspore/experimental/optim/adagrad.py +15 -22
  61. mindspore/experimental/optim/adam.py +17 -24
  62. mindspore/experimental/optim/adamax.py +14 -22
  63. mindspore/experimental/optim/adamw.py +28 -34
  64. mindspore/experimental/optim/asgd.py +15 -25
  65. mindspore/experimental/optim/lr_scheduler.py +27 -45
  66. mindspore/experimental/optim/nadam.py +14 -24
  67. mindspore/experimental/optim/optimizer.py +13 -23
  68. mindspore/experimental/optim/radam.py +18 -24
  69. mindspore/experimental/optim/rmsprop.py +14 -25
  70. mindspore/experimental/optim/rprop.py +15 -26
  71. mindspore/experimental/optim/sgd.py +9 -19
  72. mindspore/hal/__init__.py +4 -4
  73. mindspore/hal/contiguous_tensors_handle.py +2 -2
  74. mindspore/hal/memory.py +1 -0
  75. mindspore/include/api/cell.h +37 -1
  76. mindspore/include/api/delegate.h +10 -0
  77. mindspore/include/api/model.h +3 -0
  78. mindspore/include/api/types.h +2 -2
  79. mindspore/include/c_api/model_c.h +0 -58
  80. mindspore/include/c_api/tensor_c.h +0 -26
  81. mindspore/include/dataset/vision_ascend.h +1 -1
  82. mindspore/include/mindapi/base/type_id.h +3 -0
  83. mindspore/include/mindapi/base/types.h +7 -0
  84. mindspore/include/mindspore/ccsrc/availability/silent_check/silent_check.h +3 -4
  85. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/adapter/graph_kernel_cluster_cloud.h +1 -0
  86. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/adapter/graph_kernel_comm_info_manager.h +1 -1
  87. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/eliminate_redundant_output.h +1 -0
  88. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/graph_kernel_utils.h +15 -0
  89. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/core/update_state_formatter.h +2 -1
  90. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/depend_edge_elimination.h +61 -0
  91. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/graph_kernel_flags.h +9 -0
  92. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/model/lite_graph.h +1 -1
  93. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/model/node.h +5 -6
  94. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_reuse.h +1 -2
  95. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_reuse_checker.h +0 -1
  96. mindspore/include/mindspore/ccsrc/backend/common/mem_reuse/mem_swap_manager.h +0 -1
  97. mindspore/include/mindspore/ccsrc/backend/common/optimizer/cache_manager.h +1 -1
  98. mindspore/include/mindspore/ccsrc/backend/common/optimizer/dynamic_shape/convert_custom_op.h +2 -2
  99. mindspore/include/mindspore/ccsrc/backend/common/optimizer/dynamic_shape/link_custom_op.h +1 -1
  100. mindspore/include/mindspore/ccsrc/backend/common/pass/add_attr_to_node/add_attr_to_node_register.h +1 -3
  101. mindspore/include/mindspore/ccsrc/backend/common/pass/adjust_depend_for_parallel_optimizer_recompute_all_gather.h +1 -1
  102. mindspore/include/mindspore/ccsrc/backend/common/pass/convert_list_to_tuple.h +2 -1
  103. mindspore/include/mindspore/ccsrc/backend/common/pass/custom_defined_depend.h +1 -3
  104. mindspore/include/mindspore/ccsrc/backend/common/pass/gradients_allreduce_depend_last_send.h +1 -2
  105. mindspore/include/mindspore/ccsrc/backend/common/pass/graph_view_replace_pass.h +1 -1
  106. mindspore/include/mindspore/ccsrc/backend/common/pass/insert_tensor_move_for_communication.h +2 -1
  107. mindspore/include/mindspore/ccsrc/{plugin/device/ascend/optimizer → backend/common/pass}/ir_fusion/flash_attention_fusion.h +7 -8
  108. mindspore/include/mindspore/ccsrc/backend/common/pass/label_1f1b_overlap_node.h +1 -1
  109. mindspore/include/mindspore/ccsrc/backend/common/pass/mindir/add_depend_for_adamw.h +1 -3
  110. mindspore/include/mindspore/ccsrc/backend/common/pass/optimize_gradients_allreduce_overlap.h +1 -1
  111. mindspore/include/mindspore/ccsrc/backend/common/pass/replace_node_by_proxy.h +1 -0
  112. mindspore/include/mindspore/ccsrc/backend/common/session/exec_order_builder.h +0 -2
  113. mindspore/include/mindspore/ccsrc/backend/common/session/session_basic.h +13 -16
  114. mindspore/include/mindspore/ccsrc/backend/common/somas/somas.h +1 -1
  115. mindspore/include/mindspore/ccsrc/backend/common/somas/somas_node.h +8 -2
  116. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_device_res_manager.h +1 -2
  117. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_graph_executor.h +13 -14
  118. mindspore/include/mindspore/ccsrc/backend/ge_backend/executor/ge_utils.h +0 -2
  119. mindspore/include/mindspore/ccsrc/backend/ge_backend/ge_backend.h +10 -8
  120. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/convert.h +2 -1
  121. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/graph_runner.h +2 -1
  122. mindspore/include/mindspore/ccsrc/backend/ge_backend/graph_ir/utils.h +12 -14
  123. mindspore/include/mindspore/ccsrc/backend/ge_backend/pass/matmul_allreduce_fusion.h +51 -0
  124. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/abstract_actor.h +26 -19
  125. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_common.h +14 -5
  126. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_dump.h +2 -1
  127. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/actor_set.h +1 -1
  128. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/control_actor.h +38 -38
  129. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/entrance_actor.h +9 -9
  130. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/exit_actor.h +8 -8
  131. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/gather_actor.h +6 -6
  132. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/stack_actor.h +11 -11
  133. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/control_flow/switch_actor.h +2 -2
  134. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/data_prepare_actor.h +16 -16
  135. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/data_source_actor.h +9 -9
  136. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/debug_actor.h +8 -8
  137. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/debug_aware_actor.h +2 -2
  138. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/loop_count_actor.h +6 -6
  139. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/memory_aware_actor.h +6 -6
  140. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/memory_manager_actor.h +8 -11
  141. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/output_actor.h +8 -5
  142. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/profiler_actor.h +2 -2
  143. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/recorder_actor.h +2 -2
  144. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/actor/super_kernel_actor.h +17 -17
  145. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/device_tensor_store.h +24 -24
  146. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/graph_compiler.h +6 -8
  147. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/graph_partition.h +49 -0
  148. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/scheduler_helper.h +1 -1
  149. mindspore/include/mindspore/ccsrc/backend/ge_backend/runtime/segment_runner.h +50 -0
  150. mindspore/include/mindspore/ccsrc/backend/ge_backend/utils/device_address_utils.h +4 -7
  151. mindspore/include/mindspore/ccsrc/backend/graph_compiler/op_backend.h +13 -11
  152. mindspore/include/mindspore/ccsrc/backend/graph_compiler/transform.h +2 -8
  153. mindspore/include/mindspore/ccsrc/backend/graph_compiler/vm.h +1 -5
  154. mindspore/include/mindspore/ccsrc/backend/ms_backend/ms_backend.h +0 -39
  155. mindspore/include/mindspore/ccsrc/backend/ms_backend/ms_backend_base.h +7 -4
  156. mindspore/include/mindspore/ccsrc/debug/checksum/checksum.h +35 -0
  157. mindspore/include/mindspore/ccsrc/debug/checksum/checksum_kernel.h +63 -0
  158. mindspore/include/mindspore/ccsrc/debug/checksum/checksum_mgr.h +50 -0
  159. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/check_overflow.h +1 -11
  160. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/common.h +0 -13
  161. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/kernel_launcher.h +3 -3
  162. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/mean.h +1 -1
  163. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/mem_manager.h +65 -0
  164. mindspore/include/mindspore/ccsrc/debug/data_dump/device_statistic/statistic_kernel.h +7 -8
  165. mindspore/include/mindspore/ccsrc/debug/data_dump/tensor_info_collect.h +21 -6
  166. mindspore/include/mindspore/ccsrc/debug/data_dump/tensor_statistic.h +2 -2
  167. mindspore/include/mindspore/ccsrc/debug/debug_services.h +1 -4
  168. mindspore/include/mindspore/ccsrc/debug/debugger/debugger_utils.h +7 -8
  169. mindspore/include/mindspore/ccsrc/debug/debugger/tensor_summary.h +0 -52
  170. mindspore/include/mindspore/ccsrc/debug/dump/tensordump_control.h +6 -2
  171. mindspore/include/mindspore/ccsrc/debug/{hooker/deprecated_env.h → dump/utils.h} +12 -9
  172. mindspore/include/mindspore/ccsrc/debug/profiler/mstx/mstx_impl.h +37 -24
  173. mindspore/include/mindspore/ccsrc/debug/profiler/mstx/mstx_symbol.h +63 -0
  174. mindspore/include/mindspore/ccsrc/debug/profiler/profiler.h +37 -15
  175. mindspore/include/mindspore/ccsrc/debug/profiler/profiling.h +9 -6
  176. mindspore/include/mindspore/ccsrc/debug/profiler/profiling_framework_data.h +2 -0
  177. mindspore/include/mindspore/ccsrc/debug/profiler/python_obj_pointer.h +7 -7
  178. mindspore/include/mindspore/ccsrc/debug/profiler/report_data.h +23 -0
  179. mindspore/include/mindspore/ccsrc/debug/profiler/thread.h +2 -2
  180. mindspore/include/mindspore/ccsrc/debug/utils.h +0 -5
  181. mindspore/include/mindspore/ccsrc/distributed/cluster/actor_route_table_proxy.h +1 -1
  182. mindspore/include/mindspore/ccsrc/distributed/cluster/actor_route_table_service.h +0 -2
  183. mindspore/include/mindspore/ccsrc/distributed/cluster/topology/meta_server_node.h +5 -5
  184. mindspore/include/mindspore/ccsrc/distributed/persistent/storage/local_file.h +0 -1
  185. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/connection.h +0 -1
  186. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/socket_operation.h +0 -1
  187. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/tcp_comm.h +0 -1
  188. mindspore/include/mindspore/ccsrc/distributed/rpc/tcp/tcp_socket_operation.h +0 -1
  189. mindspore/include/mindspore/ccsrc/frontend/ir/primitive_py.h +1 -1
  190. mindspore/include/mindspore/ccsrc/frontend/ir/py_execute_py.h +11 -28
  191. mindspore/include/mindspore/ccsrc/frontend/ir/storage.h +44 -0
  192. mindspore/include/mindspore/ccsrc/frontend/ir/storage_base.h +45 -0
  193. mindspore/include/mindspore/ccsrc/frontend/ir/tensor_py.h +10 -21
  194. mindspore/include/mindspore/ccsrc/frontend/operator/composite/composite.h +73 -3
  195. mindspore/include/mindspore/ccsrc/frontend/operator/composite/functional_overload.h +46 -0
  196. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/common/meta_impl.h +104 -22
  197. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/common/utils.h +38 -61
  198. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/any.h +27 -0
  199. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/any_ext.h +27 -0
  200. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/conv3d_padding.h +41 -0
  201. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/einsum_ext.h +47 -0
  202. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/func_max_pool2d.h +28 -0
  203. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/inplace_exponential.h +7 -4
  204. mindspore/include/mindspore/ccsrc/frontend/operator/meta_dsl/func_op/moe_token_unpermute.h +28 -0
  205. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/adjoint.h +16 -2
  206. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/dfunctor.h +18 -10
  207. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/grad.h +4 -2
  208. mindspore/include/mindspore/ccsrc/frontend/optimizer/ad/pynative_jit_grad.h +6 -1
  209. mindspore/include/mindspore/ccsrc/frontend/optimizer/auto_monad_eliminate.h +3 -13
  210. mindspore/include/mindspore/ccsrc/frontend/optimizer/cse_pass.h +3 -7
  211. mindspore/include/mindspore/ccsrc/frontend/optimizer/graph_transform.h +2 -1
  212. mindspore/include/mindspore/ccsrc/frontend/optimizer/inplace_input_replace.h +30 -0
  213. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/add_forward_monad_depend.h +47 -37
  214. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/branch_culling.h +7 -104
  215. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/call_graph_tuple_transform.h +2 -1
  216. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/check_invalid_view_inplace_dout.h +46 -0
  217. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/expand_dump_flag.h +1 -0
  218. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/get_grad_eliminate.h +5 -1
  219. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/inline.h +1 -0
  220. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/item_dict_eliminate.h +3 -1
  221. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/item_tuple_or_list_eliminate.h +1 -17
  222. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/j_node_and_user_rematch.h +1 -1
  223. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/loop_unroll.h +1 -0
  224. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/parameter_eliminate.h +1 -0
  225. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/partial_eliminate.h +1 -0
  226. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/recompute_prepare.h +1 -0
  227. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/special_op_eliminate.h +7 -1
  228. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/stack_unstack_eliminate.h +4 -1
  229. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/stopgrad_eliminate.h +3 -1
  230. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass/switch_or_switch_layer_defer_inline.h +10 -4
  231. mindspore/include/mindspore/ccsrc/frontend/optimizer/irpass.h +7 -7
  232. mindspore/include/mindspore/ccsrc/frontend/optimizer/opt.h +10 -5
  233. mindspore/include/mindspore/ccsrc/frontend/optimizer/optimizer.h +55 -280
  234. mindspore/include/mindspore/ccsrc/frontend/optimizer/pattern_matcher.h +8 -2
  235. mindspore/include/mindspore/ccsrc/frontend/parallel/auto_parallel/operator_costmodel.h +4 -0
  236. mindspore/include/mindspore/ccsrc/frontend/parallel/costmodel_context.h +1 -1
  237. mindspore/include/mindspore/ccsrc/frontend/parallel/dynamic_creator.h +1 -1
  238. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/graph_splitter.h +2 -0
  239. mindspore/include/mindspore/ccsrc/frontend/parallel/graph_util/parallel_tensordump.h +48 -13
  240. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/activation_info.h +0 -11
  241. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/arithmetic_info.h +44 -0
  242. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/flash_attention_score_info.h +19 -19
  243. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/fused_infer_attention_score_info.h +14 -14
  244. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/matmul_info.h +9 -0
  245. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/operator_info.h +2 -0
  246. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/ops_utils.h +4 -0
  247. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.h +9 -4
  248. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/{decoder_k_v_cache_info.h → topprouter_info.h} +12 -15
  249. mindspore/include/mindspore/ccsrc/frontend/parallel/parallel_preprocessor.h +1 -1
  250. mindspore/include/mindspore/ccsrc/frontend/parallel/parameter_manager.h +0 -1
  251. mindspore/include/mindspore/ccsrc/frontend/parallel/pass/merge_recompute_call_nodes.h +28 -0
  252. mindspore/include/mindspore/ccsrc/{pynative/grad/jit/jit_dfunctor.h → frontend/parallel/pass/overlap_recompute_comm.h} +8 -8
  253. mindspore/include/mindspore/ccsrc/frontend/parallel/pipeline_transformer/pipeline_interleave.h +2 -1
  254. mindspore/include/mindspore/ccsrc/frontend/parallel/tensor_layout/tensor_transform.h +1 -1
  255. mindspore/include/mindspore/ccsrc/include/backend/anf_runtime_algorithm.h +29 -13
  256. mindspore/include/mindspore/ccsrc/include/backend/data_queue/data_queue_mgr.h +1 -1
  257. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_control.h +1 -0
  258. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_json_parser.h +4 -5
  259. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/dump_utils.h +1 -0
  260. mindspore/include/mindspore/ccsrc/include/backend/debug/debugger/debugger.h +0 -2
  261. mindspore/include/mindspore/ccsrc/include/backend/debug/execute_order_tracker/execute_order_tracker.h +14 -4
  262. mindspore/include/mindspore/ccsrc/include/backend/debug/tensor_data.h +0 -19
  263. mindspore/include/mindspore/ccsrc/include/backend/distributed/cluster/tcp_store.h +53 -0
  264. mindspore/include/mindspore/ccsrc/include/backend/distributed/collective/collective_manager.h +17 -8
  265. mindspore/include/mindspore/ccsrc/include/backend/distributed/constants.h +1 -10
  266. mindspore/include/mindspore/ccsrc/include/backend/distributed/embedding_cache/embedding_hash_map.h +0 -2
  267. mindspore/include/mindspore/ccsrc/include/backend/distributed/ps/ps_context.h +0 -6
  268. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/tcp/constants.h +2 -1
  269. mindspore/include/mindspore/ccsrc/include/backend/kernel_graph.h +0 -1
  270. mindspore/include/mindspore/ccsrc/include/backend/kernel_info.h +8 -10
  271. mindspore/include/mindspore/ccsrc/include/backend/mbuf_device_address.h +5 -5
  272. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/abstract_dynamic_mem_pool.h +6 -5
  273. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/address_discretizer.h +63 -0
  274. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/dynamic_mem_pool.h +8 -0
  275. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/max_segment_tree.h +181 -0
  276. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_dynamic_allocator.h +0 -1
  277. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_pool_util.h +98 -0
  278. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/mem_tracker.h +11 -107
  279. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/race_checker.h +64 -0
  280. mindspore/include/mindspore/ccsrc/include/backend/mem_reuse/tracker_graph.h +91 -0
  281. mindspore/include/mindspore/ccsrc/include/backend/optimizer/inplace_node_pass.h +1 -9
  282. mindspore/include/mindspore/ccsrc/include/backend/optimizer/optimizer.h +3 -6
  283. mindspore/include/mindspore/ccsrc/include/backend/optimizer/pattern_engine.h +0 -2
  284. mindspore/include/mindspore/ccsrc/include/backend/optimizer/visitor.h +2 -0
  285. mindspore/include/mindspore/ccsrc/include/backend/py_execute_utils.h +2 -1
  286. mindspore/include/mindspore/ccsrc/include/common/debug/draw.h +3 -1
  287. mindspore/include/mindspore/ccsrc/include/common/debug/dump_proto.h +2 -10
  288. mindspore/include/mindspore/ccsrc/include/common/expander/core/node.h +1 -1
  289. mindspore/include/mindspore/ccsrc/include/common/np_dtype/np_dtypes.h +6 -15
  290. mindspore/include/mindspore/ccsrc/include/common/pybind_api/api_register.h +6 -1
  291. mindspore/include/mindspore/ccsrc/include/common/pynative/abstract_converter.h +0 -4
  292. mindspore/include/mindspore/ccsrc/include/common/pynative/adapter.h +2 -5
  293. mindspore/include/mindspore/ccsrc/include/common/pynative/common_utils.h +5 -1
  294. mindspore/include/mindspore/ccsrc/include/common/pynative/grad_state.h +12 -0
  295. mindspore/include/mindspore/ccsrc/include/common/pynative/variable.h +326 -0
  296. mindspore/include/mindspore/ccsrc/include/common/runtime_conf/runtime_conf.h +7 -8
  297. mindspore/include/mindspore/ccsrc/include/common/runtime_conf/thread_bind_core.h +12 -10
  298. mindspore/include/mindspore/ccsrc/include/common/utils/anfalgo.h +7 -2
  299. mindspore/include/mindspore/ccsrc/include/common/utils/comm_manager.h +0 -1
  300. mindspore/include/mindspore/ccsrc/include/common/utils/compile_cache_context.h +4 -2
  301. mindspore/include/mindspore/ccsrc/include/common/utils/convert_utils.h +18 -4
  302. mindspore/include/mindspore/ccsrc/include/common/utils/convert_utils_py.h +2 -10
  303. mindspore/include/mindspore/ccsrc/include/common/utils/cse.h +0 -1
  304. mindspore/include/mindspore/ccsrc/include/common/utils/json_operation_utils.h +1 -1
  305. mindspore/include/mindspore/ccsrc/include/common/utils/ms_device_shape_transfer.h +0 -1
  306. mindspore/include/mindspore/ccsrc/include/common/utils/parallel_context.h +8 -2
  307. mindspore/include/mindspore/ccsrc/include/common/utils/python_adapter.h +3 -3
  308. mindspore/include/mindspore/ccsrc/include/common/utils/stub_tensor.h +1 -3
  309. mindspore/include/mindspore/ccsrc/include/common/utils/summary/event_writer.h +1 -1
  310. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_py.h +24 -117
  311. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_py_wrapper.h +1 -7
  312. mindspore/include/mindspore/ccsrc/include/common/utils/tensor_utils.h +3 -3
  313. mindspore/include/mindspore/ccsrc/include/common/utils/utils.h +6 -8
  314. mindspore/include/mindspore/ccsrc/include/common/visible.h +0 -10
  315. mindspore/include/mindspore/ccsrc/kernel/graph_kernel_info.h +1 -1
  316. mindspore/include/mindspore/ccsrc/kernel/philox_random.h +47 -87
  317. mindspore/include/mindspore/ccsrc/minddata/dataset/api/python/python_mp.h +8 -0
  318. mindspore/include/mindspore/ccsrc/minddata/dataset/core/cv_tensor.h +1 -1
  319. mindspore/include/mindspore/ccsrc/minddata/dataset/core/tensor.h +26 -2
  320. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/connector.h +7 -0
  321. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/map_op.h +3 -0
  322. mindspore/include/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mindrecord_op.h +0 -1
  323. mindspore/include/mindspore/ccsrc/minddata/dataset/include/dataset/vision_ascend.h +1 -1
  324. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/data/parse_example_op.h +19 -15
  325. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/AclLiteType.h +6 -1
  326. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/AclLiteUtils.h +6 -1
  327. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/DvppCommon.h +1 -1
  328. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/ErrorCode.h +2 -2
  329. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/ThreadSafeQueue.h +3 -1
  330. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/VdecHelper.h +9 -12
  331. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/utils/dvpp_video.h +29 -10
  332. mindspore/include/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/image_process.h +1 -1
  333. mindspore/include/mindspore/ccsrc/minddata/dataset/util/btree.h +1 -1
  334. mindspore/include/mindspore/ccsrc/minddata/dataset/util/cond_var.h +0 -1
  335. mindspore/include/mindspore/ccsrc/minddata/dataset/util/json_helper.h +1 -1
  336. mindspore/include/mindspore/ccsrc/minddata/dataset/util/queue.h +1 -1
  337. mindspore/include/mindspore/ccsrc/minddata/dataset/util/sig_handler.h +2 -2
  338. mindspore/include/mindspore/ccsrc/minddata/dataset/util/system_pool.h +1 -1
  339. mindspore/include/mindspore/ccsrc/minddata/dataset/util/task_manager.h +0 -1
  340. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_distributed_sample.h +0 -1
  341. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_header.h +0 -1
  342. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_index.h +0 -1
  343. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_pk_sample.h +0 -1
  344. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_reader.h +0 -1
  345. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_schema.h +0 -1
  346. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_statistics.h +0 -1
  347. mindspore/include/mindspore/ccsrc/minddata/mindrecord/include/shard_writer.h +0 -1
  348. mindspore/include/mindspore/ccsrc/minddata/utils.h +30 -2
  349. mindspore/include/mindspore/{ops/ops_utils/ms_extension.h → ccsrc/ms_extension/all.h} +12 -5
  350. mindspore/include/mindspore/ccsrc/ms_extension/api.h +32 -0
  351. mindspore/include/mindspore/ccsrc/ms_extension/ascend/atb/atb_common.h +98 -0
  352. mindspore/include/mindspore/ccsrc/ms_extension/ascend/atb/operation_cache.h +229 -0
  353. mindspore/include/mindspore/ccsrc/ms_extension/common/tensor.h +200 -0
  354. mindspore/include/mindspore/ccsrc/ms_extension/common/visible.h +28 -0
  355. mindspore/include/mindspore/ccsrc/ms_extension/pynative/pyboost_extension.h +312 -0
  356. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/capture_context.h +1 -1
  357. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/eval_frame_hook.h +2 -2
  358. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_build/build_graph_utils.h +5 -1
  359. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_build/func_graph_builder.h +22 -5
  360. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/abstract_object.h +92 -19
  361. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/cfg.h +19 -5
  362. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/code_generator.h +53 -49
  363. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph.h +40 -10
  364. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_analyzer.h +3 -19
  365. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_arguments_optimizer.h +145 -0
  366. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/graph_build.h +13 -24
  367. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/node.h +33 -3
  368. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_capture/side_effect.h +116 -27
  369. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/abstract_type.h +2 -2
  370. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/compiler.h +4 -0
  371. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_compiler/utils.h +2 -0
  372. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/cache.h +32 -8
  373. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/guard.h +11 -15
  374. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/guard_utils.h +17 -8
  375. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/infer.h +0 -2
  376. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/shape_ctx.h +3 -3
  377. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/graph_guard/trace.h +50 -93
  378. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/jit_compile_results.h +1 -16
  379. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/pi_jit_config.h +11 -22
  380. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/py_code.h +56 -5
  381. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/py_frame.h +6 -7
  382. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/python_adapter/pydef.h +0 -6
  383. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/runtime.h +1 -1
  384. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/opcode_util.h +5 -0
  385. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/stop_trace_reason.h +26 -17
  386. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/utils.h +15 -11
  387. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/action.h +2 -4
  388. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/executor_py.h +116 -0
  389. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/executor/graph_executor_py.h +118 -0
  390. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/{pipeline_jit.h → executor/jit_executor_py.h} +6 -6
  391. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/graph_circle_handler.h +35 -0
  392. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/data_converter.h +6 -0
  393. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/function_block.h +1 -0
  394. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/parse.h +10 -0
  395. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/parse_base.h +1 -6
  396. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/parse/resolve.h +1 -0
  397. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pass.h +3 -1
  398. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pass_config.h +4 -0
  399. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/pipeline.h +12 -170
  400. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/resource.h +1 -16
  401. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/auto_monad.h +1 -1
  402. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/builtin_prim.h +3 -3
  403. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/evaluator.h +12 -12
  404. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/order_enforce.h +1 -1
  405. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/prim.h +12 -76
  406. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/static_analysis/prim_utils.h +78 -0
  407. mindspore/include/mindspore/ccsrc/pipeline/jit/ps/validator.h +3 -0
  408. mindspore/include/mindspore/ccsrc/pipeline/jit/trace/trace_recorder.h +19 -4
  409. mindspore/include/mindspore/ccsrc/pipeline/llm_boost/llm_boost_binder.h +1 -1
  410. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_kernel_runtime.h +0 -1
  411. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/kernel_select_ascend.h +1 -2
  412. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/acl_stream_assign.h +2 -2
  413. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_deprecated_interface.h +0 -1
  414. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/{ge_device_context.h → ascend_device_context.h} +10 -19
  415. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ascend_device_res_manager.h +12 -10
  416. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_graph_optimization.h +0 -1
  417. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_kernel_executor.h +4 -1
  418. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/hardware/stress_detect.h +40 -0
  419. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/ascend_profiling.h +32 -7
  420. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/feature_mgr.h +1 -1
  421. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/profiler/mstx/mstx_dispatcher.h +10 -8
  422. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/add_atb_kernel.h +2 -1
  423. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/atb_adapter.h +12 -0
  424. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/atb_kernel_mod.h +3 -1
  425. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/inplace_grouped_matmul_add_atb_kernel.h +2 -1
  426. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/atb/inplace_matmul_add_atb_kernel.h +39 -0
  427. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm_comm_info.h +1 -0
  428. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/dvm_kernel_mod.h +1 -1
  429. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/lazy_fusion_kernel.h +15 -16
  430. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/dvm/lazy_fusion_op.h +118 -93
  431. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_all_gather_v.h +51 -0
  432. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_receive.h +3 -1
  433. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_reduce_scatter_v.h +51 -0
  434. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/hcom_util.h +26 -11
  435. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  436. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  437. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  438. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  439. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  440. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  441. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  442. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  443. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_gather.h +1 -1
  444. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  445. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  446. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_isend.h +1 -1
  447. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  448. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  449. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  450. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  451. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  452. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  453. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  454. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  455. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  456. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_isend.h +1 -1
  457. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  458. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/comm_common.h +4 -4
  459. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather.h +1 -1
  460. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_gather_into_tensor.h +2 -2
  461. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_reduce.h +1 -1
  462. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_to_all_v.h +1 -1
  463. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_all_to_all_v_single.h +2 -2
  464. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_broadcast.h +1 -1
  465. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_gather.h +1 -1
  466. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_gather_into_tensor.h +2 -2
  467. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_irecv.h +1 -1
  468. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_isend.h +1 -1
  469. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce.h +1 -1
  470. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter.h +1 -1
  471. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_reduce_scatter_tensor.h +2 -2
  472. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_scatter.h +1 -1
  473. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/dist_comm_scatter_tensor.h +2 -2
  474. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_gather.h +1 -1
  475. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_reduce.h +1 -1
  476. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_all_to_all_v.h +1 -1
  477. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_isend.h +1 -1
  478. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/hccl/pyboost/inner_comm_reduce_scatter.h +1 -1
  479. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/internal_tiling_cache.h +3 -3
  480. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/apply_rotary_pos_emb.h +46 -0
  481. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/auto_gen/internal_kernel_info_adapter.h +82 -0
  482. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/auto_gen/kernel_info_adapter.h +69 -0
  483. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/flash_attention_score.h +54 -0
  484. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/internal_kernel_info.h +162 -0
  485. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/internal_pyboost_utils.h +121 -0
  486. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/paged_attention.h +91 -0
  487. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/internal/pyboost/reshape_and_cache.h +43 -0
  488. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/rts/reshape_ext.h +5 -0
  489. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/atb_speed/base/event_manager.h +0 -2
  490. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/atb_speed/utils/ModelTaskExecutor.h +0 -1
  491. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/expander_fallback.h +33 -0
  492. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion/matmul_assignadd_fusion.h +61 -0
  493. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion_infer/moe_init_routing_dyn_quantv2_fusion.h +66 -0
  494. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_common.h +1 -1
  495. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/device/cpu_kernel_runtime.h +2 -1
  496. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_device_context.h +16 -11
  497. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/cpu_somas.h +1 -1
  498. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/mpi_collective_comm_lib.h +3 -1
  499. mindspore/include/mindspore/ccsrc/plugin/device/cpu/hal/hardware/ms_collective_comm_lib.h +3 -1
  500. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/cpu_kernel.h +2 -2
  501. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/custom_kernel_input_info.h +99 -0
  502. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/{custom_julia_cpu_kernel.h → custom_op_plugin_kernel.h} +23 -11
  503. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_device_context.h +13 -10
  504. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/gpu_somas.h +1 -1
  505. mindspore/include/mindspore/ccsrc/plugin/device/gpu/hal/hardware/nvidia_collective_comm_lib.h +3 -1
  506. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_device_address/ascend_device_address.h +27 -16
  507. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_res_manager.h +15 -10
  508. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ascend_collective_comm_lib.h +6 -5
  509. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ascend_communication_group.h +27 -12
  510. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ccool_collective_comm_lib.h +4 -5
  511. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/ccool_communication_group.h +4 -4
  512. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dummy_ascend_collective_comm_lib.h +3 -5
  513. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dvm_collective_comm_lib.h +5 -5
  514. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/dvm_communication_group.h +1 -1
  515. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/hccl_watch_dog_thread.h +5 -3
  516. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/leaper_trans.h +2 -5
  517. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/lowlatency_collective_comm_lib.h +4 -5
  518. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/multi_ascend_collective_comm_lib.h +6 -6
  519. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/collective/multi_ascend_communication_group.h +4 -2
  520. mindspore/include/mindspore/ccsrc/plugin/{device/ascend/kernel → res_manager/ascend}/dvm/dvm.h +15 -1
  521. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hal_manager/ascend_hal_manager.h +1 -0
  522. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hccl_adapter/hccl_adapter.h +31 -1
  523. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/hccl_adapter/plugin/hccl_plugin.h +8 -0
  524. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mbuf_manager/mbuf_receive_manager.h +6 -1
  525. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_memory_pool.h +6 -0
  526. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/mem_manager/ascend_vmm_adapter.h +1 -1
  527. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/custom_op_proto/cust_array_ops.h +11 -0
  528. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/custom_op_proto/cust_other_ops.h +0 -22
  529. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_base.h +38 -33
  530. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_map.h +3 -2
  531. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_adapter_util.h +3 -0
  532. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/array_ops_declare.h +3 -0
  533. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/op_declare/transform_fusion_ops_declare.h +0 -6
  534. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/op_adapter/transform_util.h +1 -1
  535. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/acl_rt_symbol.h +6 -0
  536. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/symbol_interface/symbol_utils.h +11 -4
  537. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_device_address/cpu_device_address.h +17 -12
  538. mindspore/include/mindspore/ccsrc/plugin/{device/cpu/hal/device → res_manager/cpu/cpu_mem_manager}/cpu_hash_table.h +2 -1
  539. mindspore/include/mindspore/ccsrc/plugin/{device/cpu/hal/device → res_manager/cpu/cpu_mem_manager}/cpu_hash_table_util.h +1 -1
  540. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_memory_manager.h +4 -10
  541. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_mem_manager/cpu_memory_pool.h +3 -1
  542. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_res_manager.h +8 -15
  543. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/visible.h +32 -0
  544. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/device/gpu_device_address.h +19 -11
  545. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/gpu_res_manager.h +8 -8
  546. mindspore/include/mindspore/ccsrc/ps/core/communicator/http_request_handler.h +0 -1
  547. mindspore/include/mindspore/ccsrc/ps/core/file_configuration.h +2 -2
  548. mindspore/include/mindspore/ccsrc/ps/core/node.h +1 -1
  549. mindspore/include/mindspore/ccsrc/pybind_api/hal/event_py.h +2 -2
  550. mindspore/include/mindspore/ccsrc/pybind_api/hal/memory_py.h +2 -0
  551. mindspore/include/mindspore/ccsrc/pybind_api/hal/stream_py.h +3 -4
  552. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_api/auto_generate/tensor_api.h +135 -132
  553. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_index_py.h +10 -107
  554. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_register/auto_generate/tensor_py_gen.h +135 -133
  555. mindspore/include/mindspore/ccsrc/pybind_api/ir/tensor_register/tensor_func_reg.h +0 -1
  556. mindspore/include/mindspore/ccsrc/pybind_api/resource/manager.h +2 -2
  557. mindspore/include/mindspore/ccsrc/pybind_api/storage_py.h +36 -0
  558. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/abs.h +1 -1
  559. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/acos_ext.h +1 -1
  560. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/acosh_ext.h +1 -1
  561. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adamw.h +1 -1
  562. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  563. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool2d_ext.h +1 -1
  564. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  565. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool3d_ext.h +1 -1
  566. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  567. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  568. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  569. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add.h +1 -1
  570. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_ext.h +1 -1
  571. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  572. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_layernorm_v2.h +1 -1
  573. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_rms_norm.h +1 -1
  574. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  575. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/add_scalar.h +1 -1
  576. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addbmm.h +1 -1
  577. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addcdiv_ext.h +1 -1
  578. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addcmul_ext.h +1 -1
  579. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addmm.h +1 -1
  580. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/addmv.h +1 -1
  581. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/all_finite.h +1 -1
  582. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/all_gather_matmul.h +1 -1
  583. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/any.h +44 -0
  584. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/any_ext.h +44 -0
  585. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/apply_rotary_pos_emb.h +44 -0
  586. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/arange.h +1 -1
  587. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmax_ext.h +1 -1
  588. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmax_with_value.h +1 -1
  589. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmin_ext.h +1 -1
  590. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argmin_with_value.h +1 -1
  591. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/argsort.h +1 -1
  592. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/as_strided.h +1 -1
  593. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/asin_ext.h +1 -1
  594. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/asinh_ext.h +1 -1
  595. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atan2_ext.h +1 -1
  596. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atan_ext.h +1 -1
  597. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/atanh.h +1 -1
  598. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool1d.h +1 -1
  599. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool2d.h +1 -1
  600. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  601. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  602. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  603. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/baddbmm.h +1 -1
  604. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_mat_mul.h +1 -1
  605. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  606. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  607. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_ext.h +1 -1
  608. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  609. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_grad_ext.h +1 -1
  610. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  611. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/batch_norm_stats.h +1 -1
  612. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bernoulli_ext.h +1 -1
  613. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  614. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  615. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  616. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  617. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bincount_ext.h +1 -1
  618. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  619. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  620. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_not.h +1 -1
  621. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  622. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  623. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  624. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  625. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/bmm_ext.h +1 -1
  626. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/broadcast_to.h +1 -1
  627. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/broadcast_to_view.h +1 -1
  628. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cast.h +1 -1
  629. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ceil.h +1 -1
  630. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/chunk.h +1 -1
  631. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/chunk_view.h +1 -1
  632. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clamp_scalar.h +1 -1
  633. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clamp_tensor.h +1 -1
  634. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/clone.h +1 -1
  635. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/col2im_ext.h +1 -1
  636. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/col2im_grad.h +1 -1
  637. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/concat.h +1 -1
  638. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/constant_pad_nd.h +1 -1
  639. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/contiguous.h +1 -1
  640. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv1d_ext.h +1 -1
  641. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv1d_padding.h +1 -1
  642. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv2d_ext.h +1 -1
  643. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv2d_padding.h +1 -1
  644. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv3d_ext.h +1 -1
  645. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv3d_padding.h +1 -1
  646. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/conv_transpose2d.h +1 -1
  647. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution.h +1 -1
  648. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_grad.h +1 -1
  649. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_str.h +1 -1
  650. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/convolution_str_grad.h +1 -1
  651. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/copy.h +1 -1
  652. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cos.h +1 -1
  653. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cosh.h +1 -1
  654. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/count_nonzero.h +1 -1
  655. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cross.h +1 -1
  656. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cummax.h +1 -1
  657. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cummin_ext.h +1 -1
  658. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/cumsum_ext.h +1 -1
  659. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/custom_ext.h +1 -1
  660. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dense.h +1 -1
  661. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/diag_ext.h +1 -1
  662. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/diagonal_view.h +44 -0
  663. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  664. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  665. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  666. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  667. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  668. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  669. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  670. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  671. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_gather.h +1 -1
  672. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  673. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  674. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_isend.h +1 -1
  675. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  676. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  677. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  678. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  679. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  680. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/div.h +1 -1
  681. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divmod.h +1 -1
  682. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divmods.h +1 -1
  683. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/divs.h +1 -1
  684. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dot.h +1 -1
  685. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_do_mask_ext.h +1 -1
  686. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_ext.h +1 -1
  687. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_gen_mask_ext.h +1 -1
  688. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dropout_grad_ext.h +1 -1
  689. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  690. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/einsum_ext.h +44 -0
  691. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu.h +1 -1
  692. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu_ext.h +1 -1
  693. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/elu_grad_ext.h +1 -1
  694. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/embedding.h +1 -1
  695. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  696. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/empty.h +44 -0
  697. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/empty_like.h +44 -0
  698. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/equal.h +1 -1
  699. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/equal_ext.h +1 -1
  700. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erf.h +1 -1
  701. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erfc.h +1 -1
  702. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/erfinv.h +1 -1
  703. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/exp.h +1 -1
  704. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/exp2.h +1 -1
  705. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_as.h +1 -1
  706. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_dims.h +1 -1
  707. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expand_dims_view.h +1 -1
  708. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/expm1.h +1 -1
  709. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/eye.h +1 -1
  710. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ffn_ext.h +1 -1
  711. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fill_scalar.h +1 -1
  712. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fill_tensor.h +1 -1
  713. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flash_attention_score.h +1 -1
  714. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flash_attention_score_grad.h +1 -1
  715. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/flatten_ext.h +1 -1
  716. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor.h +1 -1
  717. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor_div.h +1 -1
  718. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/floor_div_scalar.h +1 -1
  719. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fmod_scalar.h +1 -1
  720. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fmod_tensor.h +1 -1
  721. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/frac.h +1 -1
  722. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/full_like.h +1 -1
  723. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/func_max_pool2d.h +44 -0
  724. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  725. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gather_d.h +1 -1
  726. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  727. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gcd.h +1 -1
  728. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu.h +1 -1
  729. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_ext.h +1 -1
  730. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_grad.h +1 -1
  731. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  732. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/generator.h +1 -1
  733. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/glu.h +1 -1
  734. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/glu_grad.h +1 -1
  735. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm.h +1 -1
  736. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_backward.h +1 -1
  737. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_backward_fusion.h +1 -1
  738. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2.h +1 -1
  739. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2_backward.h +1 -1
  740. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/gmm_v2_backward_fusion.h +1 -1
  741. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater.h +1 -1
  742. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater_equal.h +1 -1
  743. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  744. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  745. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  746. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  747. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  748. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/group_norm.h +1 -1
  749. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/group_norm_grad.h +1 -1
  750. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul.h +1 -1
  751. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  752. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  753. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hardtanh.h +1 -1
  754. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hardtanh_grad.h +1 -1
  755. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/histc_ext.h +1 -1
  756. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hshrink.h +1 -1
  757. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hshrink_grad.h +1 -1
  758. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hsigmoid.h +1 -1
  759. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  760. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hswish.h +1 -1
  761. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/hswish_grad.h +1 -1
  762. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/identity.h +1 -1
  763. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/im2col_ext.h +1 -1
  764. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/incre_flash_attention.h +1 -1
  765. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index.h +1 -1
  766. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_add_ext.h +1 -1
  767. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_fill_scalar.h +1 -1
  768. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_fill_tensor.h +1 -1
  769. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/index_select.h +1 -1
  770. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  771. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  772. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  773. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  774. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_isend.h +1 -1
  775. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  776. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_index.h +1 -1
  777. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  778. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_moe_token_unpermute.h +44 -0
  779. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inner_non_zero.h +1 -1
  780. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_add_ext.h +1 -1
  781. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_addmm.h +1 -1
  782. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_adds_ext.h +1 -1
  783. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  784. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  785. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_copy.h +1 -1
  786. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_div.h +1 -1
  787. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divmod.h +1 -1
  788. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divmods.h +1 -1
  789. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_divs.h +1 -1
  790. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_elu.h +1 -1
  791. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_erfinv.h +1 -1
  792. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_exp.h +1 -1
  793. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_exponential.h +1 -1
  794. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  795. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  796. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  797. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor.h +1 -1
  798. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  799. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  800. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  801. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  802. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_index_add.h +1 -1
  803. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_index_put.h +1 -1
  804. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_log.h +1 -1
  805. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  806. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  807. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_matmul_add.h +44 -0
  808. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_mul.h +1 -1
  809. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_muls.h +1 -1
  810. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_normal.h +1 -1
  811. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_put.h +1 -1
  812. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_random.h +1 -1
  813. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_relu.h +1 -1
  814. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  815. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  816. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  817. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  818. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  819. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_silu.h +44 -0
  820. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_stop_gradient.h +1 -1
  821. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_sub_ext.h +1 -1
  822. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  823. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_tanh.h +1 -1
  824. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_threshold.h +1 -1
  825. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_uniform.h +1 -1
  826. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/inplace_zero.h +1 -1
  827. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isclose.h +1 -1
  828. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isfinite.h +1 -1
  829. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isinf.h +1 -1
  830. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/isneginf.h +1 -1
  831. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kl_div.h +1 -1
  832. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kl_div_grad.h +1 -1
  833. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kthvalue.h +1 -1
  834. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  835. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/l1_loss_backward_ext.h +1 -1
  836. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/l1_loss_ext.h +1 -1
  837. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/layer_norm_ext.h +1 -1
  838. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/layer_norm_grad_ext.h +1 -1
  839. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  840. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  841. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lerp.h +1 -1
  842. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lerp_scalar.h +1 -1
  843. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/less.h +1 -1
  844. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/less_equal.h +1 -1
  845. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/lin_space_ext.h +1 -1
  846. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/linalg_qr.h +1 -1
  847. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  848. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log.h +1 -1
  849. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log10.h +1 -1
  850. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log1p.h +1 -1
  851. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log2.h +1 -1
  852. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax.h +1 -1
  853. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax_ext.h +1 -1
  854. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/log_softmax_grad.h +1 -1
  855. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logaddexp.h +1 -1
  856. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logaddexp2.h +1 -1
  857. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_and.h +1 -1
  858. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_not.h +1 -1
  859. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_or.h +1 -1
  860. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logical_xor.h +1 -1
  861. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsigmoid.h +1 -1
  862. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  863. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/logsumexp.h +1 -1
  864. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_fill.h +1 -1
  865. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_select.h +1 -1
  866. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/masked_select_grad.h +1 -1
  867. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul.h +1 -1
  868. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  869. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_ext.h +1 -1
  870. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matmul_reduce_scatter.h +1 -1
  871. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/matrix_inverse_ext.h +1 -1
  872. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max.h +1 -1
  873. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_dim.h +1 -1
  874. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_grad_with_indices.h +1 -1
  875. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_grad_with_mask.h +1 -1
  876. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_with_indices.h +1 -1
  877. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_pool_with_mask.h +1 -1
  878. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/max_unpool2d_ext.h +1 -1
  879. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/maximum.h +1 -1
  880. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mean_ext.h +1 -1
  881. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/median_dim.h +1 -1
  882. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/median_ext.h +1 -1
  883. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/meshgrid.h +1 -1
  884. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/min.h +1 -1
  885. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/min_dim.h +1 -1
  886. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/minimum.h +1 -1
  887. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mish_ext.h +1 -1
  888. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mish_grad_ext.h +1 -1
  889. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mm_ext.h +1 -1
  890. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  891. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_distribute_combine.h +44 -0
  892. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_distribute_dispatch.h +44 -0
  893. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  894. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  895. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing.h +1 -1
  896. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing_quant_v2.h +44 -0
  897. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  898. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_permute.h +1 -1
  899. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  900. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  901. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  902. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mse_loss_ext.h +1 -1
  903. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mse_loss_grad_ext.h +1 -1
  904. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mul.h +1 -1
  905. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/muls.h +1 -1
  906. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  907. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  908. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/multinomial_ext.h +1 -1
  909. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/mv.h +1 -1
  910. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nan_to_num.h +1 -1
  911. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nansum.h +1 -1
  912. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/narrow.h +1 -1
  913. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/narrow_view.h +1 -1
  914. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ne_scalar.h +1 -1
  915. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/neg.h +1 -1
  916. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_empty.h +44 -0
  917. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_full.h +44 -0
  918. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_ones.h +1 -1
  919. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/new_zeros.h +1 -1
  920. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss.h +1 -1
  921. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_2d.h +1 -1
  922. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  923. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/nllloss_grad.h +1 -1
  924. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/non_zero.h +1 -1
  925. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/non_zero_ext.h +1 -1
  926. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/norm.h +1 -1
  927. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_float_float.h +1 -1
  928. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_float_tensor.h +1 -1
  929. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_tensor_float.h +1 -1
  930. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  931. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/not_equal.h +1 -1
  932. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/one_hot_ext.h +1 -1
  933. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ones.h +1 -1
  934. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/ones_like_ext.h +1 -1
  935. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/outer.h +1 -1
  936. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/paged_attention.h +44 -0
  937. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pixel_shuffle.h +1 -1
  938. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/polar.h +1 -1
  939. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow.h +1 -1
  940. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  941. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  942. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prelu.h +1 -1
  943. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prelu_grad.h +1 -1
  944. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prod_ext.h +1 -1
  945. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/prompt_flash_attention.h +1 -1
  946. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  947. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_matmul.h +44 -0
  948. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/quant_v2.h +1 -1
  949. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rand_ext.h +1 -1
  950. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rand_like_ext.h +1 -1
  951. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randint.h +1 -1
  952. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randint_like.h +1 -1
  953. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randn.h +1 -1
  954. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randn_like.h +1 -1
  955. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/randperm_ext.h +1 -1
  956. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reciprocal.h +1 -1
  957. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_all.h +1 -1
  958. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_any.h +1 -1
  959. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_max.h +1 -1
  960. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reduce_min.h +1 -1
  961. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  962. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  963. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  964. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  965. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  966. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  967. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/relu.h +1 -1
  968. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/relu_grad.h +1 -1
  969. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_scalar_tensor.h +1 -1
  970. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_tensor_scalar.h +1 -1
  971. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/remainder_tensor_tensor.h +1 -1
  972. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat.h +1 -1
  973. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_grad.h +1 -1
  974. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_int.h +1 -1
  975. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/repeat_interleave_tensor.h +1 -1
  976. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_1d.h +1 -1
  977. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  978. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_2d.h +1 -1
  979. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  980. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_3d.h +1 -1
  981. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  982. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reshape.h +1 -1
  983. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reshape_and_cache.h +44 -0
  984. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/reverse_v2.h +1 -1
  985. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rms_norm.h +1 -1
  986. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rms_norm_grad.h +1 -1
  987. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/roll.h +1 -1
  988. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  989. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  990. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/round.h +1 -1
  991. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/rsqrt.h +1 -1
  992. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter.h +1 -1
  993. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter_add_ext.h +1 -1
  994. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/scatter_value.h +1 -1
  995. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/searchsorted.h +1 -1
  996. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select.h +1 -1
  997. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select_ext_view.h +1 -1
  998. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/select_v2.h +1 -1
  999. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/selu_ext.h +1 -1
  1000. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/selu_grad.h +1 -1
  1001. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sigmoid.h +1 -1
  1002. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sigmoid_grad.h +1 -1
  1003. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sign.h +1 -1
  1004. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silent_check_v2.h +1 -1
  1005. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silent_check_v3.h +1 -1
  1006. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silu.h +1 -1
  1007. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/silu_grad.h +1 -1
  1008. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sin.h +1 -1
  1009. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sinc.h +1 -1
  1010. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sinh.h +1 -1
  1011. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice.h +1 -1
  1012. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice_ext.h +1 -1
  1013. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/slice_ext_view.h +1 -1
  1014. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  1015. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  1016. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/soft_margin_loss.h +1 -1
  1017. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  1018. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softmax.h +1 -1
  1019. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softmax_backward.h +1 -1
  1020. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softplus_ext.h +1 -1
  1021. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  1022. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softshrink.h +1 -1
  1023. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/softshrink_grad.h +1 -1
  1024. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sort_ext.h +1 -1
  1025. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  1026. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  1027. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split.h +1 -1
  1028. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_tensor.h +1 -1
  1029. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_tensor_view.h +1 -1
  1030. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_with_size.h +1 -1
  1031. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/split_with_size_view.h +1 -1
  1032. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sqrt.h +1 -1
  1033. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/square.h +1 -1
  1034. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/squeeze.h +1 -1
  1035. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/stack_ext.h +1 -1
  1036. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/std.h +1 -1
  1037. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/std_mean.h +1 -1
  1038. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub.h +1 -1
  1039. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub_ext.h +1 -1
  1040. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sub_scalar.h +1 -1
  1041. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/sum_ext.h +1 -1
  1042. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/swiglu.h +1 -1
  1043. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/swiglu_grad.h +1 -1
  1044. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/t_ext.h +1 -1
  1045. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/take.h +1 -1
  1046. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tan.h +1 -1
  1047. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tanh.h +1 -1
  1048. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tanh_grad.h +1 -1
  1049. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  1050. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/threshold.h +1 -1
  1051. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/threshold_grad.h +1 -1
  1052. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tile.h +1 -1
  1053. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/topk_ext.h +1 -1
  1054. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/trace_ext.h +1 -1
  1055. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose.h +1 -1
  1056. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose_ext_view.h +1 -1
  1057. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/transpose_view.h +1 -1
  1058. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/triangular_solve.h +1 -1
  1059. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/tril_ext.h +1 -1
  1060. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/triu.h +1 -1
  1061. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/trunc.h +1 -1
  1062. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/type_as.h +1 -1
  1063. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/uniform_ext.h +1 -1
  1064. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique2.h +1 -1
  1065. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique_consecutive.h +1 -1
  1066. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unique_dim.h +1 -1
  1067. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/unstack_ext_view.h +1 -1
  1068. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  1069. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  1070. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  1071. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  1072. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_linear1d.h +1 -1
  1073. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  1074. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  1075. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  1076. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  1077. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  1078. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  1079. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  1080. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  1081. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  1082. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/var.h +1 -1
  1083. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/var_mean.h +1 -1
  1084. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/view.h +1 -1
  1085. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/view_as.h +1 -1
  1086. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  1087. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy.h +1 -1
  1088. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  1089. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  1090. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/zeros.h +1 -1
  1091. mindspore/include/mindspore/ccsrc/pyboost/auto_generate/zeros_like_ext.h +1 -1
  1092. mindspore/include/mindspore/ccsrc/pyboost/comm_handle.h +6 -2
  1093. mindspore/include/mindspore/ccsrc/pyboost/customize/any.h +39 -0
  1094. mindspore/include/mindspore/ccsrc/pyboost/customize/divmod.h +3 -3
  1095. mindspore/include/mindspore/ccsrc/pyboost/customize/einsum_ext.h +38 -0
  1096. mindspore/include/mindspore/ccsrc/pyboost/customize/identity.h +2 -2
  1097. mindspore/include/mindspore/ccsrc/pyboost/customize/meshgrid.h +7 -4
  1098. mindspore/include/mindspore/ccsrc/pyboost/customize/op_common.h +12 -15
  1099. mindspore/include/mindspore/ccsrc/pyboost/customize/pixel_shuffle.h +2 -3
  1100. mindspore/include/mindspore/ccsrc/pyboost/customize/reshape.h +4 -3
  1101. mindspore/include/mindspore/ccsrc/pyboost/customize/searchsorted.h +4 -5
  1102. mindspore/include/mindspore/ccsrc/pyboost/functions/auto_generate/auto_grad_op_reg.h +1547 -1421
  1103. mindspore/include/mindspore/ccsrc/pyboost/functions/auto_generate/functions.h +563 -494
  1104. mindspore/include/mindspore/ccsrc/pyboost/grad_functions/pyboost_grad_functions.h +3 -0
  1105. mindspore/include/mindspore/ccsrc/pyboost/grad_functions/value_converter.h +30 -4
  1106. mindspore/include/mindspore/ccsrc/pyboost/op_register.h +52 -0
  1107. mindspore/include/mindspore/ccsrc/pyboost/op_runner.h +45 -19
  1108. mindspore/include/mindspore/ccsrc/pyboost/pyboost_utils.h +106 -62
  1109. mindspore/include/mindspore/ccsrc/pynative/base.h +22 -24
  1110. mindspore/include/mindspore/ccsrc/pynative/forward/do_pyboost_cast.h +70 -67
  1111. mindspore/include/mindspore/ccsrc/pynative/forward/forward.h +14 -12
  1112. mindspore/include/mindspore/ccsrc/pynative/forward/forward_task.h +34 -2
  1113. mindspore/include/mindspore/ccsrc/pynative/grad/custom_function.h +14 -7
  1114. mindspore/include/mindspore/ccsrc/pynative/grad/function/auto_generate/pyboost_native_grad_functions.h +483 -464
  1115. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_builder.h +2 -2
  1116. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_grad.h +280 -96
  1117. mindspore/include/mindspore/ccsrc/pynative/grad/function/func_pass.h +0 -1
  1118. mindspore/include/mindspore/ccsrc/pynative/grad/function.h +28 -23
  1119. mindspore/include/mindspore/ccsrc/pynative/grad/function_py.h +19 -11
  1120. mindspore/include/mindspore/ccsrc/pynative/grad/grad.h +30 -97
  1121. mindspore/include/mindspore/ccsrc/pynative/grad/grad_utils.h +39 -23
  1122. mindspore/include/mindspore/ccsrc/pynative/grad/hook_py.h +20 -21
  1123. mindspore/include/mindspore/ccsrc/pynative/grad/jit/jit_grad.h +2 -26
  1124. mindspore/include/mindspore/ccsrc/pynative/grad/top_cell.h +8 -150
  1125. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_api.h +552 -0
  1126. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_core.h +552 -0
  1127. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/tensor_func_utils.h +482 -492
  1128. mindspore/include/mindspore/ccsrc/pynative/op_function/comm_handle_py.h +2 -0
  1129. mindspore/include/mindspore/ccsrc/pynative/op_function/converter.h +11 -0
  1130. mindspore/include/mindspore/ccsrc/pynative/op_function/customize/direct_ops.h +2 -12
  1131. mindspore/include/mindspore/ccsrc/pynative/predict_out_type_map.h +3 -0
  1132. mindspore/include/mindspore/ccsrc/pynative/pynative_execute.h +4 -2
  1133. mindspore/include/mindspore/ccsrc/pynative/pynative_utils.h +39 -42
  1134. mindspore/include/mindspore/ccsrc/runtime/collective/collective_communication_lib.h +20 -1
  1135. mindspore/include/mindspore/ccsrc/runtime/collective/communication_group.h +5 -0
  1136. mindspore/include/mindspore/ccsrc/runtime/collective/dummy_collective_communication_lib.h +2 -1
  1137. mindspore/include/mindspore/ccsrc/runtime/device/device_address_utils.h +55 -50
  1138. mindspore/include/mindspore/ccsrc/runtime/device/kernel_runtime.h +2 -2
  1139. mindspore/include/mindspore/ccsrc/runtime/device/move_to.h +4 -1
  1140. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/auto_mem_offload.h +0 -1
  1141. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/hal_res_base.h +13 -11
  1142. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/hal_res_manager.h +7 -3
  1143. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/loadable_device_address.h +1 -1
  1144. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/memory_manager.h +0 -1
  1145. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/swap_manager.h +2 -2
  1146. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/tensor_array.h +1 -1
  1147. mindspore/include/mindspore/ccsrc/runtime/device/res_manager/utils/utils.h +0 -1
  1148. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/abstract_actor.h +41 -32
  1149. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_common.h +21 -20
  1150. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_dump.h +4 -3
  1151. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/actor_set.h +0 -4
  1152. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/any_type_kernel_actor.h +7 -61
  1153. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/{condition_gather_actor.h → condition_gather_runner.h} +17 -21
  1154. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/{condition_switch_actor.h → condition_switch_runner.h} +19 -21
  1155. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/control_actor.h +37 -41
  1156. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/entrance_actor.h +11 -11
  1157. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/exit_actor.h +8 -9
  1158. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/gather_actor.h +6 -7
  1159. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/stack_actor.h +11 -11
  1160. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/control_flow/switch_actor.h +2 -2
  1161. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/copy_actor.h +12 -14
  1162. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/data_prepare_actor.h +21 -20
  1163. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/data_source_actor.h +10 -58
  1164. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/debug_actor.h +11 -10
  1165. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/debug_aware_actor.h +2 -2
  1166. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/fusion/fusion_actor.h +2 -2
  1167. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_actor.h +79 -86
  1168. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_infer_actor.h +3 -1
  1169. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_launch_actor.h +11 -1
  1170. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_async_resize_actor.h +3 -1
  1171. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_infer_actor.h +4 -4
  1172. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_resize_actor.h +4 -4
  1173. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/kernel_runner.h +400 -0
  1174. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/loop_count_actor.h +11 -11
  1175. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_alloc_actor.h +3 -3
  1176. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_free_actor.h +3 -3
  1177. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory/memory_swap_actor.h +4 -4
  1178. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory_aware_actor.h +7 -7
  1179. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/memory_manager_actor.h +18 -17
  1180. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/output_actor.h +11 -7
  1181. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/profiler_actor.h +2 -2
  1182. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/recorder_actor.h +2 -2
  1183. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/mux_send_actor.h +1 -1
  1184. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/recv_actor.h +6 -10
  1185. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/rpc_actor.h +2 -14
  1186. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/rpc/send_actor.h +4 -4
  1187. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/super_kernel_actor.h +57 -57
  1188. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/any_type_graph_scheduler.h +0 -33
  1189. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/control_node_scheduler.h +0 -2
  1190. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/device_tensor_copy_store.h +14 -14
  1191. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/device_tensor_store.h +28 -27
  1192. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/execution_order_check/comm_execution_order_check.h +17 -7
  1193. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/execution_order_check/kernel_cache.h +24 -4
  1194. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_compiler.h +3 -69
  1195. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_parameter_store.h +78 -142
  1196. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/graph_scheduler.h +3 -19
  1197. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/parameter_store.h +4 -0
  1198. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/pre_launch_comm.h +10 -2
  1199. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/rpc_node_scheduler.h +4 -13
  1200. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/scheduler_helper.h +12 -1
  1201. mindspore/include/mindspore/ccsrc/runtime/hardware/deprecated_interface.h +0 -2
  1202. mindspore/include/mindspore/ccsrc/runtime/hardware/device_context.h +19 -119
  1203. mindspore/include/mindspore/ccsrc/runtime/hardware/device_context_manager.h +1 -1
  1204. mindspore/include/mindspore/ccsrc/runtime/pipeline/async_rqueue.h +2 -2
  1205. mindspore/include/mindspore/ccsrc/runtime/pipeline/ring_queue.h +1 -1
  1206. mindspore/include/mindspore/ccsrc/runtime/pipeline/task/task.h +1 -1
  1207. mindspore/include/mindspore/ccsrc/runtime/pynative/ir_converter.h +8 -7
  1208. mindspore/include/mindspore/ccsrc/runtime/pynative/op_runner.h +6 -6
  1209. mindspore/include/mindspore/ccsrc/runtime/pynative/op_runtime_info.h +4 -4
  1210. mindspore/include/mindspore/ccsrc/utils/dlopen_macro.h +2 -2
  1211. mindspore/include/mindspore/core/include/abstract/abstract_function.h +54 -13
  1212. mindspore/include/mindspore/core/include/abstract/abstract_value.h +50 -13
  1213. mindspore/include/mindspore/core/include/abstract/ops/primitive_infer_map.h +1 -1
  1214. mindspore/include/mindspore/core/include/abstract/param_validator.h +3 -2
  1215. mindspore/include/mindspore/core/include/base/bfloat16.h +1 -1
  1216. mindspore/include/mindspore/core/include/base/{fp8_e4m3.h → float8_e4m3fn.h} +59 -58
  1217. mindspore/include/mindspore/core/include/base/{fp8_e5m2.h → float8_e5m2.h} +7 -7
  1218. mindspore/include/mindspore/core/include/base/hifloat8.h +35 -36
  1219. mindspore/include/mindspore/core/include/ir/anf.h +7 -4
  1220. mindspore/include/mindspore/core/include/ir/device_sync.h +17 -1
  1221. mindspore/include/mindspore/core/include/ir/dtype/number.h +47 -6
  1222. mindspore/include/mindspore/core/include/ir/dtype/op_dtype.h +48 -0
  1223. mindspore/include/mindspore/core/include/ir/dtype.h +4 -0
  1224. mindspore/include/mindspore/core/include/ir/func_graph.h +1 -0
  1225. mindspore/include/mindspore/core/include/ir/func_graph_cloner.h +2 -0
  1226. mindspore/include/mindspore/core/include/ir/meta_grad_data.h +4 -13
  1227. mindspore/include/mindspore/core/include/ir/primitive.h +20 -2
  1228. mindspore/include/mindspore/core/include/ir/scalar.h +2 -2
  1229. mindspore/include/mindspore/core/include/ir/scope.h +16 -3
  1230. mindspore/include/mindspore/core/include/ir/tensor.h +922 -41
  1231. mindspore/include/mindspore/core/include/ir/tensor_py_wrapperbase.h +11 -11
  1232. mindspore/include/mindspore/core/include/ir/tensor_storage_info.h +1 -0
  1233. mindspore/include/mindspore/core/include/load_mindir/infer_mindir.h +3 -2
  1234. mindspore/include/mindspore/core/include/mindapi/base/macros.h +3 -3
  1235. mindspore/include/mindspore/core/include/mindapi/base/type_id.h +3 -0
  1236. mindspore/include/mindspore/core/include/mindapi/base/types.h +7 -0
  1237. mindspore/include/mindspore/core/include/ops/op_def.h +2 -31
  1238. mindspore/include/mindspore/core/include/utils/callback_handler.h +1 -1
  1239. mindspore/include/mindspore/core/include/utils/compact_set.h +4 -0
  1240. mindspore/include/mindspore/core/include/utils/core_op_utils.h +1 -1
  1241. mindspore/include/mindspore/core/include/utils/device_manager_conf.h +4 -0
  1242. mindspore/include/mindspore/core/include/utils/info.h +7 -0
  1243. mindspore/include/mindspore/core/include/utils/log_adapter.h +9 -1
  1244. mindspore/include/mindspore/core/include/utils/ms_context.h +8 -10
  1245. mindspore/include/mindspore/core/include/utils/ms_exception.h +35 -4
  1246. mindspore/include/mindspore/core/include/utils/ms_utils.h +3 -8
  1247. mindspore/include/mindspore/core/include/utils/ms_utils_secure.h +1 -1
  1248. mindspore/include/mindspore/core/include/utils/phase.h +3 -0
  1249. mindspore/include/mindspore/core/include/utils/system/base.h +1 -1
  1250. mindspore/include/mindspore/core/mindrt/include/actor/op_actor.h +68 -0
  1251. mindspore/include/mindspore/core/mindrt/include/async/async.h +2 -2
  1252. mindspore/include/mindspore/core/mindrt/include/thread/hqueue.h +6 -6
  1253. mindspore/include/mindspore/core/mindrt/include/thread/threadpool.h +4 -2
  1254. mindspore/include/mindspore/ops/grad/grad_utils.h +21 -3
  1255. mindspore/include/mindspore/ops/infer/all_gather_v.h +39 -0
  1256. mindspore/include/mindspore/ops/infer/all_to_all.h +38 -0
  1257. mindspore/include/mindspore/ops/infer/ops_func_impl/acosh.h +2 -9
  1258. mindspore/include/mindspore/ops/infer/ops_func_impl/asinh.h +2 -9
  1259. mindspore/include/mindspore/ops/infer/ops_func_impl/atanh.h +4 -9
  1260. mindspore/include/mindspore/ops/infer/ops_func_impl/batch_norm_ext.h +6 -11
  1261. mindspore/include/mindspore/ops/infer/ops_func_impl/batch_norm_grad_ext.h +5 -4
  1262. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_and_scalar.h +4 -5
  1263. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_and_tensor.h +3 -5
  1264. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_or_scalar.h +3 -10
  1265. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_or_tensor.h +2 -10
  1266. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_xor_scalar.h +3 -10
  1267. mindspore/include/mindspore/ops/infer/ops_func_impl/bitwise_xor_tensor.h +2 -10
  1268. mindspore/include/mindspore/{ccsrc/plugin/device/ascend/kernel/ge/ge_kernel_build.h → ops/infer/ops_func_impl/diagonal_view.h} +13 -9
  1269. mindspore/include/mindspore/ops/infer/ops_func_impl/dump_gradient.h +33 -0
  1270. mindspore/include/mindspore/ops/infer/ops_func_impl/eltwise_op.h +4 -10
  1271. mindspore/include/mindspore/ops/infer/ops_func_impl/empty.h +7 -3
  1272. mindspore/include/mindspore/ops/infer/ops_func_impl/empty_like.h +7 -3
  1273. mindspore/include/mindspore/ops/infer/ops_func_impl/exp.h +3 -4
  1274. mindspore/include/mindspore/ops/infer/ops_func_impl/fused_add_topk_div.h +3 -0
  1275. mindspore/include/mindspore/ops/infer/ops_func_impl/grouped_matmul_base.h +1 -1
  1276. mindspore/include/mindspore/ops/infer/ops_func_impl/{moe_token_unpermute.h → inner_moe_token_unpermute.h} +4 -4
  1277. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_matmul_add.h +34 -0
  1278. mindspore/include/mindspore/ops/infer/ops_func_impl/inplace_silu.h +35 -0
  1279. mindspore/include/mindspore/ops/infer/ops_func_impl/masked_fill.h +4 -3
  1280. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_grad_with_indices.h +2 -8
  1281. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_grad_with_mask.h +4 -2
  1282. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_with_indices.h +6 -4
  1283. mindspore/include/mindspore/ops/infer/ops_func_impl/max_pool_with_mask.h +6 -4
  1284. mindspore/include/mindspore/ops/infer/ops_func_impl/{decoder_k_v_cache.h → moe_distribute_combine.h} +6 -12
  1285. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_distribute_dispatch.h +37 -0
  1286. mindspore/include/mindspore/ops/infer/ops_func_impl/moe_init_routing_quant_v2.h +39 -0
  1287. mindspore/include/mindspore/ops/infer/ops_func_impl/neg.h +1 -6
  1288. mindspore/include/mindspore/ops/infer/ops_func_impl/new_empty.h +7 -3
  1289. mindspore/include/mindspore/ops/infer/ops_func_impl/new_full.h +37 -0
  1290. mindspore/include/mindspore/ops/infer/ops_func_impl/ones_like.h +2 -6
  1291. mindspore/include/mindspore/ops/infer/ops_func_impl/ones_like_ext.h +1 -2
  1292. mindspore/include/mindspore/ops/infer/ops_func_impl/quant_matmul.h +32 -0
  1293. mindspore/include/mindspore/ops/infer/ops_func_impl/reciprocal.h +4 -9
  1294. mindspore/include/mindspore/ops/infer/ops_func_impl/reduce_any.h +4 -5
  1295. mindspore/include/mindspore/ops/infer/ops_func_impl/reduce_arithmetic.h +2 -1
  1296. mindspore/include/mindspore/ops/infer/ops_func_impl/remainder_tensor_scalar.h +4 -4
  1297. mindspore/include/mindspore/ops/infer/ops_func_impl/sigmoid.h +4 -5
  1298. mindspore/include/mindspore/ops/infer/ops_func_impl/square.h +2 -10
  1299. mindspore/include/mindspore/ops/infer/ops_func_impl/{prompt_k_v_cache.h → topprouter.h} +8 -12
  1300. mindspore/include/mindspore/ops/infer/ops_func_impl/zeros_like_ext.h +1 -2
  1301. mindspore/include/mindspore/ops/infer/reduce_scatter.h +3 -1
  1302. mindspore/include/mindspore/ops/infer/reduce_scatter_v.h +38 -0
  1303. mindspore/include/mindspore/ops/kernel/ascend/acl/acl_kernel_mod.h +3 -0
  1304. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/acl_adapter_info.h +1 -1
  1305. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_aclnn_utils.h +95 -0
  1306. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_op_api_cache.h +12 -5
  1307. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/custom/custom_op_api_exec.h +2 -0
  1308. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_cache.h +7 -7
  1309. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_convert.h +12 -61
  1310. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_exec.h +17 -10
  1311. mindspore/include/mindspore/ops/kernel/ascend/acl_ir/op_api_util.h +0 -1
  1312. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/common/kernel_base.h +1 -1
  1313. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/common/kernel_log.h +11 -11
  1314. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/format_transfer/formats_definitions.h +5 -1
  1315. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/format_transfer/register_format_transfer.h +5 -1
  1316. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/inc/ms_cpu_kernel.h +1 -1
  1317. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/concat.h +1 -1
  1318. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/dct.h +1 -1
  1319. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/dctn.h +1 -1
  1320. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fft_ortho.h +1 -1
  1321. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fft_shapecopy.h +1 -1
  1322. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftbase.h +1 -1
  1323. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftfreq.h +1 -1
  1324. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/fftnbase.h +1 -1
  1325. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/irfft_double.h +1 -1
  1326. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/nms_with_mask.h +0 -1
  1327. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/ragged_tensor_to_sparse.h +1 -1
  1328. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/random/philox_random_dist.h +1 -1
  1329. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/random/random_distributions.h +27 -25
  1330. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/topprouter.h +64 -0
  1331. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/fused_sparse_utils.h +1 -1
  1332. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/kernel_util.h +2 -2
  1333. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/philox_random.h +75 -138
  1334. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/range_sampler.h +7 -3
  1335. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sparse_group.h +18 -15
  1336. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/utils/sparse_tensor.h +18 -15
  1337. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_avg_pool_3d_grad_op.h +0 -11
  1338. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_avg_pool_3d_op.h +0 -11
  1339. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool3_d_grad_op.h +0 -14
  1340. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool3d_op.h +0 -18
  1341. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adaptive_max_pool_2d_grad_op.h +0 -14
  1342. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/adjust_contrastv2_op.h +0 -21
  1343. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/arg_max_op.h +0 -22
  1344. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/bartlett_window_op.h +0 -19
  1345. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/cauchy_op.h +0 -11
  1346. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/cholesky_solve_op.h +0 -23
  1347. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/coalesce_op.h +0 -24
  1348. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/csr_sparse_matrix_to_dense_op.h +0 -15
  1349. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/dense_to_csr_sparse_matrix_op.h +0 -16
  1350. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/eig_op.h +0 -17
  1351. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/exp.h +0 -18
  1352. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/fractional_max_pool_grad_with_fixed_ksize_op.h +0 -22
  1353. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/fractional_max_pool_with_fixed_ksize_op.h +0 -19
  1354. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/geqrf_op.h +0 -14
  1355. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/glu_grad_op.h +0 -17
  1356. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/glu_op.h +0 -20
  1357. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/hamming_window_op.h +0 -20
  1358. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/index_fill.h +0 -18
  1359. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/instance_norm_v2_grad.h +0 -28
  1360. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/layer_norm_grad_grad_op.h +0 -17
  1361. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/log_normal_reverse.h +0 -15
  1362. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/logspace.h +0 -23
  1363. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/lstsq_op.h +0 -15
  1364. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/matrix_logarithm.h +0 -13
  1365. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/matrix_power_op.h +0 -16
  1366. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/max_pool_3d_grad_with_argmax_op.h +0 -26
  1367. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/maximum_grad_grad.h +0 -19
  1368. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/median_grad_op.h +0 -19
  1369. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/median_op.h +0 -17
  1370. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/minimum_grad_grad.h +0 -19
  1371. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/multi_margin_loss_grad_op.h +0 -24
  1372. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/multi_margin_loss_op.h +0 -19
  1373. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/mvlgamma_grad_op.h +0 -17
  1374. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/mvlgamma_op.h +0 -15
  1375. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/pdist_grad_op.h +0 -21
  1376. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/segment_mean_op.h +0 -18
  1377. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/segment_min_op.h +0 -19
  1378. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_addmm.h +0 -16
  1379. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_adagrad_da.h +0 -38
  1380. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_centered_rms_prop.h +0 -47
  1381. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_momentum.h +0 -36
  1382. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_apply_proximal_gradient_descent.h +0 -29
  1383. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_matrix_transpose_op.h +0 -29
  1384. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_mean_with_num_segments_op.h +0 -19
  1385. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_grad_op.h +0 -21
  1386. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_op.h +0 -18
  1387. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_segment_sqrt_n_with_num_segments_op.h +0 -20
  1388. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sparse_tensor_to_csr_sparse_matrix_op.h +0 -18
  1389. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/sspaddmm_op.h +0 -22
  1390. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/inc/triplet_margin_loss_op.h +0 -22
  1391. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/axis_util.h +5 -1
  1392. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/reduce_infer_util.h +1 -2
  1393. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/customize/op_proto/utils/transfer_shape_according_to_format.h +5 -1
  1394. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/drop_out_gen_mask_kernels.h +2 -2
  1395. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/gather_grad_kernels.h +1 -1
  1396. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_util.h +2 -0
  1397. mindspore/include/mindspore/ops/kernel/ascend/availability/silent_check/ascend_silent_check.h +13 -14
  1398. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addbmm_aclnn_kernel.h +1 -1
  1399. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addmm_aclnn_kernel.h +1 -1
  1400. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/addmv_aclnn_kernel.h +1 -1
  1401. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/baddbmm_aclnn_kernel.h +1 -1
  1402. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/batch_norm_ext_aclnn_kernel.h +1 -0
  1403. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/batch_norm_grad_ext_aclnn_kernel.h +2 -1
  1404. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/bincount_ext_aclnn_kernel.h +2 -2
  1405. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/chunk_aclnn_kernel.h +2 -2
  1406. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv1d_padding_aclnn_kernel.h +1 -1
  1407. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv2d_padding_aclnn_kernel.h +1 -1
  1408. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/convolution_str_aclnn_kernel.h +1 -1
  1409. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/custom_aclnn_utils.h +1 -1
  1410. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/custom_v2_aclnn_kernel.h +26 -21
  1411. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/dense_aclnn_kernel.h +13 -6
  1412. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/dropout_ext_aclnn_kernel.h +3 -3
  1413. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/empty_aclnn_kernel.h +39 -0
  1414. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/empty_like_aclnn_kernel.h +39 -0
  1415. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/flash_attention_score_aclnn_kernel.h +1 -0
  1416. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/flash_attention_score_grad_aclnn_kernel.h +1 -0
  1417. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/gather_d_grad_v2_aclnn_kernel.h +1 -1
  1418. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/grid_sampler_2d_grad_aclnn_kernel.h +3 -3
  1419. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/grid_sampler_3d_grad_aclnn_kernel.h +3 -3
  1420. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_add_ext_aclnn_kernel.h +1 -1
  1421. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_fill_scalar_aclnn_kernel.h +1 -1
  1422. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/index_fill_tensor_aclnn_kernel.h +1 -1
  1423. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inner_inplace_index_put_aclnn_kernel.h +1 -0
  1424. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/{moe_token_unpermute_aclnn_kernel.h → inner_moe_token_unpermute_aclnn_kernel.h} +6 -6
  1425. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_clamp_scalar_aclnn_kernel.h +2 -0
  1426. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_index_add_aclnn_kernel.h +1 -1
  1427. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_normal_aclnn_kernel.h +2 -2
  1428. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_scatter_add_aclnn_kernel.h +45 -0
  1429. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_silu_aclnn_kernel.h +42 -0
  1430. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/inplace_uniform_aclnn_kernel.h +2 -2
  1431. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/isinf_aclnn_kernel.h +1 -1
  1432. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/linalg_vector_norm_aclnn_kernel.h +1 -1
  1433. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/matmul_all_reduce_aclnn_kernel.h +2 -2
  1434. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/matmul_reduce_scatter_aclnn_kernel.h +4 -4
  1435. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_distribute_combine_aclnn_kernel.h +56 -0
  1436. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_distribute_dispatch_aclnn_kernel.h +55 -0
  1437. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/moe_init_routing_quant_v2_aclnn_kernel.h +50 -0
  1438. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/mse_loss_ext_aclnn_kernel.h +1 -1
  1439. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/mse_loss_grad_ext_aclnn_kernel.h +1 -1
  1440. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/multinomial_ext_aclnn_kernel.h +1 -1
  1441. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/narrow_aclnn_kernel.h +3 -3
  1442. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/new_empty_aclnn_kernel.h +39 -0
  1443. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/new_full_aclnn_kernel.h +41 -0
  1444. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/norm_aclnn_kernel.h +1 -1
  1445. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/prod_ext_aclnn_kernel.h +1 -1
  1446. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/quant_batch_matmul_all_reduce_aclnn_kernel.h +2 -2
  1447. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/rand_ext_aclnn_kernel.h +2 -2
  1448. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randint_aclnn_kernel.h +4 -4
  1449. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randn_aclnn_kernel.h +2 -2
  1450. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/randperm_ext_aclnn_kernel.h +2 -2
  1451. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/repeat_interleave_grad_aclnn_kernel.h +1 -1
  1452. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/split_with_size_aclnn_kernel.h +1 -1
  1453. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique2_aclnn_kernel.h +3 -0
  1454. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique_consecutive_aclnn_kernel.h +2 -0
  1455. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/unique_dim_aclnn_kernel.h +3 -0
  1456. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/view/diagonal_view.h +42 -0
  1457. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/apply_rotary_pos_emb_aclnn_kernel.h +41 -0
  1458. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_auto_gen/paged_attention_aclnn_kernel.h +41 -0
  1459. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_kernel_mod.h +32 -11
  1460. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn_kernel_utils.h +3 -3
  1461. mindspore/include/mindspore/ops/kernel/ascend/pyboost/aclnn_utils.h +11 -4
  1462. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_runner.h +124 -0
  1463. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_runner_base.h +48 -0
  1464. mindspore/include/mindspore/ops/kernel/ascend/pyboost/atb_utils.h +63 -0
  1465. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/abs.h +1 -1
  1466. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/acos_ext.h +1 -1
  1467. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/acosh_ext.h +1 -1
  1468. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adamw.h +1 -1
  1469. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  1470. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool2d_ext.h +1 -1
  1471. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  1472. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool3d_ext.h +1 -1
  1473. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  1474. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  1475. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  1476. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add.h +1 -1
  1477. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_ext.h +1 -1
  1478. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  1479. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_layernorm_v2.h +1 -1
  1480. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_rms_norm.h +1 -1
  1481. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  1482. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/add_scalar.h +1 -1
  1483. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addbmm.h +1 -1
  1484. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addcdiv_ext.h +1 -1
  1485. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addcmul_ext.h +1 -1
  1486. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addmm.h +1 -1
  1487. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/addmv.h +1 -1
  1488. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/all_finite.h +1 -1
  1489. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/all_gather_matmul.h +1 -1
  1490. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/any.h +40 -0
  1491. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/any_ext.h +40 -0
  1492. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/apply_rotary_pos_emb.h +40 -0
  1493. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/arange.h +1 -1
  1494. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmax_ext.h +1 -1
  1495. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmax_with_value.h +1 -1
  1496. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmin_ext.h +1 -1
  1497. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argmin_with_value.h +1 -1
  1498. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/argsort.h +1 -1
  1499. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/as_strided.h +1 -1
  1500. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/asin_ext.h +1 -1
  1501. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/asinh_ext.h +1 -1
  1502. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atan2_ext.h +1 -1
  1503. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atan_ext.h +1 -1
  1504. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/atanh.h +1 -1
  1505. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool1d.h +1 -1
  1506. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool2d.h +1 -1
  1507. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  1508. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  1509. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  1510. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/baddbmm.h +1 -1
  1511. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_mat_mul.h +1 -1
  1512. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  1513. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  1514. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_ext.h +1 -1
  1515. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  1516. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_grad_ext.h +1 -1
  1517. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  1518. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/batch_norm_stats.h +1 -1
  1519. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bernoulli_ext.h +1 -1
  1520. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  1521. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  1522. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  1523. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  1524. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bincount_ext.h +1 -1
  1525. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  1526. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  1527. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_not.h +1 -1
  1528. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  1529. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  1530. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  1531. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  1532. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/bmm_ext.h +1 -1
  1533. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/broadcast_to.h +1 -1
  1534. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/broadcast_to_view.h +1 -1
  1535. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cast.h +1 -1
  1536. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ceil.h +1 -1
  1537. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/chunk.h +1 -1
  1538. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/chunk_view.h +1 -1
  1539. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clamp_scalar.h +1 -1
  1540. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clamp_tensor.h +1 -1
  1541. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/clone.h +1 -1
  1542. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/col2im_ext.h +1 -1
  1543. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/col2im_grad.h +1 -1
  1544. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/concat.h +1 -1
  1545. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/constant_pad_nd.h +1 -1
  1546. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/contiguous.h +1 -1
  1547. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv1d_ext.h +1 -1
  1548. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv1d_padding.h +1 -1
  1549. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv2d_ext.h +1 -1
  1550. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv2d_padding.h +1 -1
  1551. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv3d_ext.h +1 -1
  1552. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv3d_padding.h +1 -1
  1553. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/conv_transpose2d.h +1 -1
  1554. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution.h +1 -1
  1555. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_grad.h +1 -1
  1556. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_str.h +1 -1
  1557. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/convolution_str_grad.h +1 -1
  1558. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/copy.h +1 -1
  1559. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cos.h +1 -1
  1560. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cosh.h +1 -1
  1561. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/count_nonzero.h +1 -1
  1562. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cross.h +1 -1
  1563. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cummax.h +1 -1
  1564. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cummin_ext.h +1 -1
  1565. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/cumsum_ext.h +1 -1
  1566. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/custom_ext.h +1 -1
  1567. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dense.h +1 -1
  1568. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/diag_ext.h +1 -1
  1569. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/diagonal_view.h +40 -0
  1570. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/div.h +1 -1
  1571. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divmod.h +1 -1
  1572. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divmods.h +1 -1
  1573. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/divs.h +1 -1
  1574. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dot.h +1 -1
  1575. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_do_mask_ext.h +1 -1
  1576. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_ext.h +1 -1
  1577. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_gen_mask_ext.h +1 -1
  1578. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dropout_grad_ext.h +1 -1
  1579. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  1580. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/einsum_ext.h +40 -0
  1581. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu.h +1 -1
  1582. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu_ext.h +1 -1
  1583. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/elu_grad_ext.h +1 -1
  1584. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/embedding.h +1 -1
  1585. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  1586. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/empty.h +40 -0
  1587. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/empty_like.h +40 -0
  1588. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/equal.h +1 -1
  1589. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/equal_ext.h +1 -1
  1590. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erf.h +1 -1
  1591. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erfc.h +1 -1
  1592. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/erfinv.h +1 -1
  1593. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/exp.h +1 -1
  1594. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/exp2.h +1 -1
  1595. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_as.h +1 -1
  1596. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_dims.h +1 -1
  1597. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expand_dims_view.h +1 -1
  1598. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/expm1.h +1 -1
  1599. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/eye.h +1 -1
  1600. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ffn_ext.h +1 -1
  1601. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fill_scalar.h +1 -1
  1602. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fill_tensor.h +1 -1
  1603. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flash_attention_score.h +1 -1
  1604. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flash_attention_score_grad.h +1 -1
  1605. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/flatten_ext.h +1 -1
  1606. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor.h +1 -1
  1607. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor_div.h +1 -1
  1608. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/floor_div_scalar.h +1 -1
  1609. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fmod_scalar.h +1 -1
  1610. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fmod_tensor.h +1 -1
  1611. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/frac.h +1 -1
  1612. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/full_like.h +1 -1
  1613. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/func_max_pool2d.h +40 -0
  1614. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  1615. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gather_d.h +1 -1
  1616. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  1617. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gcd.h +1 -1
  1618. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu.h +1 -1
  1619. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_ext.h +1 -1
  1620. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_grad.h +1 -1
  1621. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  1622. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/generator.h +1 -1
  1623. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/glu.h +1 -1
  1624. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/glu_grad.h +1 -1
  1625. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm.h +1 -1
  1626. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_backward.h +1 -1
  1627. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_backward_fusion.h +1 -1
  1628. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2.h +1 -1
  1629. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2_backward.h +1 -1
  1630. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/gmm_v2_backward_fusion.h +1 -1
  1631. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater.h +1 -1
  1632. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater_equal.h +1 -1
  1633. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  1634. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  1635. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  1636. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  1637. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  1638. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/group_norm.h +1 -1
  1639. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/group_norm_grad.h +1 -1
  1640. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul.h +1 -1
  1641. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  1642. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  1643. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hardtanh.h +1 -1
  1644. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hardtanh_grad.h +1 -1
  1645. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/histc_ext.h +1 -1
  1646. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hshrink.h +1 -1
  1647. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hshrink_grad.h +1 -1
  1648. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hsigmoid.h +1 -1
  1649. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  1650. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hswish.h +1 -1
  1651. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/hswish_grad.h +1 -1
  1652. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/identity.h +1 -1
  1653. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/im2col_ext.h +1 -1
  1654. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/incre_flash_attention.h +1 -1
  1655. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index.h +1 -1
  1656. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_add_ext.h +1 -1
  1657. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_fill_scalar.h +1 -1
  1658. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_fill_tensor.h +1 -1
  1659. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/index_select.h +1 -1
  1660. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_index.h +1 -1
  1661. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  1662. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_moe_token_unpermute.h +40 -0
  1663. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inner_non_zero.h +1 -1
  1664. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_add_ext.h +1 -1
  1665. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_addmm.h +1 -1
  1666. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_adds_ext.h +1 -1
  1667. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  1668. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  1669. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_copy.h +1 -1
  1670. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_div.h +1 -1
  1671. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divmod.h +1 -1
  1672. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divmods.h +1 -1
  1673. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_divs.h +1 -1
  1674. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_elu.h +1 -1
  1675. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_erfinv.h +1 -1
  1676. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_exp.h +1 -1
  1677. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_exponential.h +1 -1
  1678. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  1679. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  1680. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  1681. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor.h +1 -1
  1682. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  1683. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  1684. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  1685. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  1686. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_index_add.h +1 -1
  1687. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_index_put.h +1 -1
  1688. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_log.h +1 -1
  1689. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  1690. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  1691. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_matmul_add.h +40 -0
  1692. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_mul.h +1 -1
  1693. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_muls.h +1 -1
  1694. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_normal.h +1 -1
  1695. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_put.h +1 -1
  1696. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_random.h +1 -1
  1697. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_relu.h +1 -1
  1698. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  1699. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  1700. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  1701. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  1702. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  1703. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_silu.h +40 -0
  1704. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_stop_gradient.h +1 -1
  1705. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_sub_ext.h +1 -1
  1706. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  1707. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_tanh.h +1 -1
  1708. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_threshold.h +1 -1
  1709. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_uniform.h +1 -1
  1710. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/inplace_zero.h +1 -1
  1711. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isclose.h +1 -1
  1712. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isfinite.h +1 -1
  1713. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isinf.h +1 -1
  1714. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/isneginf.h +1 -1
  1715. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kl_div.h +1 -1
  1716. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kl_div_grad.h +1 -1
  1717. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kthvalue.h +1 -1
  1718. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  1719. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/l1_loss_backward_ext.h +1 -1
  1720. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/l1_loss_ext.h +1 -1
  1721. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/layer_norm_ext.h +1 -1
  1722. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/layer_norm_grad_ext.h +1 -1
  1723. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  1724. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  1725. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lerp.h +1 -1
  1726. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lerp_scalar.h +1 -1
  1727. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/less.h +1 -1
  1728. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/less_equal.h +1 -1
  1729. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/lin_space_ext.h +1 -1
  1730. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/linalg_qr.h +1 -1
  1731. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  1732. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log.h +1 -1
  1733. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log10.h +1 -1
  1734. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log1p.h +1 -1
  1735. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log2.h +1 -1
  1736. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax.h +1 -1
  1737. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax_ext.h +1 -1
  1738. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/log_softmax_grad.h +1 -1
  1739. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logaddexp.h +1 -1
  1740. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logaddexp2.h +1 -1
  1741. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_and.h +1 -1
  1742. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_not.h +1 -1
  1743. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_or.h +1 -1
  1744. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logical_xor.h +1 -1
  1745. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsigmoid.h +1 -1
  1746. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  1747. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/logsumexp.h +1 -1
  1748. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_fill.h +1 -1
  1749. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_select.h +1 -1
  1750. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/masked_select_grad.h +1 -1
  1751. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul.h +1 -1
  1752. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  1753. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_ext.h +1 -1
  1754. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matmul_reduce_scatter.h +1 -1
  1755. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/matrix_inverse_ext.h +1 -1
  1756. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max.h +1 -1
  1757. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_dim.h +1 -1
  1758. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_grad_with_indices.h +1 -1
  1759. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_grad_with_mask.h +1 -1
  1760. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_with_indices.h +1 -1
  1761. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_pool_with_mask.h +1 -1
  1762. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/max_unpool2d_ext.h +1 -1
  1763. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/maximum.h +1 -1
  1764. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mean_ext.h +1 -1
  1765. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/median_dim.h +1 -1
  1766. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/median_ext.h +1 -1
  1767. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/meshgrid.h +1 -1
  1768. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/min.h +1 -1
  1769. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/min_dim.h +1 -1
  1770. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/minimum.h +1 -1
  1771. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mish_ext.h +1 -1
  1772. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mish_grad_ext.h +1 -1
  1773. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mm_ext.h +1 -1
  1774. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  1775. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_distribute_combine.h +40 -0
  1776. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_distribute_dispatch.h +40 -0
  1777. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  1778. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  1779. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing.h +1 -1
  1780. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing_quant_v2.h +40 -0
  1781. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  1782. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_permute.h +1 -1
  1783. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  1784. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  1785. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  1786. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mse_loss_ext.h +1 -1
  1787. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mse_loss_grad_ext.h +1 -1
  1788. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mul.h +1 -1
  1789. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/muls.h +1 -1
  1790. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  1791. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  1792. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/multinomial_ext.h +1 -1
  1793. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/mv.h +1 -1
  1794. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nan_to_num.h +1 -1
  1795. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nansum.h +1 -1
  1796. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/narrow.h +1 -1
  1797. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/narrow_view.h +1 -1
  1798. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ne_scalar.h +1 -1
  1799. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/neg.h +1 -1
  1800. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_empty.h +40 -0
  1801. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_full.h +40 -0
  1802. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_ones.h +1 -1
  1803. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/new_zeros.h +1 -1
  1804. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss.h +1 -1
  1805. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_2d.h +1 -1
  1806. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  1807. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/nllloss_grad.h +1 -1
  1808. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/non_zero.h +1 -1
  1809. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/non_zero_ext.h +1 -1
  1810. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/norm.h +1 -1
  1811. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_float_float.h +1 -1
  1812. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_float_tensor.h +1 -1
  1813. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_tensor_float.h +1 -1
  1814. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  1815. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/not_equal.h +1 -1
  1816. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/one_hot_ext.h +1 -1
  1817. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ones.h +1 -1
  1818. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/ones_like_ext.h +1 -1
  1819. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/outer.h +1 -1
  1820. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/paged_attention.h +40 -0
  1821. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pixel_shuffle.h +1 -1
  1822. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/polar.h +1 -1
  1823. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow.h +1 -1
  1824. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  1825. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  1826. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prelu.h +1 -1
  1827. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prelu_grad.h +1 -1
  1828. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prod_ext.h +1 -1
  1829. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/prompt_flash_attention.h +1 -1
  1830. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  1831. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_matmul.h +40 -0
  1832. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/quant_v2.h +1 -1
  1833. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rand_ext.h +1 -1
  1834. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rand_like_ext.h +1 -1
  1835. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randint.h +1 -1
  1836. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randint_like.h +1 -1
  1837. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randn.h +1 -1
  1838. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randn_like.h +1 -1
  1839. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/randperm_ext.h +1 -1
  1840. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reciprocal.h +1 -1
  1841. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_all.h +1 -1
  1842. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_any.h +1 -1
  1843. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_max.h +1 -1
  1844. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reduce_min.h +1 -1
  1845. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  1846. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  1847. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  1848. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  1849. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  1850. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  1851. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/relu.h +1 -1
  1852. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/relu_grad.h +1 -1
  1853. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_scalar_tensor.h +1 -1
  1854. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_tensor_scalar.h +1 -1
  1855. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/remainder_tensor_tensor.h +1 -1
  1856. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat.h +1 -1
  1857. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_grad.h +1 -1
  1858. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_int.h +1 -1
  1859. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/repeat_interleave_tensor.h +1 -1
  1860. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_1d.h +1 -1
  1861. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  1862. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_2d.h +1 -1
  1863. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  1864. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_3d.h +1 -1
  1865. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  1866. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reshape.h +1 -1
  1867. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reshape_and_cache.h +40 -0
  1868. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/reverse_v2.h +1 -1
  1869. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rms_norm.h +1 -1
  1870. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rms_norm_grad.h +1 -1
  1871. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/roll.h +1 -1
  1872. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  1873. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  1874. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/round.h +1 -1
  1875. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/rsqrt.h +1 -1
  1876. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter.h +1 -1
  1877. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter_add_ext.h +1 -1
  1878. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/scatter_value.h +1 -1
  1879. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/searchsorted.h +1 -1
  1880. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select.h +1 -1
  1881. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select_ext_view.h +1 -1
  1882. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/select_v2.h +1 -1
  1883. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/selu_ext.h +1 -1
  1884. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/selu_grad.h +1 -1
  1885. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sigmoid.h +1 -1
  1886. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sigmoid_grad.h +1 -1
  1887. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sign.h +1 -1
  1888. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silent_check_v2.h +1 -1
  1889. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silent_check_v3.h +1 -1
  1890. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silu.h +1 -1
  1891. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/silu_grad.h +1 -1
  1892. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sin.h +1 -1
  1893. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sinc.h +1 -1
  1894. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sinh.h +1 -1
  1895. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice.h +1 -1
  1896. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice_ext.h +1 -1
  1897. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/slice_ext_view.h +1 -1
  1898. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  1899. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  1900. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/soft_margin_loss.h +1 -1
  1901. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  1902. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softmax.h +1 -1
  1903. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softmax_backward.h +1 -1
  1904. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softplus_ext.h +1 -1
  1905. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  1906. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softshrink.h +1 -1
  1907. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/softshrink_grad.h +1 -1
  1908. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sort_ext.h +1 -1
  1909. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  1910. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  1911. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split.h +1 -1
  1912. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_tensor.h +1 -1
  1913. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_tensor_view.h +1 -1
  1914. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_with_size.h +1 -1
  1915. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/split_with_size_view.h +1 -1
  1916. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sqrt.h +1 -1
  1917. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/square.h +1 -1
  1918. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/squeeze.h +1 -1
  1919. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/stack_ext.h +1 -1
  1920. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/std.h +1 -1
  1921. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/std_mean.h +1 -1
  1922. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub.h +1 -1
  1923. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub_ext.h +1 -1
  1924. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sub_scalar.h +1 -1
  1925. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/sum_ext.h +1 -1
  1926. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/swiglu.h +1 -1
  1927. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/swiglu_grad.h +1 -1
  1928. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/t_ext.h +1 -1
  1929. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/take.h +1 -1
  1930. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tan.h +1 -1
  1931. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tanh.h +1 -1
  1932. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tanh_grad.h +1 -1
  1933. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  1934. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/threshold.h +1 -1
  1935. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/threshold_grad.h +1 -1
  1936. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tile.h +1 -1
  1937. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/topk_ext.h +1 -1
  1938. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/trace_ext.h +1 -1
  1939. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose.h +1 -1
  1940. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose_ext_view.h +1 -1
  1941. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/transpose_view.h +1 -1
  1942. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/triangular_solve.h +1 -1
  1943. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/tril_ext.h +1 -1
  1944. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/triu.h +1 -1
  1945. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/trunc.h +1 -1
  1946. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/type_as.h +1 -1
  1947. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/uniform_ext.h +1 -1
  1948. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique2.h +1 -1
  1949. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique_consecutive.h +1 -1
  1950. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unique_dim.h +1 -1
  1951. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/unstack_ext_view.h +1 -1
  1952. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  1953. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  1954. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  1955. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  1956. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_linear1d.h +1 -1
  1957. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  1958. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  1959. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  1960. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  1961. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  1962. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  1963. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  1964. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  1965. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  1966. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/var.h +1 -1
  1967. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/var_mean.h +1 -1
  1968. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/view.h +1 -1
  1969. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/view_as.h +1 -1
  1970. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  1971. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy.h +1 -1
  1972. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  1973. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  1974. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/zeros.h +1 -1
  1975. mindspore/include/mindspore/ops/kernel/ascend/pyboost/auto_generate/zeros_like_ext.h +1 -1
  1976. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adamw.h +5 -5
  1977. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_avg_pool1d.h +2 -3
  1978. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_avg_pool3d_ext.h +2 -3
  1979. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_max_pool1d.h +3 -2
  1980. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/adaptive_max_pool2d.h +3 -2
  1981. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add.h +2 -2
  1982. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_layernorm_v2.h +3 -3
  1983. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_rms_norm.h +3 -3
  1984. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_rmsnorm_quant_v2.h +3 -3
  1985. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/add_scalar.h +2 -2
  1986. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addbmm.h +3 -3
  1987. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addmm.h +3 -3
  1988. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/addmv.h +3 -3
  1989. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/all_finite.h +2 -2
  1990. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/all_gather_matmul.h +3 -3
  1991. mindspore/include/mindspore/{ccsrc/plugin/device/ascend/hal/common/ascend_utils.h → ops/kernel/ascend/pyboost/customize/any.h} +12 -21
  1992. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/any_ext.h +35 -0
  1993. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/arange.h +3 -3
  1994. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmax_ext.h +2 -2
  1995. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmax_with_value.h +4 -3
  1996. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmin_ext.h +2 -2
  1997. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argmin_with_value.h +4 -3
  1998. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/argsort.h +3 -3
  1999. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool1d.h +4 -4
  2000. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool2d.h +5 -5
  2001. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool2d_grad.h +5 -5
  2002. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool3d_ext.h +6 -6
  2003. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/avg_pool3d_grad_ext.h +6 -6
  2004. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/baddbmm.h +3 -3
  2005. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_mat_mul.h +3 -3
  2006. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_elemt.h +5 -7
  2007. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_ext.h +6 -5
  2008. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_gather_stats_with_counts.h +5 -5
  2009. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_grad_ext.h +6 -6
  2010. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/batch_norm_stats.h +3 -2
  2011. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bernoulli_ext.h +2 -3
  2012. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy.h +4 -5
  2013. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_grad.h +5 -6
  2014. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_with_logits.h +6 -6
  2015. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/binary_cross_entropy_with_logits_backward.h +4 -4
  2016. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bincount_ext.h +3 -3
  2017. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/bmm_ext.h +2 -3
  2018. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/clone.h +1 -1
  2019. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/contiguous.h +1 -1
  2020. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv1d_ext.h +4 -5
  2021. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv1d_padding.h +5 -6
  2022. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv2d_ext.h +4 -5
  2023. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv2d_padding.h +5 -6
  2024. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv3d_ext.h +4 -5
  2025. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv3d_padding.h +5 -6
  2026. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/conv_transpose2d.h +6 -4
  2027. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution.h +6 -6
  2028. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution_grad.h +3 -3
  2029. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/convolution_str.h +6 -7
  2030. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/copy.h +1 -1
  2031. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/count_nonzero.h +2 -3
  2032. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cross.h +2 -2
  2033. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cummax.h +3 -3
  2034. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cummin_ext.h +3 -3
  2035. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/cumsum_ext.h +2 -2
  2036. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_ext.h +2 -2
  2037. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_kernel.h +2 -2
  2038. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/custom_launch_aclnn.h +1 -1
  2039. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dense.h +2 -2
  2040. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/diag_ext.h +2 -2
  2041. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divmod.h +2 -3
  2042. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divmods.h +2 -2
  2043. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/divs.h +2 -2
  2044. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_do_mask_ext.h +2 -2
  2045. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_ext.h +2 -3
  2046. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_gen_mask_ext.h +3 -3
  2047. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/dropout_grad_ext.h +2 -2
  2048. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/einsum_ext.h +36 -0
  2049. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/elu_ext.h +2 -2
  2050. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/elu_grad_ext.h +3 -3
  2051. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/embedding.h +4 -5
  2052. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/embedding_dense_backward.h +5 -3
  2053. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/empty.h +35 -0
  2054. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/empty_like.h +36 -0
  2055. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/eye.h +2 -2
  2056. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ffn_ext.h +8 -8
  2057. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fill_scalar.h +2 -2
  2058. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fill_tensor.h +2 -3
  2059. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flash_attention_score.h +4 -4
  2060. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flash_attention_score_grad.h +6 -6
  2061. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/flatten_ext.h +1 -1
  2062. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/floor_div.h +2 -2
  2063. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/floor_div_scalar.h +2 -2
  2064. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/full_like.h +2 -2
  2065. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/func_max_pool2d.h +38 -0
  2066. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/fused_infer_attention_score.h +15 -18
  2067. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gather_d_grad_v2.h +2 -3
  2068. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gelu_grad.h +2 -2
  2069. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gelu_grad_ext.h +2 -2
  2070. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2.h +1 -1
  2071. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2_backward.h +1 -1
  2072. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/gmm_v2_backward_fusion.h +1 -2
  2073. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grid_sampler_2d_grad.h +3 -3
  2074. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grid_sampler_3d_grad.h +3 -3
  2075. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/group_norm.h +3 -3
  2076. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/group_norm_grad.h +3 -3
  2077. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grouped_matmul.h +1 -1
  2078. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/grouped_matmul_v4.h +1 -1
  2079. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/hshrink.h +2 -2
  2080. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/hshrink_grad.h +2 -3
  2081. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/identity.h +1 -1
  2082. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/incre_flash_attention.h +11 -11
  2083. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index.h +2 -2
  2084. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_add_ext.h +3 -3
  2085. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_fill_scalar.h +3 -3
  2086. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/index_fill_tensor.h +3 -3
  2087. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_index.h +2 -2
  2088. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_inplace_index_put.h +4 -5
  2089. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_moe_token_unpermute.h +39 -0
  2090. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inner_non_zero.h +1 -2
  2091. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_add_ext.h +2 -3
  2092. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_addmm.h +3 -4
  2093. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_adds_ext.h +2 -3
  2094. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_clamp_scalar.h +3 -4
  2095. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_clamp_tensor.h +3 -4
  2096. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_copy.h +2 -3
  2097. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_div.h +2 -2
  2098. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divmod.h +3 -3
  2099. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divmods.h +3 -3
  2100. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_divs.h +2 -2
  2101. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_elu.h +2 -2
  2102. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_erfinv.h +1 -2
  2103. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_exp.h +1 -1
  2104. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_exponential.h +3 -3
  2105. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_diagonal.h +2 -3
  2106. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_scalar.h +2 -2
  2107. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_fill_tensor.h +2 -2
  2108. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor.h +1 -2
  2109. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor_divide.h +2 -3
  2110. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_floor_divides.h +2 -2
  2111. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_grouped_matmul_add.h +3 -3
  2112. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_hardtanh.h +2 -3
  2113. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_index_add.h +3 -4
  2114. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_index_put.h +3 -4
  2115. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_log.h +1 -1
  2116. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_masked_fill_scalar.h +2 -3
  2117. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_masked_fill_tensor.h +2 -3
  2118. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_matmul_add.h +34 -0
  2119. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_mul.h +2 -2
  2120. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_muls.h +2 -2
  2121. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_normal.h +3 -3
  2122. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_put.h +3 -3
  2123. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_random.h +3 -4
  2124. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_relu.h +1 -2
  2125. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_add.h +3 -4
  2126. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_src.h +3 -4
  2127. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_src_reduce.h +4 -5
  2128. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_value.h +3 -3
  2129. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_scatter_value_reduce.h +4 -5
  2130. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_silu.h +35 -0
  2131. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_stop_gradient.h +1 -1
  2132. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_sub_ext.h +2 -3
  2133. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_sub_scalar.h +2 -3
  2134. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_tanh.h +1 -2
  2135. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_threshold.h +2 -3
  2136. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_uniform.h +3 -4
  2137. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/inplace_zero.h +1 -2
  2138. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/isclose.h +3 -3
  2139. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/isinf.h +1 -1
  2140. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kl_div.h +3 -3
  2141. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kl_div_grad.h +3 -6
  2142. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/kv_cache_scatter_update.h +3 -5
  2143. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/l1_loss_backward_ext.h +3 -5
  2144. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/l1_loss_ext.h +2 -2
  2145. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/layer_norm_ext.h +3 -3
  2146. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/layer_norm_grad_ext.h +4 -4
  2147. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lerp.h +2 -2
  2148. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lerp_scalar.h +2 -2
  2149. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/lin_space_ext.h +3 -3
  2150. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/linalg_qr.h +1 -2
  2151. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/linalg_vector_norm.h +1 -1
  2152. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/log_softmax_ext.h +3 -4
  2153. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/log_softmax_grad.h +2 -3
  2154. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_fill.h +2 -2
  2155. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_select.h +2 -2
  2156. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/masked_select_grad.h +2 -4
  2157. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul.h +3 -3
  2158. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_allreduce_add_rmsnorm.h +3 -3
  2159. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_ext.h +2 -2
  2160. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/matmul_reduce_scatter.h +5 -4
  2161. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_grad_with_indices.h +6 -7
  2162. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_grad_with_mask.h +6 -6
  2163. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_with_indices.h +5 -5
  2164. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_pool_with_mask.h +4 -5
  2165. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/max_unpool2d_ext.h +6 -6
  2166. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mean_ext.h +3 -3
  2167. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/meshgrid.h +4 -3
  2168. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mm_ext.h +2 -2
  2169. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_distribute_combine.h +45 -0
  2170. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_distribute_dispatch.h +41 -0
  2171. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_permute.h +2 -2
  2172. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_unpermute.h +4 -6
  2173. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/moe_token_unpermute_grad.h +3 -4
  2174. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/move_to.h +2 -2
  2175. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mse_loss_ext.h +2 -2
  2176. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mse_loss_grad_ext.h +3 -4
  2177. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/muls.h +2 -2
  2178. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multi_scale_deformable_attn.h +5 -3
  2179. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multi_scale_deformable_attn_grad.h +4 -6
  2180. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/multinomial_ext.h +3 -4
  2181. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/mv.h +2 -2
  2182. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nan_to_num.h +3 -4
  2183. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nansum.h +3 -3
  2184. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ne_scalar.h +2 -2
  2185. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_empty.h +36 -0
  2186. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_full.h +36 -0
  2187. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_ones.h +2 -2
  2188. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/new_zeros.h +1 -1
  2189. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss.h +3 -3
  2190. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_2d.h +3 -3
  2191. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_2d_grad.h +4 -4
  2192. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/nllloss_grad.h +4 -6
  2193. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/non_zero.h +1 -1
  2194. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/non_zero_ext.h +2 -2
  2195. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/norm.h +1 -1
  2196. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_float_float.h +3 -3
  2197. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_float_tensor.h +3 -3
  2198. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_tensor_float.h +3 -3
  2199. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/normal_tensor_tensor.h +3 -4
  2200. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/one_hot_ext.h +3 -3
  2201. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ones.h +2 -2
  2202. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/ones_like_ext.h +2 -2
  2203. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/outer.h +2 -2
  2204. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pixel_shuffle.h +2 -2
  2205. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pow_scalar_tensor.h +2 -2
  2206. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/pow_tensor_scalar.h +2 -3
  2207. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/prod_ext.h +3 -3
  2208. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/prompt_flash_attention.h +7 -7
  2209. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_batch_matmul.h +7 -7
  2210. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_matmul.h +41 -0
  2211. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/quant_v2.h +3 -3
  2212. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rand_ext.h +3 -3
  2213. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rand_like_ext.h +3 -3
  2214. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randint.h +3 -4
  2215. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randint_like.h +3 -4
  2216. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randn.h +3 -3
  2217. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randn_like.h +3 -3
  2218. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/randperm_ext.h +3 -3
  2219. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/reduce_all.h +2 -2
  2220. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/relu_grad.h +2 -2
  2221. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_grad.h +3 -3
  2222. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_int.h +3 -4
  2223. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/repeat_interleave_tensor.h +4 -5
  2224. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/reshape.h +4 -2
  2225. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rms_norm.h +4 -4
  2226. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/rotary_position_embedding_grad.h +3 -3
  2227. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/round.h +2 -2
  2228. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/scatter_add_ext.h +3 -3
  2229. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/searchsorted.h +3 -4
  2230. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sigmoid_grad.h +2 -2
  2231. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/silent_check_v2.h +5 -5
  2232. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/silent_check_v3.h +6 -4
  2233. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/smooth_l1_loss.h +3 -4
  2234. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/smooth_l1_loss_grad.h +4 -5
  2235. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/soft_margin_loss.h +2 -3
  2236. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/soft_margin_loss_grad.h +3 -4
  2237. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softmax.h +2 -2
  2238. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softshrink.h +2 -2
  2239. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/softshrink_grad.h +2 -3
  2240. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sort_ext.h +5 -5
  2241. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/speed_fusion_attention.h +4 -4
  2242. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/speed_fusion_attention_grad.h +11 -12
  2243. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/square.h +1 -1
  2244. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/std.h +3 -3
  2245. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/std_mean.h +1 -1
  2246. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sub.h +2 -2
  2247. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sub_scalar.h +2 -2
  2248. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/sum_ext.h +3 -3
  2249. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/t_ext.h +1 -1
  2250. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/take.h +2 -2
  2251. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/tanh_grad.h +2 -2
  2252. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/threshold.h +2 -2
  2253. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/threshold_grad.h +2 -2
  2254. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/tile.h +1 -1
  2255. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/type_as.h +2 -2
  2256. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/uniform_ext.h +3 -3
  2257. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique2.h +2 -2
  2258. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique_consecutive.h +2 -2
  2259. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unique_dim.h +2 -2
  2260. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/unstack_ext_view.h +4 -3
  2261. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bicubic2d.h +4 -5
  2262. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bicubic2d_grad.h +5 -6
  2263. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bilinear2d.h +4 -5
  2264. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_bilinear2d_grad.h +6 -6
  2265. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_linear1d.h +4 -5
  2266. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_linear1d_grad.h +5 -6
  2267. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest1d.h +3 -4
  2268. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest1d_grad.h +4 -5
  2269. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest2d.h +3 -4
  2270. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest2d_grad.h +4 -5
  2271. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest3d.h +3 -4
  2272. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_nearest3d_grad.h +4 -5
  2273. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_trilinear3d.h +4 -5
  2274. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/upsample_trilinear3d_grad.h +6 -6
  2275. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/var.h +3 -3
  2276. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/var_mean.h +1 -1
  2277. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/view_as.h +2 -2
  2278. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/weight_quant_batch_matmul.h +5 -5
  2279. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/zeros.h +2 -2
  2280. mindspore/include/mindspore/ops/kernel/ascend/pyboost/customize/zeros_like_ext.h +2 -3
  2281. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/apply_rotary_pos_emb.h +40 -0
  2282. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/flash_attention_score.h +40 -0
  2283. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/paged_attention.h +40 -0
  2284. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/auto_generate/reshape_and_cache.h +40 -0
  2285. mindspore/include/mindspore/ops/kernel/ascend/pyboost/internal/functions/functions.h +34 -0
  2286. mindspore/include/mindspore/ops/kernel/cpu/empty_cpu_kernel.h +55 -0
  2287. mindspore/include/mindspore/ops/kernel/cpu/empty_like_cpu_kernel.h +55 -0
  2288. mindspore/include/mindspore/ops/kernel/cpu/grid_sampler_2d_grad_cpu_kernel.h +3 -15
  2289. mindspore/include/mindspore/ops/kernel/cpu/map_tensor/map_tensor_get_data_cpu_kernel.h +1 -1
  2290. mindspore/include/mindspore/ops/kernel/cpu/map_tensor/map_tensor_get_grad_cpu_kernel.h +1 -1
  2291. mindspore/include/mindspore/ops/kernel/cpu/new_empty_cpu_kernel.h +55 -0
  2292. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/winograd_utils_fp16.h +1 -409
  2293. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp16/winograd_utils_fp16_macro.h +437 -0
  2294. mindspore/include/mindspore/ops/kernel/cpu/nnacl/fp32/conv_sw.h +0 -1
  2295. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_avx512_instructions.h +0 -3
  2296. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_avx_instructions.h +0 -3
  2297. mindspore/include/mindspore/ops/kernel/cpu/nnacl/intrinsics/ms_simd_sse_instructions.h +0 -3
  2298. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/abs.h +1 -1
  2299. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/acos_ext.h +38 -0
  2300. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  2301. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  2302. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  2303. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  2304. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  2305. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add.h +1 -1
  2306. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_ext.h +1 -1
  2307. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  2308. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  2309. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/add_scalar.h +1 -1
  2310. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/addcdiv_ext.h +1 -1
  2311. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/addcmul_ext.h +1 -1
  2312. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/any.h +38 -0
  2313. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/any_ext.h +38 -0
  2314. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/apply_rotary_pos_emb.h +38 -0
  2315. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argmax_with_value.h +1 -1
  2316. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argmin_with_value.h +1 -1
  2317. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/argsort.h +1 -1
  2318. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/as_strided.h +1 -1
  2319. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/atan_ext.h +38 -0
  2320. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/atanh.h +1 -1
  2321. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool1d.h +1 -1
  2322. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool2d.h +1 -1
  2323. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  2324. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  2325. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  2326. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/baddbmm.h +1 -1
  2327. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_mat_mul.h +1 -1
  2328. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  2329. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  2330. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  2331. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  2332. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/batch_norm_stats.h +1 -1
  2333. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bernoulli_ext.h +1 -1
  2334. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  2335. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  2336. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  2337. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  2338. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  2339. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  2340. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_not.h +1 -1
  2341. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  2342. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  2343. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  2344. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  2345. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/bmm_ext.h +1 -1
  2346. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/broadcast_to.h +1 -1
  2347. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/broadcast_to_view.h +1 -1
  2348. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cast.h +1 -1
  2349. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ceil.h +1 -1
  2350. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/chunk.h +1 -1
  2351. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/chunk_view.h +1 -1
  2352. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clamp_scalar.h +1 -1
  2353. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clamp_tensor.h +1 -1
  2354. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/clone.h +1 -1
  2355. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/col2im_ext.h +1 -1
  2356. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/col2im_grad.h +1 -1
  2357. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/concat.h +1 -1
  2358. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/constant_pad_nd.h +1 -1
  2359. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/contiguous.h +1 -1
  2360. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv1d_padding.h +1 -1
  2361. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv2d_ext.h +1 -1
  2362. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv2d_padding.h +1 -1
  2363. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv3d_padding.h +1 -1
  2364. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/conv_transpose2d.h +1 -1
  2365. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution.h +1 -1
  2366. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_grad.h +1 -1
  2367. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_str.h +1 -1
  2368. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/convolution_str_grad.h +1 -1
  2369. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/copy.h +1 -1
  2370. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cos.h +1 -1
  2371. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cosh.h +1 -1
  2372. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/count_nonzero.h +1 -1
  2373. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cross.h +1 -1
  2374. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/cummax.h +1 -1
  2375. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dense.h +1 -1
  2376. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/diag_ext.h +1 -1
  2377. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/diagonal_view.h +38 -0
  2378. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  2379. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  2380. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  2381. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  2382. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  2383. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  2384. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  2385. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  2386. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_gather.h +1 -1
  2387. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  2388. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  2389. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_isend.h +1 -1
  2390. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  2391. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  2392. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  2393. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  2394. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  2395. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/div.h +1 -1
  2396. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divmod.h +1 -1
  2397. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divmods.h +1 -1
  2398. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/divs.h +1 -1
  2399. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dot.h +1 -1
  2400. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  2401. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/einsum_ext.h +38 -0
  2402. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/elu.h +1 -1
  2403. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/embedding.h +1 -1
  2404. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  2405. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/empty.h +38 -0
  2406. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/empty_like.h +38 -0
  2407. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/equal.h +1 -1
  2408. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/equal_ext.h +1 -1
  2409. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erf.h +1 -1
  2410. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erfc.h +1 -1
  2411. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/erfinv.h +1 -1
  2412. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/exp.h +1 -1
  2413. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/exp2.h +1 -1
  2414. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expand_dims.h +1 -1
  2415. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expand_dims_view.h +1 -1
  2416. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/expm1.h +1 -1
  2417. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/eye.h +1 -1
  2418. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ffn_ext.h +1 -1
  2419. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor.h +1 -1
  2420. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor_div.h +1 -1
  2421. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/floor_div_scalar.h +1 -1
  2422. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/fmod_tensor.h +1 -1
  2423. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/frac.h +1 -1
  2424. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/full_like.h +1 -1
  2425. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  2426. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gather_d.h +1 -1
  2427. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  2428. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gcd.h +1 -1
  2429. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu.h +1 -1
  2430. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_ext.h +1 -1
  2431. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_grad.h +1 -1
  2432. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  2433. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/generator.h +1 -1
  2434. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/glu.h +1 -1
  2435. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/glu_grad.h +1 -1
  2436. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater.h +1 -1
  2437. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater_equal.h +1 -1
  2438. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  2439. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  2440. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  2441. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  2442. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  2443. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/group_norm.h +1 -1
  2444. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/group_norm_grad.h +1 -1
  2445. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul.h +1 -1
  2446. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  2447. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  2448. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hardtanh.h +1 -1
  2449. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hardtanh_grad.h +1 -1
  2450. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hshrink.h +1 -1
  2451. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hshrink_grad.h +1 -1
  2452. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hsigmoid.h +1 -1
  2453. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  2454. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hswish.h +1 -1
  2455. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/hswish_grad.h +1 -1
  2456. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/identity.h +1 -1
  2457. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/im2col_ext.h +1 -1
  2458. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/incre_flash_attention.h +1 -1
  2459. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index.h +1 -1
  2460. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_add_ext.h +1 -1
  2461. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_fill_scalar.h +1 -1
  2462. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/index_fill_tensor.h +1 -1
  2463. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  2464. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  2465. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  2466. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  2467. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_isend.h +1 -1
  2468. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  2469. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_index.h +1 -1
  2470. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  2471. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_moe_token_unpermute.h +38 -0
  2472. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inner_non_zero.h +1 -1
  2473. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_addmm.h +1 -1
  2474. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  2475. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  2476. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_copy.h +1 -1
  2477. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_div.h +1 -1
  2478. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divmod.h +1 -1
  2479. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divmods.h +1 -1
  2480. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_divs.h +1 -1
  2481. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_elu.h +1 -1
  2482. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_erfinv.h +1 -1
  2483. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_exponential.h +1 -1
  2484. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  2485. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  2486. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  2487. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor.h +1 -1
  2488. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  2489. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  2490. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  2491. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  2492. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_index_add.h +1 -1
  2493. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_index_put.h +1 -1
  2494. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_log.h +1 -1
  2495. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  2496. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  2497. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_matmul_add.h +38 -0
  2498. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_mul.h +1 -1
  2499. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_muls.h +1 -1
  2500. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_normal.h +1 -1
  2501. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_put.h +1 -1
  2502. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_random.h +1 -1
  2503. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_relu.h +1 -1
  2504. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  2505. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  2506. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  2507. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  2508. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  2509. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_silu.h +38 -0
  2510. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  2511. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_tanh.h +1 -1
  2512. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_threshold.h +1 -1
  2513. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_uniform.h +1 -1
  2514. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/inplace_zero.h +1 -1
  2515. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isclose.h +1 -1
  2516. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isfinite.h +1 -1
  2517. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isinf.h +1 -1
  2518. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/isneginf.h +1 -1
  2519. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kl_div.h +1 -1
  2520. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kl_div_grad.h +1 -1
  2521. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kthvalue.h +1 -1
  2522. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  2523. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/layer_norm_ext.h +1 -1
  2524. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  2525. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  2526. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/lerp.h +1 -1
  2527. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/lerp_scalar.h +1 -1
  2528. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/less.h +1 -1
  2529. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/less_equal.h +1 -1
  2530. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/linalg_qr.h +1 -1
  2531. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  2532. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log.h +1 -1
  2533. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log1p.h +1 -1
  2534. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log_softmax.h +1 -1
  2535. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/log_softmax_grad.h +1 -1
  2536. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logaddexp.h +1 -1
  2537. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logaddexp2.h +1 -1
  2538. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_and.h +1 -1
  2539. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_not.h +1 -1
  2540. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_or.h +1 -1
  2541. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logical_xor.h +1 -1
  2542. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsigmoid.h +1 -1
  2543. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  2544. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/logsumexp.h +1 -1
  2545. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_fill.h +1 -1
  2546. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_select.h +1 -1
  2547. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/masked_select_grad.h +1 -1
  2548. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul.h +1 -1
  2549. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  2550. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/matmul_ext.h +1 -1
  2551. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/max.h +1 -1
  2552. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/max_dim.h +1 -1
  2553. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/maximum.h +1 -1
  2554. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mean_ext.h +1 -1
  2555. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/median_dim.h +1 -1
  2556. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/median_ext.h +1 -1
  2557. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/meshgrid.h +1 -1
  2558. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/min.h +1 -1
  2559. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/min_dim.h +1 -1
  2560. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/minimum.h +1 -1
  2561. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mish_ext.h +1 -1
  2562. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mish_grad_ext.h +1 -1
  2563. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  2564. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_distribute_combine.h +38 -0
  2565. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_distribute_dispatch.h +38 -0
  2566. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  2567. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  2568. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing.h +1 -1
  2569. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing_quant_v2.h +38 -0
  2570. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  2571. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_permute.h +1 -1
  2572. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  2573. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  2574. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  2575. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mul.h +1 -1
  2576. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/muls.h +1 -1
  2577. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  2578. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  2579. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/mv.h +1 -1
  2580. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nan_to_num.h +1 -1
  2581. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ne_scalar.h +1 -1
  2582. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/neg.h +1 -1
  2583. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_empty.h +38 -0
  2584. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_full.h +38 -0
  2585. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_ones.h +1 -1
  2586. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/new_zeros.h +1 -1
  2587. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss.h +1 -1
  2588. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_2d.h +1 -1
  2589. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  2590. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/nllloss_grad.h +1 -1
  2591. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/non_zero.h +1 -1
  2592. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/norm.h +1 -1
  2593. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_float_float.h +1 -1
  2594. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_float_tensor.h +1 -1
  2595. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_tensor_float.h +1 -1
  2596. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  2597. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/not_equal.h +1 -1
  2598. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/ones.h +1 -1
  2599. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/outer.h +1 -1
  2600. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/paged_attention.h +38 -0
  2601. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pixel_shuffle.h +1 -1
  2602. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/polar.h +1 -1
  2603. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow.h +1 -1
  2604. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  2605. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  2606. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prelu.h +1 -1
  2607. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prelu_grad.h +1 -1
  2608. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/prod_ext.h +1 -1
  2609. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  2610. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_matmul.h +38 -0
  2611. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/quant_v2.h +1 -1
  2612. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randint.h +1 -1
  2613. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randint_like.h +1 -1
  2614. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randn.h +1 -1
  2615. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/randn_like.h +1 -1
  2616. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reciprocal.h +1 -1
  2617. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_all.h +1 -1
  2618. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_any.h +1 -1
  2619. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_max.h +1 -1
  2620. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reduce_min.h +1 -1
  2621. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  2622. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  2623. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  2624. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  2625. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  2626. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  2627. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/relu.h +1 -1
  2628. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/relu_grad.h +1 -1
  2629. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/repeat.h +1 -1
  2630. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_1d.h +1 -1
  2631. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  2632. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_2d.h +1 -1
  2633. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  2634. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_3d.h +1 -1
  2635. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  2636. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reshape.h +1 -1
  2637. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reshape_and_cache.h +38 -0
  2638. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/reverse_v2.h +1 -1
  2639. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rms_norm_grad.h +1 -1
  2640. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/roll.h +1 -1
  2641. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  2642. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  2643. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/round.h +1 -1
  2644. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/rsqrt.h +1 -1
  2645. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter.h +1 -1
  2646. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter_add_ext.h +1 -1
  2647. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/scatter_value.h +1 -1
  2648. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/searchsorted.h +1 -1
  2649. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select.h +1 -1
  2650. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select_ext_view.h +1 -1
  2651. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/select_v2.h +1 -1
  2652. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/selu_ext.h +1 -1
  2653. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/selu_grad.h +1 -1
  2654. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sigmoid.h +1 -1
  2655. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sigmoid_grad.h +1 -1
  2656. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sign.h +1 -1
  2657. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/silu.h +1 -1
  2658. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/silu_grad.h +1 -1
  2659. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sin.h +1 -1
  2660. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sinc.h +1 -1
  2661. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sinh.h +1 -1
  2662. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice.h +1 -1
  2663. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice_ext.h +1 -1
  2664. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/slice_ext_view.h +1 -1
  2665. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  2666. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  2667. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/soft_margin_loss.h +1 -1
  2668. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  2669. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softmax.h +1 -1
  2670. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softmax_backward.h +1 -1
  2671. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softplus_ext.h +1 -1
  2672. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  2673. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softshrink.h +1 -1
  2674. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/softshrink_grad.h +1 -1
  2675. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  2676. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  2677. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/split.h +1 -1
  2678. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sqrt.h +1 -1
  2679. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/square.h +1 -1
  2680. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/squeeze.h +1 -1
  2681. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/stack_ext.h +38 -0
  2682. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub.h +1 -1
  2683. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub_ext.h +1 -1
  2684. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sub_scalar.h +1 -1
  2685. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/sum_ext.h +1 -1
  2686. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/take.h +1 -1
  2687. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tan.h +1 -1
  2688. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tanh.h +1 -1
  2689. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tanh_grad.h +1 -1
  2690. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  2691. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/threshold.h +1 -1
  2692. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/threshold_grad.h +1 -1
  2693. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/tile.h +1 -1
  2694. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose.h +1 -1
  2695. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose_ext_view.h +1 -1
  2696. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/transpose_view.h +1 -1
  2697. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/triangular_solve.h +1 -1
  2698. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/triu.h +1 -1
  2699. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/trunc.h +1 -1
  2700. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/unique_consecutive.h +1 -1
  2701. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  2702. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  2703. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  2704. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  2705. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_linear1d.h +1 -1
  2706. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  2707. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  2708. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  2709. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  2710. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  2711. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  2712. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  2713. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  2714. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  2715. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/view.h +1 -1
  2716. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  2717. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy.h +1 -1
  2718. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  2719. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  2720. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/zeros.h +1 -1
  2721. mindspore/include/mindspore/ops/kernel/cpu/pyboost/auto_generate/zeros_like_ext.h +38 -0
  2722. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/any.h +34 -0
  2723. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/any_ext.h +35 -0
  2724. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/binary_cross_entropy_with_logits.h +4 -4
  2725. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/clamp_scalar.h +2 -2
  2726. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/clamp_tensor.h +2 -3
  2727. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/contiguous.h +1 -1
  2728. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/copy.h +1 -1
  2729. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dense.h +2 -2
  2730. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_all_gather.h +1 -1
  2731. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_all_reduce.h +1 -1
  2732. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_broadcast.h +2 -2
  2733. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_gather.h +1 -1
  2734. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_irecv.h +1 -1
  2735. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_isend.h +1 -1
  2736. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/dist_comm_scatter.h +1 -1
  2737. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/divmod.h +2 -3
  2738. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/empty.h +35 -0
  2739. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/empty_like.h +36 -0
  2740. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/group_norm.h +3 -3
  2741. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/grouped_matmul.h +1 -1
  2742. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/identity.h +1 -1
  2743. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/inner_comm_all_reduce.h +2 -3
  2744. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/inplace_copy.h +1 -2
  2745. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/layer_norm_ext.h +3 -3
  2746. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/masked_select.h +2 -2
  2747. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/matmul_ext.h +1 -1
  2748. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/max.h +1 -1
  2749. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/mean_ext.h +1 -1
  2750. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/meshgrid.h +4 -2
  2751. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/min.h +1 -1
  2752. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_empty.h +36 -0
  2753. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_ones.h +2 -2
  2754. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/new_zeros.h +2 -2
  2755. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/non_zero.h +1 -1
  2756. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pixel_shuffle.h +2 -2
  2757. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pow_scalar_tensor.h +1 -1
  2758. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/pow_tensor_scalar.h +1 -1
  2759. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/prod_ext.h +1 -1
  2760. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/reshape.h +4 -2
  2761. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/round.h +1 -1
  2762. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/searchsorted.h +3 -4
  2763. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/silu.h +1 -1
  2764. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/silu_grad.h +1 -2
  2765. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/sum_ext.h +1 -1
  2766. mindspore/include/mindspore/ops/kernel/cpu/pyboost/customize/unique_consecutive.h +2 -2
  2767. mindspore/include/mindspore/ops/kernel/cpu/sequence/sequence_len_cpu_kernel.h +0 -1
  2768. mindspore/include/mindspore/ops/kernel/cpu/sparse_apply_adagrad_cpu_kernel.h +1 -1
  2769. mindspore/include/mindspore/ops/kernel/cpu/sparse_apply_adagrad_v2_cpu_kernel.h +2 -2
  2770. mindspore/include/mindspore/ops/kernel/cpu/stft_cpu_kernel.h +16 -16
  2771. mindspore/include/mindspore/ops/kernel/cpu/utils/sampling_kernels.h +18 -15
  2772. mindspore/include/mindspore/ops/kernel/gpu/arrays/broadcast_to_gpu_kernel.h +1 -1
  2773. mindspore/include/mindspore/ops/kernel/gpu/arrays/select_gpu_kernel.h +2 -2
  2774. mindspore/include/mindspore/ops/kernel/gpu/arrays/unique_consecutive_gpu_kernel.h +2 -2
  2775. mindspore/include/mindspore/ops/kernel/gpu/cuda_impl/cuda_class/unique_consecutive_helper.h +1 -1
  2776. mindspore/include/mindspore/ops/kernel/gpu/dynamic_akg/dynamic_utils.h +1 -1
  2777. mindspore/include/mindspore/ops/kernel/gpu/gpu_kernel.h +3 -4
  2778. mindspore/include/mindspore/ops/kernel/gpu/math/binary_ext_ops_gpu_kernel.h +2 -2
  2779. mindspore/include/mindspore/ops/kernel/gpu/math/correlate_gpu_kernel.h +15 -11
  2780. mindspore/include/mindspore/ops/kernel/gpu/math/eps_gpu_kernel.h +4 -4
  2781. mindspore/include/mindspore/ops/kernel/gpu/math/tracev2_grad_gpu_kernel.h +0 -1
  2782. mindspore/include/mindspore/ops/kernel/gpu/nccl/nccl_recv_gpu_kernel.h +1 -1
  2783. mindspore/include/mindspore/ops/kernel/gpu/nccl/nccl_send_gpu_kernel.h +1 -1
  2784. mindspore/include/mindspore/ops/kernel/gpu/nn/activation_grad_kernel.h +3 -3
  2785. mindspore/include/mindspore/ops/kernel/gpu/nn/adagrad_gpu_kernel.h +4 -2
  2786. mindspore/include/mindspore/ops/kernel/gpu/nn/adam_gpu_kernel.h +1 -1
  2787. mindspore/include/mindspore/ops/kernel/gpu/nn/batch_norm_grad_gpu_kernel.h +1 -0
  2788. mindspore/include/mindspore/ops/kernel/gpu/nn/kl_div_loss_grad_kernel.h +3 -2
  2789. mindspore/include/mindspore/ops/kernel/gpu/other/dynamic_stitch_gpu_kernel.h +6 -6
  2790. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/abs.h +1 -1
  2791. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool1d.h +1 -1
  2792. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool2d_grad_ext.h +1 -1
  2793. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_avg_pool3d_grad_ext.h +1 -1
  2794. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_max_pool1d.h +1 -1
  2795. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/adaptive_max_pool2d.h +1 -1
  2796. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add.h +1 -1
  2797. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_ext.h +1 -1
  2798. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_layer_norm_grad.h +1 -1
  2799. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_rmsnorm_quant_v2.h +1 -1
  2800. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/add_scalar.h +1 -1
  2801. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/addcdiv_ext.h +1 -1
  2802. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/addcmul_ext.h +1 -1
  2803. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/any.h +38 -0
  2804. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/any_ext.h +38 -0
  2805. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/apply_rotary_pos_emb.h +38 -0
  2806. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argmax_with_value.h +1 -1
  2807. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argmin_with_value.h +1 -1
  2808. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/argsort.h +1 -1
  2809. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/as_strided.h +1 -1
  2810. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/atanh.h +1 -1
  2811. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool1d.h +1 -1
  2812. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool2d.h +1 -1
  2813. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool2d_grad.h +1 -1
  2814. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool3d_ext.h +1 -1
  2815. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/avg_pool3d_grad_ext.h +1 -1
  2816. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/baddbmm.h +1 -1
  2817. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_mat_mul.h +1 -1
  2818. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_elemt.h +1 -1
  2819. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_elemt_grad.h +1 -1
  2820. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_gather_stats_with_counts.h +1 -1
  2821. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_reduce_grad.h +1 -1
  2822. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/batch_norm_stats.h +1 -1
  2823. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bernoulli_ext.h +1 -1
  2824. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy.h +1 -1
  2825. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_grad.h +1 -1
  2826. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_with_logits.h +1 -1
  2827. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/binary_cross_entropy_with_logits_backward.h +1 -1
  2828. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_and_scalar.h +1 -1
  2829. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_and_tensor.h +1 -1
  2830. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_not.h +1 -1
  2831. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_or_scalar.h +1 -1
  2832. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_or_tensor.h +1 -1
  2833. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_xor_scalar.h +1 -1
  2834. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bitwise_xor_tensor.h +1 -1
  2835. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/bmm_ext.h +1 -1
  2836. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/broadcast_to.h +1 -1
  2837. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/broadcast_to_view.h +1 -1
  2838. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cast.h +1 -1
  2839. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ceil.h +1 -1
  2840. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/chunk.h +1 -1
  2841. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/chunk_view.h +1 -1
  2842. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clamp_scalar.h +1 -1
  2843. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clamp_tensor.h +1 -1
  2844. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/clone.h +1 -1
  2845. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/col2im_ext.h +1 -1
  2846. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/col2im_grad.h +1 -1
  2847. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/concat.h +1 -1
  2848. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/constant_pad_nd.h +1 -1
  2849. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/contiguous.h +1 -1
  2850. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv1d_padding.h +1 -1
  2851. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv2d_ext.h +1 -1
  2852. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv2d_padding.h +1 -1
  2853. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv3d_padding.h +1 -1
  2854. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/conv_transpose2d.h +1 -1
  2855. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution.h +1 -1
  2856. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_grad.h +1 -1
  2857. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_str.h +1 -1
  2858. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/convolution_str_grad.h +1 -1
  2859. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/copy.h +1 -1
  2860. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cos.h +1 -1
  2861. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cosh.h +1 -1
  2862. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/count_nonzero.h +1 -1
  2863. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cross.h +1 -1
  2864. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/cummax.h +1 -1
  2865. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dense.h +1 -1
  2866. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/diag_ext.h +1 -1
  2867. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/diagonal_view.h +38 -0
  2868. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather.h +1 -1
  2869. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_gather_into_tensor.h +1 -1
  2870. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_reduce.h +1 -1
  2871. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_to_all_v.h +1 -1
  2872. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_all_to_all_v_single.h +1 -1
  2873. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_barrier.h +1 -1
  2874. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_batch_isend_irecv.h +1 -1
  2875. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_broadcast.h +1 -1
  2876. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_gather.h +1 -1
  2877. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_gather_into_tensor.h +1 -1
  2878. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_irecv.h +1 -1
  2879. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_isend.h +1 -1
  2880. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce.h +1 -1
  2881. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter.h +1 -1
  2882. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_reduce_scatter_tensor.h +1 -1
  2883. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_scatter.h +1 -1
  2884. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dist_comm_scatter_tensor.h +1 -1
  2885. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/div.h +1 -1
  2886. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divmod.h +1 -1
  2887. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divmods.h +1 -1
  2888. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/divs.h +1 -1
  2889. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dot.h +1 -1
  2890. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/dynamic_quant_ext.h +1 -1
  2891. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/einsum_ext.h +38 -0
  2892. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/elu.h +1 -1
  2893. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/embedding.h +1 -1
  2894. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/embedding_dense_backward.h +1 -1
  2895. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/equal.h +1 -1
  2896. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/equal_ext.h +1 -1
  2897. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erf.h +1 -1
  2898. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erfc.h +1 -1
  2899. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/erfinv.h +1 -1
  2900. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/exp.h +1 -1
  2901. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/exp2.h +1 -1
  2902. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expand_dims.h +1 -1
  2903. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expand_dims_view.h +1 -1
  2904. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/expm1.h +1 -1
  2905. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/eye.h +1 -1
  2906. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ffn_ext.h +1 -1
  2907. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor.h +1 -1
  2908. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor_div.h +1 -1
  2909. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/floor_div_scalar.h +1 -1
  2910. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/fmod_tensor.h +1 -1
  2911. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/frac.h +1 -1
  2912. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/full_like.h +1 -1
  2913. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/fused_infer_attention_score.h +1 -1
  2914. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gather_d.h +1 -1
  2915. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gather_d_grad_v2.h +1 -1
  2916. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gcd.h +1 -1
  2917. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu.h +1 -1
  2918. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_ext.h +1 -1
  2919. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_grad.h +1 -1
  2920. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/gelu_grad_ext.h +1 -1
  2921. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/generator.h +1 -1
  2922. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/glu.h +1 -1
  2923. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/glu_grad.h +1 -1
  2924. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater.h +1 -1
  2925. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater_equal.h +1 -1
  2926. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/greater_equal_scalar.h +1 -1
  2927. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_2d.h +1 -1
  2928. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_2d_grad.h +1 -1
  2929. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_3d.h +1 -1
  2930. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grid_sampler_3d_grad.h +1 -1
  2931. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/group_norm.h +1 -1
  2932. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/group_norm_grad.h +1 -1
  2933. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul.h +1 -1
  2934. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul_v2.h +1 -1
  2935. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/grouped_matmul_v4.h +1 -1
  2936. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hardtanh.h +1 -1
  2937. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hardtanh_grad.h +1 -1
  2938. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hshrink.h +1 -1
  2939. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hshrink_grad.h +1 -1
  2940. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hsigmoid.h +1 -1
  2941. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hsigmoid_grad.h +1 -1
  2942. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hswish.h +1 -1
  2943. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/hswish_grad.h +1 -1
  2944. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/identity.h +1 -1
  2945. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/im2col_ext.h +1 -1
  2946. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/incre_flash_attention.h +1 -1
  2947. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index.h +1 -1
  2948. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_add_ext.h +1 -1
  2949. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_fill_scalar.h +1 -1
  2950. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/index_fill_tensor.h +1 -1
  2951. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_gather.h +1 -1
  2952. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_reduce.h +1 -1
  2953. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_all_to_all_v.h +1 -1
  2954. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_irecv.h +1 -1
  2955. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_isend.h +1 -1
  2956. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_comm_reduce_scatter.h +1 -1
  2957. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_index.h +1 -1
  2958. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_inplace_index_put.h +1 -1
  2959. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_moe_token_unpermute.h +38 -0
  2960. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inner_non_zero.h +1 -1
  2961. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_addmm.h +1 -1
  2962. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_clamp_scalar.h +1 -1
  2963. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_clamp_tensor.h +1 -1
  2964. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_copy.h +1 -1
  2965. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_div.h +1 -1
  2966. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divmod.h +1 -1
  2967. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divmods.h +1 -1
  2968. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_divs.h +1 -1
  2969. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_elu.h +1 -1
  2970. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_erfinv.h +1 -1
  2971. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_exponential.h +1 -1
  2972. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_diagonal.h +1 -1
  2973. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_scalar.h +1 -1
  2974. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_fill_tensor.h +1 -1
  2975. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor.h +1 -1
  2976. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor_divide.h +1 -1
  2977. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_floor_divides.h +1 -1
  2978. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_grouped_matmul_add.h +1 -1
  2979. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_hardtanh.h +1 -1
  2980. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_index_add.h +1 -1
  2981. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_index_put.h +1 -1
  2982. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_log.h +1 -1
  2983. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_masked_fill_scalar.h +1 -1
  2984. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_masked_fill_tensor.h +1 -1
  2985. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_matmul_add.h +38 -0
  2986. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_mul.h +1 -1
  2987. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_muls.h +1 -1
  2988. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_normal.h +1 -1
  2989. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_put.h +1 -1
  2990. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_random.h +1 -1
  2991. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_relu.h +1 -1
  2992. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_add.h +1 -1
  2993. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_src.h +1 -1
  2994. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_src_reduce.h +1 -1
  2995. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_value.h +1 -1
  2996. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_scatter_value_reduce.h +1 -1
  2997. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_silu.h +38 -0
  2998. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_sub_scalar.h +1 -1
  2999. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_tanh.h +1 -1
  3000. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_threshold.h +1 -1
  3001. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_uniform.h +1 -1
  3002. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/inplace_zero.h +1 -1
  3003. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isclose.h +1 -1
  3004. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isfinite.h +1 -1
  3005. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isinf.h +1 -1
  3006. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/isneginf.h +1 -1
  3007. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kl_div.h +1 -1
  3008. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kl_div_grad.h +1 -1
  3009. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kthvalue.h +1 -1
  3010. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/kv_cache_scatter_update.h +1 -1
  3011. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/leaky_relu_ext.h +1 -1
  3012. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/leaky_relu_grad_ext.h +1 -1
  3013. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/lerp.h +1 -1
  3014. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/lerp_scalar.h +1 -1
  3015. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/less.h +1 -1
  3016. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/less_equal.h +1 -1
  3017. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/linalg_qr.h +1 -1
  3018. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/linalg_vector_norm.h +1 -1
  3019. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log.h +1 -1
  3020. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log1p.h +1 -1
  3021. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log_softmax.h +1 -1
  3022. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/log_softmax_grad.h +1 -1
  3023. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logaddexp.h +1 -1
  3024. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logaddexp2.h +1 -1
  3025. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_and.h +1 -1
  3026. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_not.h +1 -1
  3027. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_or.h +1 -1
  3028. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logical_xor.h +1 -1
  3029. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsigmoid.h +1 -1
  3030. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsigmoid_grad.h +1 -1
  3031. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/logsumexp.h +1 -1
  3032. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_fill.h +1 -1
  3033. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_select.h +1 -1
  3034. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/masked_select_grad.h +1 -1
  3035. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul.h +1 -1
  3036. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul_allreduce_add_rmsnorm.h +1 -1
  3037. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/matmul_ext.h +1 -1
  3038. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/max.h +1 -1
  3039. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/max_dim.h +1 -1
  3040. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/maximum.h +1 -1
  3041. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mean_ext.h +1 -1
  3042. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/median_dim.h +1 -1
  3043. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/median_ext.h +1 -1
  3044. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/meshgrid.h +1 -1
  3045. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/min.h +1 -1
  3046. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/min_dim.h +1 -1
  3047. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/minimum.h +1 -1
  3048. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mish_ext.h +1 -1
  3049. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mish_grad_ext.h +1 -1
  3050. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_compute_expert_tokens.h +1 -1
  3051. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_distribute_combine.h +38 -0
  3052. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_distribute_dispatch.h +38 -0
  3053. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_finalize_routing.h +1 -1
  3054. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_gating_top_k_softmax.h +1 -1
  3055. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing.h +1 -1
  3056. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing_quant_v2.h +38 -0
  3057. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_init_routing_v2.h +1 -1
  3058. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_permute.h +1 -1
  3059. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_permute_grad.h +1 -1
  3060. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_unpermute.h +1 -1
  3061. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/moe_token_unpermute_grad.h +1 -1
  3062. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mul.h +1 -1
  3063. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/muls.h +1 -1
  3064. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/multi_scale_deformable_attn.h +1 -1
  3065. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/multi_scale_deformable_attn_grad.h +1 -1
  3066. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/mv.h +1 -1
  3067. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nan_to_num.h +1 -1
  3068. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ne_scalar.h +1 -1
  3069. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/neg.h +1 -1
  3070. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_full.h +38 -0
  3071. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_ones.h +1 -1
  3072. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/new_zeros.h +1 -1
  3073. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss.h +1 -1
  3074. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_2d.h +1 -1
  3075. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_2d_grad.h +1 -1
  3076. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/nllloss_grad.h +1 -1
  3077. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/non_zero.h +1 -1
  3078. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/norm.h +1 -1
  3079. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_float_float.h +1 -1
  3080. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_float_tensor.h +1 -1
  3081. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_tensor_float.h +1 -1
  3082. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/normal_tensor_tensor.h +1 -1
  3083. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/not_equal.h +1 -1
  3084. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/ones.h +1 -1
  3085. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/outer.h +1 -1
  3086. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/paged_attention.h +38 -0
  3087. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pixel_shuffle.h +1 -1
  3088. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/polar.h +1 -1
  3089. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow.h +1 -1
  3090. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow_scalar_tensor.h +1 -1
  3091. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/pow_tensor_scalar.h +1 -1
  3092. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prelu.h +1 -1
  3093. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prelu_grad.h +1 -1
  3094. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/prod_ext.h +1 -1
  3095. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_batch_matmul.h +1 -1
  3096. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_matmul.h +38 -0
  3097. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/quant_v2.h +1 -1
  3098. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randint.h +1 -1
  3099. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randint_like.h +1 -1
  3100. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randn.h +1 -1
  3101. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/randn_like.h +1 -1
  3102. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reciprocal.h +1 -1
  3103. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_all.h +1 -1
  3104. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_any.h +1 -1
  3105. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_max.h +1 -1
  3106. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reduce_min.h +1 -1
  3107. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_1d.h +1 -1
  3108. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_1d_grad.h +1 -1
  3109. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_2d.h +1 -1
  3110. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_2d_grad.h +1 -1
  3111. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_3d.h +1 -1
  3112. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reflection_pad_3d_grad.h +1 -1
  3113. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/relu.h +1 -1
  3114. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/relu_grad.h +1 -1
  3115. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/repeat.h +1 -1
  3116. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_1d.h +1 -1
  3117. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_1d_grad.h +1 -1
  3118. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_2d.h +1 -1
  3119. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_2d_grad.h +1 -1
  3120. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_3d.h +1 -1
  3121. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/replication_pad_3d_grad.h +1 -1
  3122. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reshape.h +1 -1
  3123. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reshape_and_cache.h +38 -0
  3124. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/reverse_v2.h +1 -1
  3125. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rms_norm_grad.h +1 -1
  3126. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/roll.h +1 -1
  3127. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rotary_position_embedding.h +1 -1
  3128. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rotary_position_embedding_grad.h +1 -1
  3129. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/round.h +1 -1
  3130. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/rsqrt.h +1 -1
  3131. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter.h +1 -1
  3132. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter_add_ext.h +1 -1
  3133. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/scatter_value.h +1 -1
  3134. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/searchsorted.h +1 -1
  3135. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select.h +1 -1
  3136. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select_ext_view.h +1 -1
  3137. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/select_v2.h +1 -1
  3138. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/selu_ext.h +1 -1
  3139. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/selu_grad.h +1 -1
  3140. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sigmoid.h +1 -1
  3141. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sigmoid_grad.h +1 -1
  3142. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sign.h +1 -1
  3143. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/silu.h +1 -1
  3144. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/silu_grad.h +1 -1
  3145. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sin.h +1 -1
  3146. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sinc.h +1 -1
  3147. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sinh.h +1 -1
  3148. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice.h +1 -1
  3149. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice_ext.h +1 -1
  3150. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/slice_ext_view.h +1 -1
  3151. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/smooth_l1_loss.h +1 -1
  3152. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/smooth_l1_loss_grad.h +1 -1
  3153. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/soft_margin_loss.h +1 -1
  3154. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/soft_margin_loss_grad.h +1 -1
  3155. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softmax.h +1 -1
  3156. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softmax_backward.h +1 -1
  3157. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softplus_ext.h +1 -1
  3158. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softplus_grad_ext.h +1 -1
  3159. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softshrink.h +1 -1
  3160. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/softshrink_grad.h +1 -1
  3161. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/speed_fusion_attention.h +1 -1
  3162. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/speed_fusion_attention_grad.h +1 -1
  3163. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/split.h +1 -1
  3164. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sqrt.h +1 -1
  3165. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/square.h +1 -1
  3166. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/squeeze.h +1 -1
  3167. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub.h +1 -1
  3168. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub_ext.h +1 -1
  3169. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sub_scalar.h +1 -1
  3170. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/sum_ext.h +1 -1
  3171. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/take.h +1 -1
  3172. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tan.h +1 -1
  3173. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tanh.h +1 -1
  3174. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tanh_grad.h +1 -1
  3175. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tensor_scatter_elements.h +1 -1
  3176. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/threshold.h +1 -1
  3177. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/threshold_grad.h +1 -1
  3178. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/tile.h +1 -1
  3179. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose.h +1 -1
  3180. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose_ext_view.h +1 -1
  3181. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/transpose_view.h +1 -1
  3182. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/triangular_solve.h +1 -1
  3183. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/triu.h +1 -1
  3184. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/trunc.h +1 -1
  3185. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bicubic2d.h +1 -1
  3186. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bicubic2d_grad.h +1 -1
  3187. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bilinear2d.h +1 -1
  3188. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_bilinear2d_grad.h +1 -1
  3189. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_linear1d.h +1 -1
  3190. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_linear1d_grad.h +1 -1
  3191. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest1d.h +1 -1
  3192. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest1d_grad.h +1 -1
  3193. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest2d.h +1 -1
  3194. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest2d_grad.h +1 -1
  3195. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest3d.h +1 -1
  3196. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_nearest3d_grad.h +1 -1
  3197. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_trilinear3d.h +1 -1
  3198. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/upsample_trilinear3d_grad.h +1 -1
  3199. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/view.h +1 -1
  3200. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/weight_quant_batch_matmul.h +1 -1
  3201. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy.h +1 -1
  3202. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy_scalar_other.h +1 -1
  3203. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/xlogy_scalar_self.h +1 -1
  3204. mindspore/include/mindspore/ops/kernel/gpu/pyboost/auto_generate/zeros.h +1 -1
  3205. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/any.h +34 -0
  3206. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/any_ext.h +35 -0
  3207. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/clamp_scalar.h +2 -2
  3208. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/clamp_tensor.h +2 -3
  3209. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/contiguous.h +1 -1
  3210. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/copy.h +1 -1
  3211. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/dense.h +2 -2
  3212. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/divmod.h +2 -3
  3213. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/grouped_matmul.h +1 -1
  3214. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/identity.h +1 -1
  3215. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_all_gather.h +1 -1
  3216. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_all_reduce.h +1 -1
  3217. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_isend.h +1 -1
  3218. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/inner_comm_reduce_scatter.h +1 -1
  3219. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/masked_select.h +2 -2
  3220. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/matmul_ext.h +1 -1
  3221. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/max.h +1 -1
  3222. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/mean_ext.h +1 -1
  3223. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/meshgrid.h +4 -2
  3224. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/min.h +1 -1
  3225. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/new_ones.h +2 -2
  3226. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/new_zeros.h +2 -2
  3227. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/non_zero.h +1 -1
  3228. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pixel_shuffle.h +2 -2
  3229. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pow_scalar_tensor.h +1 -1
  3230. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/pow_tensor_scalar.h +1 -1
  3231. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/prod_ext.h +1 -1
  3232. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/reshape.h +4 -2
  3233. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/searchsorted.h +3 -4
  3234. mindspore/include/mindspore/ops/kernel/gpu/pyboost/customize/sum_ext.h +1 -1
  3235. mindspore/include/mindspore/ops/kernel/gpu/random/random_categorical_gpu_kernel.h +4 -8
  3236. mindspore/include/mindspore/ops/kernel/gpu/rl/buffer_sample_gpu_kernel.h +8 -8
  3237. mindspore/include/mindspore/ops/kernel/gpu/rl/gru_gpu_kernel.h +1 -0
  3238. mindspore/include/mindspore/ops/kernel/gpu/sparse/csr_sparse_matrix_to_sparse_tensor_gpu_kernel.h +1 -1
  3239. mindspore/include/mindspore/ops/kernel/gpu/sparse/dense_to_csr_sparse_matrix_gpu_kernel.h +3 -3
  3240. mindspore/include/mindspore/ops/kernel/gpu/sparse/sparse_matrix_sparse_matmul_gpu_kernel.h +2 -2
  3241. mindspore/include/mindspore/ops/kernel/include/common/common_utils.h +9 -0
  3242. mindspore/include/mindspore/ops/kernel/include/common/device_address.h +290 -27
  3243. mindspore/include/mindspore/ops/kernel/include/common/device_type.h +3 -5
  3244. mindspore/include/mindspore/ops/kernel/include/common/kernel.h +26 -1
  3245. mindspore/include/mindspore/ops/kernel/include/common/kernel_tensor.h +119 -306
  3246. mindspore/include/mindspore/ops/op_def/array_ops.h +0 -1
  3247. mindspore/include/mindspore/ops/op_def/auto_generate/gen_lite_ops.h +3046 -2951
  3248. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_def.h +797 -784
  3249. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_a.h +61 -59
  3250. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_b.h +27 -27
  3251. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_c.h +34 -34
  3252. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_d.h +29 -28
  3253. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_e.h +27 -26
  3254. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_f.h +20 -19
  3255. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_g.h +20 -20
  3256. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_h.h +9 -9
  3257. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_i.h +68 -65
  3258. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_k.h +2 -2
  3259. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_l.h +33 -33
  3260. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_m.h +43 -40
  3261. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_n.h +18 -17
  3262. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_o.h +2 -2
  3263. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_p.h +6 -7
  3264. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_q.h +4 -3
  3265. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_r.h +59 -59
  3266. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_s.h +67 -67
  3267. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_t.h +20 -19
  3268. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_u.h +14 -14
  3269. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_v.h +2 -2
  3270. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_x.h +1 -1
  3271. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_name_z.h +2 -2
  3272. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_a.h +61 -59
  3273. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_b.h +27 -27
  3274. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_c.h +34 -34
  3275. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_d.h +29 -28
  3276. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_e.h +27 -26
  3277. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_f.h +20 -19
  3278. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_g.h +20 -20
  3279. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_h.h +9 -9
  3280. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_i.h +68 -65
  3281. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_k.h +2 -2
  3282. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_l.h +33 -33
  3283. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_m.h +43 -40
  3284. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_n.h +18 -17
  3285. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_o.h +2 -2
  3286. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_p.h +6 -7
  3287. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_q.h +4 -3
  3288. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_r.h +59 -59
  3289. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_s.h +67 -67
  3290. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_t.h +20 -19
  3291. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_u.h +14 -14
  3292. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_v.h +2 -2
  3293. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_x.h +1 -1
  3294. mindspore/include/mindspore/ops/op_def/auto_generate/gen_ops_primitive_z.h +2 -2
  3295. mindspore/include/mindspore/ops/op_def/op_enum.h +2 -0
  3296. mindspore/include/mindspore/ops/op_def/other_op_name.h +6 -0
  3297. mindspore/include/mindspore/ops/op_def/other_ops.h +2 -0
  3298. mindspore/include/mindspore/ops/ops_utils/memory_overlap.h +4 -5
  3299. mindspore/include/mindspore/ops/ops_utils/op_constants.h +11 -0
  3300. mindspore/include/mindspore/ops/ops_utils/op_utils.h +5 -0
  3301. mindspore/include/mindspore/ops/ops_utils/type_dispatch.h +42 -42
  3302. mindspore/include/mindspore/ops/view/as_strided_strides_calc.h +5 -1
  3303. mindspore/include/mindspore/ops/view/broadcast_to_strides_calc.h +4 -2
  3304. mindspore/include/mindspore/ops/view/broadcast_to_view_strides_calc.h +3 -1
  3305. mindspore/include/mindspore/ops/view/chunk_strides_calc.h +3 -1
  3306. mindspore/include/mindspore/ops/view/chunk_view_strides_calc.h +3 -1
  3307. mindspore/include/mindspore/ops/view/diagonal_strides_calc.h +6 -3
  3308. mindspore/include/mindspore/ops/view/diagonal_view_strides_calc.h +32 -0
  3309. mindspore/include/mindspore/ops/view/expand_dims_strides_calc.h +3 -1
  3310. mindspore/include/mindspore/ops/view/expand_dims_view_strides_calc.h +3 -1
  3311. mindspore/include/mindspore/ops/view/narrow_strides_calc.h +4 -2
  3312. mindspore/include/mindspore/ops/view/narrow_view_strides_calc.h +4 -2
  3313. mindspore/include/mindspore/ops/view/reshape_strides_calc.h +2 -1
  3314. mindspore/include/mindspore/ops/view/select_ext_view_strides_calc.h +3 -1
  3315. mindspore/include/mindspore/ops/view/slice_ext_strides_calc.h +4 -1
  3316. mindspore/include/mindspore/ops/view/slice_ext_view_strides_calc.h +4 -2
  3317. mindspore/include/mindspore/ops/view/slice_strides_calc.h +4 -1
  3318. mindspore/include/mindspore/ops/view/split_strides_calc.h +3 -1
  3319. mindspore/include/mindspore/ops/view/split_tensor_strides_calc.h +3 -1
  3320. mindspore/include/mindspore/ops/view/split_tensor_view_strides_calc.h +3 -1
  3321. mindspore/include/mindspore/ops/view/split_with_size_strides_calc.h +3 -1
  3322. mindspore/include/mindspore/ops/view/split_with_size_view_strides_calc.h +4 -1
  3323. mindspore/include/mindspore/ops/view/squeeze_strides_calc.h +3 -0
  3324. mindspore/include/mindspore/ops/view/transpose_ext_view_strides_calc.h +3 -0
  3325. mindspore/include/mindspore/ops/view/transpose_strides_calc.h +3 -1
  3326. mindspore/include/mindspore/ops/view/transpose_view_strides_calc.h +3 -0
  3327. mindspore/include/mindspore/ops/view/unstack_ext_view_strides_calc.h +1 -1
  3328. mindspore/include/mindspore/ops/view/view_strides_calc.h +3 -2
  3329. mindspore/include/mindspore/ops/view/view_strides_calculator.h +1 -2
  3330. mindspore/include/ms_extension.h +12 -5
  3331. mindspore/lib/libavcodec.so.59 +0 -0
  3332. mindspore/lib/libavdevice.so.59 +0 -0
  3333. mindspore/lib/libavfilter.so.8 +0 -0
  3334. mindspore/lib/libavformat.so.59 +0 -0
  3335. mindspore/lib/libavutil.so.57 +0 -0
  3336. mindspore/lib/libdnnl.so.2 +0 -0
  3337. mindspore/lib/libmindspore_backend_common.so +0 -0
  3338. mindspore/lib/libmindspore_backend_manager.so +0 -0
  3339. mindspore/lib/libmindspore_common.so +0 -0
  3340. mindspore/lib/libmindspore_core.so +0 -0
  3341. mindspore/lib/libmindspore_dump.so +0 -0
  3342. mindspore/lib/libmindspore_extension.so +0 -0
  3343. mindspore/lib/libmindspore_frontend.so +0 -0
  3344. mindspore/lib/libmindspore_ge_backend.so +0 -0
  3345. mindspore/lib/libmindspore_glog.so.0 +0 -0
  3346. mindspore/lib/libmindspore_gpr.so.15 +0 -0
  3347. mindspore/lib/libmindspore_grpc++.so.1 +0 -0
  3348. mindspore/lib/libmindspore_grpc.so.15 +0 -0
  3349. mindspore/lib/libmindspore_memory_pool.so +0 -0
  3350. mindspore/lib/libmindspore_ms_backend.so +0 -0
  3351. mindspore/lib/libmindspore_ops.so +0 -0
  3352. mindspore/lib/libmindspore_ops_kernel_common.so +0 -0
  3353. mindspore/lib/libmindspore_profiler.so +0 -0
  3354. mindspore/lib/libmindspore_pyboost.so +0 -0
  3355. mindspore/lib/libmindspore_pynative.so +0 -0
  3356. mindspore/lib/libmindspore_res_manager.so +0 -0
  3357. mindspore/lib/libmindspore_runtime_pipeline.so +0 -0
  3358. mindspore/lib/libmpi_adapter.so +0 -0
  3359. mindspore/lib/libmpi_collective.so +0 -0
  3360. mindspore/lib/libnnacl.so +0 -0
  3361. mindspore/lib/libopencv_core.so.4.5 +0 -0
  3362. mindspore/lib/libopencv_imgproc.so.4.5 +0 -0
  3363. mindspore/lib/libps_cache.so +0 -0
  3364. mindspore/lib/libswresample.so.4 +0 -0
  3365. mindspore/lib/libswscale.so.6 +0 -0
  3366. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/custom.py +4 -4
  3367. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/ai_core/tbe/custom_aicore_ops_impl/matmul_tik.py +1 -0
  3368. mindspore/lib/plugin/ascend/custom_aicore_ops/op_impl/vector_core/tbe/custom_aicore_ops_impl/matmul_tik.py +1 -0
  3369. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/aicpu_kernel/impl/libcust_cpu_kernels.so +0 -0
  3370. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/config/cust_aicpu_kernel.json +96 -72
  3371. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_proto/libcust_op_proto.so +0 -0
  3372. mindspore/lib/plugin/ascend/custom_ascendc_910b/framework/plugin/npu_supported_ops.json +0 -8
  3373. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/lib/libcust_opapi.so +0 -0
  3374. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend310p/aic-ascend310p-ops-info.json +0 -180
  3375. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend910_93/aic-ascend910_93-ops-info.json +0 -180
  3376. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json +0 -180
  3377. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/all_finite.py +28 -12
  3378. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3379. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3380. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3381. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3382. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3383. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3384. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3385. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3386. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3387. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3388. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3389. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3390. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +2 -1
  3391. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  3392. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +2 -1
  3393. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  3394. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +2 -1
  3395. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  3396. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/binary_info_config.json +0 -300
  3397. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/binary_info_config.json +0 -300
  3398. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/binary_info_config.json +0 -300
  3399. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/lib/linux/x86_64/libcust_opmaster_rt2.0.so +0 -0
  3400. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  3401. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/inc/op_proto.h +0 -22
  3402. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/lib/linux/x86_64/libcust_opsproto_rt2.0.so +0 -0
  3403. mindspore/lib/plugin/ascend/custom_ascendc_910b/version.info +1 -1
  3404. mindspore/lib/plugin/ascend/custom_compiler/OWNERS +1 -0
  3405. mindspore/lib/plugin/ascend/libakg.so +0 -0
  3406. mindspore/lib/plugin/ascend/libascend_collective.so +0 -0
  3407. mindspore/lib/plugin/ascend/libd_collective.so +0 -0
  3408. mindspore/lib/plugin/ascend/libdvpp_utils.so +0 -0
  3409. mindspore/lib/plugin/ascend/libhccl_plugin.so +0 -0
  3410. mindspore/lib/plugin/ascend/liblowlatency_collective.so +0 -0
  3411. mindspore/lib/plugin/ascend/libmindspore_ascend_res_manager.so +0 -0
  3412. mindspore/lib/plugin/ascend/libmindspore_atb_kernels.so +0 -0
  3413. mindspore/lib/plugin/ascend/libmindspore_cpu_kernels.so +0 -0
  3414. mindspore/lib/plugin/ascend/libmindspore_extension_ascend_atb.a +0 -0
  3415. mindspore/lib/plugin/ascend/libmindspore_graph_ir.so +0 -0
  3416. mindspore/lib/plugin/ascend/libmindspore_internal_kernels.so +0 -0
  3417. mindspore/lib/plugin/ascend/libmindspore_pyboost_atb_kernels.so +0 -0
  3418. mindspore/lib/plugin/ascend/libms_atb_boost.so +0 -0
  3419. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/faUpdate.h +35 -0
  3420. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/logprobs.h +28 -0
  3421. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/params.h +3 -0
  3422. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/asdops/params/scatter_elements_v2.h +39 -0
  3423. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/fused_add_topk_div.h +3 -1
  3424. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/mla.h +14 -1
  3425. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/mla_preprocess.h +8 -1
  3426. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/params.h +1 -0
  3427. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/toppsample_rand.h +31 -0
  3428. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/atbops/params/unpad_flash_attention.h +12 -1
  3429. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_api.h +1 -1
  3430. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_comm.h +3 -2
  3431. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcal_types.h +1 -0
  3432. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lccl.h +2 -0
  3433. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc/lcoc_args.h +7 -4
  3434. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc/lcoc_func.h +2 -1
  3435. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc_args.h +7 -4
  3436. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/lcal/lcoc_func.h +2 -1
  3437. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/tensor.h +2 -1
  3438. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/utils/log/log.h +7 -7
  3439. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/include/mki/utils/log/log_sink_file.h +1 -0
  3440. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops.so +0 -0
  3441. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops_static.a +0 -0
  3442. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libatb_mixops.so +0 -0
  3443. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libatb_mixops_static.a +0 -0
  3444. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libexp_mixops_static.a +0 -0
  3445. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libexp_ops_static.a +0 -0
  3446. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal.so +0 -0
  3447. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal_static.a +0 -0
  3448. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libmki.so +0 -0
  3449. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libtbe_adapter.so +0 -0
  3450. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/base_type.h +7 -0
  3451. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/op_creator.h +26 -11
  3452. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/op_param.h +51 -0
  3453. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/tiling_utils.h +1 -100
  3454. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_layer_norm_op.so +0 -0
  3455. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_dynamic_quant_op.so +0 -0
  3456. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_op.so +0 -0
  3457. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_quant_op.so +0 -0
  3458. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libapply_rotary_pos_emb_310p_op.so +0 -0
  3459. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libapply_rotary_pos_emb_op.so +0 -0
  3460. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libcast_op.so +0 -0
  3461. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libcompare_op.so +0 -0
  3462. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libgelu_op.so +0 -0
  3463. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libgroup_topk_op.so +0 -0
  3464. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libkv_scale_cache_op.so +0 -0
  3465. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmatmul_op.so +0 -0
  3466. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmoe_gating_group_topk_op.so +0 -0
  3467. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libms_kernels_internal.so +0 -0
  3468. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmulti_weight_matmul_kernel_gelu_op.so +0 -0
  3469. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libmulti_weight_matmul_kernel_op.so +0 -0
  3470. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libreshape_and_cache_nz_op.so +0 -0
  3471. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libreshape_and_cache_op.so +0 -0
  3472. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/librms_norm_op.so +0 -0
  3473. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libswiglu_dynamic_quant_op.so +0 -0
  3474. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libtranspose_batch_matmul_transpose_op.so +0 -0
  3475. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_f16_310p/internal_grouped_matmul_f16_310p.o +0 -0
  3476. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_f16_310p/internal_grouped_matmul_f16_310p_0.o +0 -0
  3477. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_i8_310p/internal_grouped_matmul_i8_310p.o +0 -0
  3478. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_grouped_matmul_i8_310p/internal_grouped_matmul_i8_310p_0.o +0 -0
  3479. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_f16_nz/internal_pp_matmul_f16_nz.o +0 -0
  3480. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_f16_nz/internal_pp_matmul_f16_nz_0.o +0 -0
  3481. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_i8_nz_compress/internal_pp_matmul_i8_nz_compress.o +0 -0
  3482. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_i8_nz_compress/internal_pp_matmul_i8_nz_compress_0.o +0 -0
  3483. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_int8_nz/internal_pp_matmul_int8_nz.o +0 -0
  3484. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/object_kernels/internal_pp_matmul_int8_nz/internal_pp_matmul_int8_nz_0.o +0 -0
  3485. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libadd_rms_norm_quant_ascend310p.so +0 -0
  3486. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libapply_rotary_pos_emb_310p_ascend310p.so +0 -0
  3487. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libcast_ascend310p.so +0 -0
  3488. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libcompare_ascend310p.so +0 -0
  3489. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libgelu_ascend310p.so +0 -0
  3490. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmatmul_ascend310p.so +0 -0
  3491. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmoe_gating_group_topk_ascend310p.so +0 -0
  3492. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmulti_weight_matmul_kernel_ascend310p.so +0 -0
  3493. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libmulti_weight_matmul_kernel_gelu_ascend310p.so +0 -0
  3494. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend310p/so_kernels/libreshape_and_cache_nz_ascend310p.so +0 -0
  3495. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bnsd_full_mix.o +0 -0
  3496. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bnsd_tri_mix.o +0 -0
  3497. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bsh_full_mix.o +0 -0
  3498. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_bf16_bsh_tri_mix.o +0 -0
  3499. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bnsd_full_mix.o +0 -0
  3500. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bsh_full_mix.o +0 -0
  3501. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/flash_attention_score/flash_attention_score_fp16_bsh_tri_mix.o +0 -0
  3502. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_matmul_postfusion_mix/internal_matmul_postfusion_mix.o +0 -0
  3503. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_matmul_postfusion_mix/internal_matmul_postfusion_mix_mix_aic_0.o +0 -0
  3504. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_matmul_postfusion_mix/internal_matmul_postfusion_mix_mix_aiv_0.o +0 -0
  3505. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_multi_weight_matmul_postfusion_mix/internal_multi_weight_matmul_postfusion_mix.o +0 -0
  3506. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_multi_weight_matmul_postfusion_mix/internal_multi_weight_matmul_postfusion_mix_mix_aic_0.o +0 -0
  3507. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/internal_multi_weight_matmul_postfusion_mix/internal_multi_weight_matmul_postfusion_mix_mix_aiv_0.o +0 -0
  3508. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_bf16_bf16.o +0 -0
  3509. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_bf16_fp16.o +0 -0
  3510. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_bf16_fp32.o +0 -0
  3511. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_fp16_bf16.o +0 -0
  3512. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_fp16_fp16.o +0 -0
  3513. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/matmul_add_rmsnorm/matmul_add_rmsnorm_fp16_fp32.o +0 -0
  3514. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2.o +0 -0
  3515. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2_mix_aic_0.o +0 -0
  3516. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/object_kernels/paged_attention_v2/paged_attention_v2_mix_aiv_0.o +0 -0
  3517. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_layer_norm_ascend910b.so +0 -0
  3518. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_ascend910b.so +0 -0
  3519. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_dynamic_quant_ascend910b.so +0 -0
  3520. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libadd_rms_norm_quant_ascend910b.so +0 -0
  3521. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libapply_rotary_pos_emb_ascend910b.so +0 -0
  3522. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libcast_ascend910b.so +0 -0
  3523. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libcompare_ascend910b.so +0 -0
  3524. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libgelu_ascend910b.so +0 -0
  3525. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libgroup_topk_ascend910b.so +0 -0
  3526. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libkv_scale_cache_ascend910b.so +0 -0
  3527. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmatmul_ascend910b.so +0 -0
  3528. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmoe_gating_group_topk_ascend910b.so +0 -0
  3529. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libmulti_weight_matmul_kernel_ascend910b.so +0 -0
  3530. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libreshape_and_cache_ascend910b.so +0 -0
  3531. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/librms_norm_ascend910b.so +0 -0
  3532. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libswiglu_dynamic_quant_ascend910b.so +0 -0
  3533. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libtranspose_batch_matmul_transpose_ascend910b.so +0 -0
  3534. mindspore/lib/plugin/cpu/libakg.so +0 -0
  3535. mindspore/lib/plugin/cpu/libmindspore_cpu_res_manager.so +0 -0
  3536. mindspore/lib/plugin/gpu/libcuda_ops.so.11 +0 -0
  3537. mindspore/lib/plugin/{libmindspore_gpu_res_manager.so → gpu/libmindspore_gpu_res_manager.so} +0 -0
  3538. mindspore/lib/plugin/gpu11.1/libakg.so +0 -0
  3539. mindspore/lib/plugin/gpu11.1/libnvidia_collective.so +0 -0
  3540. mindspore/lib/plugin/gpu11.6/libakg.so +0 -0
  3541. mindspore/lib/plugin/gpu11.6/libnccl.so.2 +0 -0
  3542. mindspore/lib/plugin/gpu11.6/libnvidia_collective.so +0 -0
  3543. mindspore/lib/plugin/libmindspore_ascend.so.2 +0 -0
  3544. mindspore/lib/plugin/libmindspore_gpu.so.11.1 +0 -0
  3545. mindspore/lib/plugin/libmindspore_gpu.so.11.6 +0 -0
  3546. mindspore/lib/plugin/libmindspore_ops_ascend.so +0 -0
  3547. mindspore/lib/plugin/libmindspore_ops_host.so +0 -0
  3548. mindspore/mindrecord/tools/cifar10.py +60 -11
  3549. mindspore/mindrecord/tools/cifar10_to_mr.py +5 -0
  3550. mindspore/mint/__init__.py +4 -44
  3551. mindspore/mint/distributed/__init__.py +1 -0
  3552. mindspore/mint/distributed/distributed.py +208 -5
  3553. mindspore/mint/nn/__init__.py +1 -1
  3554. mindspore/mint/nn/functional.py +53 -6
  3555. mindspore/mint/nn/layer/_functions.py +164 -294
  3556. mindspore/mint/nn/layer/activation.py +8 -6
  3557. mindspore/mint/nn/layer/conv.py +122 -98
  3558. mindspore/mint/nn/layer/normalization.py +8 -22
  3559. mindspore/mint/optim/adam.py +19 -18
  3560. mindspore/mint/optim/adamw.py +14 -8
  3561. mindspore/mint/optim/sgd.py +5 -5
  3562. mindspore/nn/cell.py +325 -499
  3563. mindspore/nn/grad/cell_grad.py +11 -12
  3564. mindspore/nn/layer/activation.py +32 -34
  3565. mindspore/nn/layer/basic.py +67 -64
  3566. mindspore/nn/layer/channel_shuffle.py +4 -4
  3567. mindspore/nn/layer/combined.py +4 -2
  3568. mindspore/nn/layer/conv.py +86 -85
  3569. mindspore/nn/layer/dense.py +9 -7
  3570. mindspore/nn/layer/embedding.py +50 -52
  3571. mindspore/nn/layer/image.py +37 -39
  3572. mindspore/nn/layer/math.py +111 -112
  3573. mindspore/nn/layer/normalization.py +56 -44
  3574. mindspore/nn/layer/pooling.py +58 -63
  3575. mindspore/nn/layer/rnn_cells.py +33 -33
  3576. mindspore/nn/layer/rnns.py +56 -56
  3577. mindspore/nn/layer/thor_layer.py +74 -73
  3578. mindspore/nn/layer/transformer.py +11 -1
  3579. mindspore/nn/learning_rate_schedule.py +20 -20
  3580. mindspore/nn/loss/loss.py +79 -81
  3581. mindspore/nn/optim/adam.py +1 -1
  3582. mindspore/nn/optim/adasum.py +2 -2
  3583. mindspore/nn/optim/optimizer.py +1 -1
  3584. mindspore/nn/optim/thor.py +2 -2
  3585. mindspore/nn/probability/distribution/exponential.py +2 -1
  3586. mindspore/nn/probability/distribution/poisson.py +2 -1
  3587. mindspore/nn/sparse/sparse.py +3 -3
  3588. mindspore/nn/wrap/cell_wrapper.py +34 -37
  3589. mindspore/nn/wrap/grad_reducer.py +37 -37
  3590. mindspore/nn/wrap/loss_scale.py +72 -74
  3591. mindspore/numpy/array_creations.py +5 -5
  3592. mindspore/numpy/fft.py +1 -1
  3593. mindspore/numpy/math_ops.py +1 -1
  3594. mindspore/ops/_grad_experimental/grad_comm_ops.py +51 -13
  3595. mindspore/ops/_grad_experimental/grad_debug_ops.py +14 -0
  3596. mindspore/ops/_vmap/vmap_array_ops.py +6 -13
  3597. mindspore/ops/_vmap/vmap_nn_ops.py +8 -16
  3598. mindspore/ops/auto_generate/cpp_create_prim_instance_helper.py +445 -436
  3599. mindspore/ops/auto_generate/gen_extend_func.py +1285 -1335
  3600. mindspore/ops/auto_generate/gen_ops_def.py +6625 -6419
  3601. mindspore/ops/auto_generate/gen_ops_prim.py +16547 -16305
  3602. mindspore/ops/auto_generate/pyboost_inner_prim.py +353 -323
  3603. mindspore/ops/composite/__init__.py +10 -0
  3604. mindspore/ops/composite/base.py +8 -4
  3605. mindspore/ops/composite/multitype_ops/__init__.py +12 -1
  3606. mindspore/ops/composite/multitype_ops/_compile_utils.py +132 -108
  3607. mindspore/ops/composite/multitype_ops/add_impl.py +70 -2
  3608. mindspore/ops/composite/multitype_ops/div_impl.py +49 -0
  3609. mindspore/ops/composite/multitype_ops/floordiv_impl.py +29 -0
  3610. mindspore/ops/composite/multitype_ops/getitem_impl.py +11 -0
  3611. mindspore/ops/composite/multitype_ops/mod_impl.py +5 -3
  3612. mindspore/ops/composite/multitype_ops/mul_impl.py +49 -0
  3613. mindspore/ops/composite/multitype_ops/setitem_impl.py +57 -0
  3614. mindspore/ops/composite/multitype_ops/sub_impl.py +34 -0
  3615. mindspore/ops/composite/multitype_ops/zeros_like_impl.py +14 -0
  3616. mindspore/ops/function/__init__.py +3 -1
  3617. mindspore/ops/function/_add_attr_func.py +11 -6
  3618. mindspore/ops/function/array_func.py +7 -94
  3619. mindspore/ops/function/debug_func.py +4 -3
  3620. mindspore/ops/function/grad/grad_func.py +1 -1
  3621. mindspore/ops/function/math_func.py +21 -367
  3622. mindspore/ops/function/nn_func.py +26 -41
  3623. mindspore/ops/function/other_func.py +4 -1
  3624. mindspore/ops/function/random_func.py +31 -4
  3625. mindspore/ops/functional.py +0 -2
  3626. mindspore/ops/functional_overload.py +1400 -943
  3627. mindspore/ops/op_info_register.py +21 -0
  3628. mindspore/ops/operations/__init__.py +5 -2
  3629. mindspore/ops/operations/_custom_ops_utils.py +675 -8
  3630. mindspore/ops/operations/_inner_ops.py +3 -6
  3631. mindspore/ops/operations/_sequence_ops.py +1 -1
  3632. mindspore/ops/operations/comm_ops.py +185 -26
  3633. mindspore/ops/operations/custom_ops.py +235 -172
  3634. mindspore/ops/operations/debug_ops.py +55 -4
  3635. mindspore/ops/operations/image_ops.py +13 -13
  3636. mindspore/ops/operations/manually_defined/ops_def.py +15 -16
  3637. mindspore/ops/operations/math_ops.py +3 -4
  3638. mindspore/ops/operations/nn_ops.py +5 -6
  3639. mindspore/ops/primitive.py +6 -10
  3640. mindspore/ops/tensor_method.py +36 -4
  3641. mindspore/ops_generate/api/cpp_create_prim_instance_helper_generator.py +1 -1
  3642. mindspore/ops_generate/api/functional_map_cpp_generator.py +10 -9
  3643. mindspore/ops_generate/api/functions_cc_generator.py +58 -10
  3644. mindspore/ops_generate/api/tensor_func_reg_cpp_generator.py +1 -1
  3645. mindspore/ops_generate/common/base_generator.py +14 -0
  3646. mindspore/ops_generate/common/gen_constants.py +7 -2
  3647. mindspore/ops_generate/common/gen_utils.py +0 -19
  3648. mindspore/ops_generate/common/op_proto.py +11 -4
  3649. mindspore/ops_generate/common/template.py +88 -11
  3650. mindspore/ops_generate/gen_ops.py +1 -1
  3651. mindspore/ops_generate/op_def/lite_ops_cpp_generator.py +4 -4
  3652. mindspore/ops_generate/op_def/ops_name_h_generator.py +0 -3
  3653. mindspore/ops_generate/op_def/ops_primitive_h_generator.py +0 -4
  3654. mindspore/ops_generate/op_def_py/op_prim_py_generator.py +5 -2
  3655. mindspore/ops_generate/pyboost/auto_grad_impl_cc_generator.py +49 -8
  3656. mindspore/ops_generate/pyboost/auto_grad_reg_cc_generator.py +2 -2
  3657. mindspore/ops_generate/pyboost/gen_pyboost_func.py +31 -0
  3658. mindspore/ops_generate/pyboost/op_template_parser.py +98 -72
  3659. mindspore/ops_generate/pyboost/pyboost_functions_cpp_generator.py +70 -273
  3660. mindspore/ops_generate/pyboost/pyboost_functions_h_generator.py +14 -6
  3661. mindspore/ops_generate/pyboost/pyboost_functions_impl_cpp_generator.py +316 -0
  3662. mindspore/ops_generate/pyboost/pyboost_functions_py_generator.py +1 -1
  3663. mindspore/ops_generate/pyboost/pyboost_grad_function_cpp_generator.py +5 -3
  3664. mindspore/ops_generate/pyboost/pyboost_inner_prim_generator.py +1 -1
  3665. mindspore/ops_generate/pyboost/pyboost_internal_functions_cpp_generator.py +76 -0
  3666. mindspore/ops_generate/pyboost/pyboost_internal_functions_h_generator.py +76 -0
  3667. mindspore/ops_generate/pyboost/pyboost_internal_kernel_info_adapter_generator.py +125 -0
  3668. mindspore/ops_generate/pyboost/pyboost_native_grad_functions_generator.py +4 -3
  3669. mindspore/ops_generate/pyboost/pyboost_op_cpp_code_generator.py +348 -61
  3670. mindspore/ops_generate/pyboost/pyboost_overload_functions_cpp_generator.py +1 -1
  3671. mindspore/ops_generate/pyboost/pyboost_utils.py +118 -9
  3672. mindspore/ops_generate/tensor_py_cc_generator.py +1 -24
  3673. mindspore/parallel/_auto_parallel_context.py +4 -2
  3674. mindspore/parallel/_cell_wrapper.py +106 -40
  3675. mindspore/parallel/_parallel_serialization.py +1 -1
  3676. mindspore/parallel/_ps_context.py +4 -6
  3677. mindspore/parallel/_tensor.py +167 -12
  3678. mindspore/parallel/_transformer/moe.py +1 -1
  3679. mindspore/parallel/_transformer/transformer.py +13 -8
  3680. mindspore/parallel/auto_parallel.py +12 -5
  3681. mindspore/parallel/checkpoint_convert.py +3 -3
  3682. mindspore/parallel/checkpoint_transform.py +3 -1
  3683. mindspore/parallel/cluster/process_entity/_api.py +84 -48
  3684. mindspore/parallel/cluster/process_entity/_utils.py +95 -7
  3685. mindspore/parallel/cluster/run.py +43 -4
  3686. mindspore/parallel/function/__init__.py +8 -1
  3687. mindspore/parallel/function/reshard_func.py +1 -1
  3688. mindspore/parallel/nn/__init__.py +15 -2
  3689. mindspore/parallel/nn/parallel_cell_wrapper.py +9 -10
  3690. mindspore/parallel/nn/parallel_grad_reducer.py +7 -6
  3691. mindspore/parallel/shard.py +2 -2
  3692. mindspore/parallel/transform_safetensors.py +462 -174
  3693. mindspore/profiler/__init__.py +2 -1
  3694. mindspore/profiler/analysis/parser/timeline_assembly_factory/ascend_timeline_assembler.py +7 -7
  3695. mindspore/profiler/analysis/parser/timeline_assembly_factory/base_timeline_assembler.py +3 -0
  3696. mindspore/profiler/analysis/parser/timeline_assembly_factory/trace_view_container.py +3 -0
  3697. mindspore/profiler/analysis/parser/timeline_creator/cpu_op_timeline_creator.py +3 -3
  3698. mindspore/profiler/analysis/parser/timeline_creator/fwk_timeline_creator.py +3 -3
  3699. mindspore/profiler/analysis/parser/timeline_creator/msprof_timeline_creator.py +4 -4
  3700. mindspore/profiler/analysis/parser/timeline_creator/scope_layer_timeline_creator.py +3 -3
  3701. mindspore/profiler/analysis/parser/timeline_event/fwk_event.py +4 -1
  3702. mindspore/profiler/analysis/parser/timeline_event/timeline_event_pool.py +2 -1
  3703. mindspore/profiler/analysis/task_manager.py +1 -1
  3704. mindspore/profiler/analysis/viewer/ascend_communication_viewer.py +5 -1
  3705. mindspore/profiler/analysis/viewer/ascend_integrate_viewer.py +2 -1
  3706. mindspore/profiler/analysis/viewer/ascend_op_memory_viewer.py +42 -22
  3707. mindspore/profiler/analysis/viewer/ascend_step_trace_time_viewer.py +3 -2
  3708. mindspore/profiler/analysis/viewer/ms_minddata_viewer.py +9 -5
  3709. mindspore/profiler/analysis/viewer/ms_operator_details_viewer.py +132 -0
  3710. mindspore/profiler/common/constant.py +16 -0
  3711. mindspore/profiler/common/profiler_context.py +25 -27
  3712. mindspore/profiler/common/profiler_info.py +0 -16
  3713. mindspore/profiler/common/profiler_op_analyse.py +235 -0
  3714. mindspore/profiler/common/profiler_output_path.py +23 -8
  3715. mindspore/profiler/common/profiler_parameters.py +128 -35
  3716. mindspore/profiler/dynamic_profile/__init__.py +0 -0
  3717. mindspore/profiler/dynamic_profile/dynamic_monitor_proxy.py +39 -0
  3718. mindspore/profiler/dynamic_profile/dynamic_profiler_config_context.py +666 -0
  3719. mindspore/profiler/dynamic_profile/dynamic_profiler_utils.py +62 -0
  3720. mindspore/profiler/dynamic_profiler.py +305 -314
  3721. mindspore/profiler/envprofiler.py +12 -7
  3722. mindspore/profiler/experimental_config.py +96 -6
  3723. mindspore/profiler/mstx.py +33 -12
  3724. mindspore/profiler/platform/__init__.py +2 -3
  3725. mindspore/profiler/platform/npu_profiler.py +29 -19
  3726. mindspore/profiler/profiler.py +35 -19
  3727. mindspore/profiler/profiler_action_controller.py +64 -76
  3728. mindspore/profiler/schedule.py +10 -4
  3729. mindspore/rewrite/common/config.py +1 -0
  3730. mindspore/rewrite/common/namer.py +1 -0
  3731. mindspore/rewrite/common/namespace.py +1 -0
  3732. mindspore/rewrite/node/node.py +31 -11
  3733. mindspore/rewrite/parsers/assign_parser.py +1 -1
  3734. mindspore/rewrite/symbol_tree/symbol_tree.py +1 -1
  3735. mindspore/run_check/_check_version.py +7 -10
  3736. mindspore/runtime/__init__.py +5 -5
  3737. mindspore/runtime/event.py +10 -4
  3738. mindspore/runtime/executor.py +60 -45
  3739. mindspore/runtime/memory.py +21 -30
  3740. mindspore/runtime/thread_bind_core.py +298 -164
  3741. mindspore/safeguard/rewrite_obfuscation.py +12 -13
  3742. mindspore/scipy/linalg.py +2 -2
  3743. mindspore/scipy/utils_const.py +0 -17
  3744. mindspore/train/_utils.py +6 -2
  3745. mindspore/train/amp.py +43 -20
  3746. mindspore/train/callback/__init__.py +5 -5
  3747. mindspore/train/callback/_checkpoint.py +3 -6
  3748. mindspore/train/callback/_flops_collector.py +1 -1
  3749. mindspore/train/callback/_landscape.py +0 -1
  3750. mindspore/train/callback/_train_fault_tolerance.py +71 -13
  3751. mindspore/train/data_sink.py +11 -2
  3752. mindspore/train/dataset_helper.py +9 -0
  3753. mindspore/train/model.py +51 -33
  3754. mindspore/train/serialization.py +133 -111
  3755. mindspore/train/summary/summary_record.py +13 -2
  3756. mindspore/utils/__init__.py +3 -2
  3757. mindspore/utils/bin/dataset-cache +0 -0
  3758. mindspore/utils/bin/dataset-cache-server +0 -0
  3759. mindspore/utils/dryrun.py +0 -6
  3760. mindspore/utils/runtime_execution_order_check.py +162 -78
  3761. mindspore/utils/sdc_detect.py +68 -0
  3762. mindspore/utils/utils.py +6 -9
  3763. mindspore/version.py +1 -1
  3764. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/METADATA +5 -4
  3765. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/RECORD +3771 -3916
  3766. mindspore/_deprecated/jit.py +0 -198
  3767. mindspore/experimental/es/__init__.py +0 -22
  3768. mindspore/experimental/es/embedding_service.py +0 -891
  3769. mindspore/experimental/es/embedding_service_layer.py +0 -581
  3770. mindspore/include/mindspore/ccsrc/backend/common/graph_kernel/proactive_fallback_expander.h +0 -39
  3771. mindspore/include/mindspore/ccsrc/backend/common/session/session_context.h +0 -47
  3772. mindspore/include/mindspore/ccsrc/backend/ge_backend/pass/matmul_allreduce_add_rmsnorm_fusion.h +0 -67
  3773. mindspore/include/mindspore/ccsrc/backend/graph_compiler/backend.h +0 -124
  3774. mindspore/include/mindspore/ccsrc/backend/graph_compiler/backend_base.h +0 -205
  3775. mindspore/include/mindspore/ccsrc/backend/graph_compiler/ge_backend/ge_backend.h +0 -86
  3776. mindspore/include/mindspore/ccsrc/debug/data_dump/data_dumper.h +0 -56
  3777. mindspore/include/mindspore/ccsrc/debug/hooker/acl_data_adapter.h +0 -51
  3778. mindspore/include/mindspore/ccsrc/debug/hooker/adapter.h +0 -75
  3779. mindspore/include/mindspore/ccsrc/debug/hooker/hook_debugger.h +0 -55
  3780. mindspore/include/mindspore/ccsrc/debug/hooker/hook_dynamic_loader.h +0 -52
  3781. mindspore/include/mindspore/ccsrc/frontend/parallel/ops_info/prompt_k_v_cache_info.h +0 -59
  3782. mindspore/include/mindspore/ccsrc/include/backend/debug/data_dump/overflow_dumper.h +0 -50
  3783. mindspore/include/mindspore/ccsrc/include/backend/device_synchronizer.h +0 -49
  3784. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/constants.h +0 -174
  3785. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/rdma_client.h +0 -83
  3786. mindspore/include/mindspore/ccsrc/include/backend/distributed/rpc/rdma/rdma_server.h +0 -71
  3787. mindspore/include/mindspore/ccsrc/pipeline/jit/pi/utils/ptr_list_ref.h +0 -423
  3788. mindspore/include/mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_stream_assign.h +0 -255
  3789. mindspore/include/mindspore/ccsrc/plugin/device/ascend/kernel/ge/ge_kernel_mod.h +0 -78
  3790. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/ascend_native/boost_model_ascend_native.h +0 -51
  3791. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async.h +0 -100
  3792. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async_logger-inl.h +0 -86
  3793. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/async_logger.h +0 -74
  3794. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/argv.h +0 -40
  3795. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/env.h +0 -36
  3796. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/helpers-inl.h +0 -107
  3797. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/cfg/helpers.h +0 -29
  3798. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/common-inl.h +0 -68
  3799. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/common.h +0 -411
  3800. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/backtracer-inl.h +0 -63
  3801. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/backtracer.h +0 -45
  3802. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/circular_q.h +0 -115
  3803. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/console_globals.h +0 -28
  3804. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/file_helper-inl.h +0 -152
  3805. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/file_helper.h +0 -61
  3806. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/fmt_helper.h +0 -141
  3807. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg-inl.h +0 -44
  3808. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg.h +0 -40
  3809. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg_buffer-inl.h +0 -54
  3810. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/log_msg_buffer.h +0 -32
  3811. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/mpmc_blocking_q.h +0 -177
  3812. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/null_mutex.h +0 -35
  3813. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/os-inl.h +0 -594
  3814. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/os.h +0 -123
  3815. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/periodic_worker-inl.h +0 -26
  3816. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/periodic_worker.h +0 -58
  3817. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/registry-inl.h +0 -261
  3818. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/registry.h +0 -129
  3819. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/synchronous_factory.h +0 -22
  3820. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/tcp_client-windows.h +0 -135
  3821. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/tcp_client.h +0 -127
  3822. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/thread_pool-inl.h +0 -132
  3823. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/thread_pool.h +0 -128
  3824. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/udp_client-windows.h +0 -98
  3825. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/udp_client.h +0 -81
  3826. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/details/windows_include.h +0 -11
  3827. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bin_to_hex.h +0 -224
  3828. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/args.h +0 -235
  3829. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/chrono.h +0 -2240
  3830. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/color.h +0 -643
  3831. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/compile.h +0 -535
  3832. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/core.h +0 -2969
  3833. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/format-inl.h +0 -1678
  3834. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/format.h +0 -4535
  3835. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/locale.h +0 -2
  3836. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/os.h +0 -455
  3837. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/ostream.h +0 -245
  3838. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/printf.h +0 -675
  3839. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/ranges.h +0 -738
  3840. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/std.h +0 -537
  3841. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/bundled/xchar.h +0 -259
  3842. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/chrono.h +0 -23
  3843. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/compile.h +0 -23
  3844. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/fmt.h +0 -30
  3845. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/ostr.h +0 -23
  3846. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/ranges.h +0 -23
  3847. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/std.h +0 -24
  3848. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fmt/xchar.h +0 -23
  3849. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/formatter.h +0 -17
  3850. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/fwd.h +0 -18
  3851. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/logger-inl.h +0 -198
  3852. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/logger.h +0 -379
  3853. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/mdc.h +0 -50
  3854. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/pattern_formatter-inl.h +0 -1338
  3855. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/pattern_formatter.h +0 -118
  3856. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/android_sink.h +0 -137
  3857. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ansicolor_sink-inl.h +0 -135
  3858. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ansicolor_sink.h +0 -115
  3859. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/base_sink-inl.h +0 -59
  3860. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/base_sink.h +0 -51
  3861. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/basic_file_sink-inl.h +0 -42
  3862. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/basic_file_sink.h +0 -65
  3863. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/callback_sink.h +0 -56
  3864. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/daily_file_sink.h +0 -255
  3865. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/dist_sink.h +0 -81
  3866. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/dup_filter_sink.h +0 -92
  3867. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/hourly_file_sink.h +0 -193
  3868. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/kafka_sink.h +0 -119
  3869. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/mongo_sink.h +0 -108
  3870. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/msvc_sink.h +0 -68
  3871. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/null_sink.h +0 -41
  3872. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ostream_sink.h +0 -43
  3873. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/qt_sinks.h +0 -304
  3874. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/ringbuffer_sink.h +0 -67
  3875. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/rotating_file_sink-inl.h +0 -144
  3876. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/rotating_file_sink.h +0 -89
  3877. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/sink-inl.h +0 -22
  3878. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/sink.h +0 -34
  3879. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -38
  3880. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_color_sinks.h +0 -49
  3881. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_sinks-inl.h +0 -126
  3882. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/stdout_sinks.h +0 -84
  3883. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/syslog_sink.h +0 -104
  3884. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/systemd_sink.h +0 -121
  3885. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/tcp_sink.h +0 -75
  3886. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/udp_sink.h +0 -69
  3887. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/win_eventlog_sink.h +0 -260
  3888. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/wincolor_sink-inl.h +0 -172
  3889. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/sinks/wincolor_sink.h +0 -82
  3890. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/spdlog-inl.h +0 -92
  3891. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/spdlog.h +0 -352
  3892. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/stopwatch.h +0 -66
  3893. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/tweakme.h +0 -141
  3894. mindspore/include/mindspore/ccsrc/plugin/device/ascend/llm_boost/atb/include/spdlog/version.h +0 -11
  3895. mindspore/include/mindspore/ccsrc/plugin/device/ascend/optimizer/format_type/rectify_do_mask_kernel_info.h +0 -44
  3896. mindspore/include/mindspore/ccsrc/plugin/device/cpu/kernel/custom/julia_api.h +0 -443
  3897. mindspore/include/mindspore/ccsrc/plugin/res_manager/ascend/ascend_device_address/ascend_device_synchronizer.h +0 -45
  3898. mindspore/include/mindspore/ccsrc/plugin/res_manager/cpu/cpu_device_address/cpu_device_synchronizer.h +0 -45
  3899. mindspore/include/mindspore/ccsrc/plugin/res_manager/gpu/device/gpu_device_synchronizer.h +0 -44
  3900. mindspore/include/mindspore/ccsrc/ps/core/communicator/ssl_http.h +0 -60
  3901. mindspore/include/mindspore/ccsrc/pynative/grad/auto_grad.h +0 -77
  3902. mindspore/include/mindspore/ccsrc/pynative/grad/ir/bprop_tensor_replace.h +0 -58
  3903. mindspore/include/mindspore/ccsrc/pynative/grad/ir/dynamic_shape.h +0 -204
  3904. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_bprop.h +0 -163
  3905. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_grad.h +0 -114
  3906. mindspore/include/mindspore/ccsrc/pynative/grad/ir/ir_pass.h +0 -71
  3907. mindspore/include/mindspore/ccsrc/pynative/grad/variable.h +0 -466
  3908. mindspore/include/mindspore/ccsrc/pynative/op_function/auto_generate/pyboost_functions.h +0 -1045
  3909. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/actor/custom_actor.h +0 -66
  3910. mindspore/include/mindspore/ccsrc/runtime/graph_scheduler/inline_control_flow_scheduler.h +0 -81
  3911. mindspore/include/mindspore/core/include/ir/base_tensor.h +0 -1073
  3912. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/ragged_tensor_to_tensor.h +0 -120
  3913. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/sample_distorted_bounding_box_ext2.h +0 -103
  3914. mindspore/include/mindspore/ops/kernel/ascend/aicpu/aicpu_ops/cpu_kernel/ms_kernel/scale_and_translate.h +0 -77
  3915. mindspore/include/mindspore/ops/kernel/ascend/ascendc/op_host/decoder_kv_cache_tiling.h +0 -40
  3916. mindspore/include/mindspore/ops/kernel/ascend/ascendc/op_host/prompt_kv_cache_tiling.h +0 -39
  3917. mindspore/include/mindspore/ops/kernel/ascend/opapi/aclnn/conv3d_padding_aclnn_kernel.h +0 -78
  3918. mindspore/include/third_party/securec/src/secinput.h +0 -181
  3919. mindspore/include/third_party/securec/src/securecutil.h +0 -574
  3920. mindspore/include/third_party/securec/src/secureprintoutput.h +0 -153
  3921. mindspore/lib/plugin/ascend/custom_ascendc_910/framework/plugin/npu_supported_ops.json +0 -10
  3922. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/include/aclnn_decoder_kv_cache.h +0 -59
  3923. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/include/aclnn_prompt_kv_cache.h +0 -59
  3924. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/lib/libcust_opapi.so +0 -0
  3925. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/config/ascend910/aic-ascend910-ops-info.json +0 -182
  3926. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/decoder_kv_cache.cpp +0 -192
  3927. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/decoder_kv_cache.py +0 -215
  3928. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/prompt_kv_cache.cpp +0 -274
  3929. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl/dynamic/prompt_kv_cache.py +0 -215
  3930. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -158
  3931. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  3932. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -158
  3933. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  3934. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -158
  3935. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  3936. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -158
  3937. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  3938. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -158
  3939. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  3940. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -158
  3941. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  3942. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -158
  3943. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  3944. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -158
  3945. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  3946. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -167
  3947. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  3948. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -167
  3949. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  3950. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -167
  3951. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  3952. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -167
  3953. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  3954. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -167
  3955. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  3956. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -167
  3957. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  3958. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -167
  3959. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  3960. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -167
  3961. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  3962. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/binary_info_config.json +0 -302
  3963. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/decoder_kv_cache.json +0 -892
  3964. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/prompt_kv_cache.json +0 -892
  3965. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/lib/linux/x86_64/libcust_opmaster_rt2.0.so +0 -0
  3966. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  3967. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/inc/op_proto.h +0 -33
  3968. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/lib/linux/x86_64/libcust_opsproto_rt2.0.so +0 -0
  3969. mindspore/lib/plugin/ascend/custom_ascendc_910/version.info +0 -1
  3970. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_decoder_kv_cache.h +0 -59
  3971. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_prompt_kv_cache.h +0 -59
  3972. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.cpp +0 -192
  3973. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.py +0 -215
  3974. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.cpp +0 -274
  3975. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.py +0 -215
  3976. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -158
  3977. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  3978. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -158
  3979. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  3980. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -158
  3981. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  3982. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -158
  3983. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  3984. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -158
  3985. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  3986. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -158
  3987. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  3988. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -158
  3989. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  3990. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -158
  3991. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  3992. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -167
  3993. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  3994. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -167
  3995. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  3996. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -167
  3997. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  3998. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -167
  3999. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4000. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -167
  4001. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4002. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -167
  4003. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4004. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -167
  4005. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4006. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -167
  4007. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4008. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -156
  4009. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4010. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -156
  4011. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4012. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -156
  4013. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4014. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -156
  4015. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4016. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -156
  4017. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4018. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -156
  4019. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4020. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -156
  4021. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4022. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -156
  4023. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4024. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -165
  4025. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4026. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -165
  4027. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4028. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -165
  4029. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4030. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -165
  4031. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4032. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -165
  4033. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4034. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -165
  4035. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4036. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -165
  4037. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4038. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -165
  4039. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910_93/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4040. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +0 -156
  4041. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  4042. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +0 -156
  4043. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  4044. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +0 -156
  4045. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  4046. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +0 -156
  4047. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  4048. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +0 -156
  4049. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  4050. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +0 -156
  4051. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  4052. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +0 -156
  4053. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  4054. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +0 -156
  4055. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  4056. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +0 -165
  4057. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  4058. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +0 -165
  4059. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  4060. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +0 -165
  4061. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  4062. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +0 -165
  4063. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  4064. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +0 -165
  4065. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  4066. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +0 -165
  4067. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  4068. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +0 -165
  4069. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  4070. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +0 -165
  4071. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  4072. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/decoder_kv_cache.json +0 -892
  4073. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/prompt_kv_cache.json +0 -892
  4074. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/decoder_kv_cache.json +0 -892
  4075. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910_93/prompt_kv_cache.json +0 -892
  4076. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/decoder_kv_cache.json +0 -892
  4077. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/prompt_kv_cache.json +0 -892
  4078. mindspore/lib/plugin/ascend/libms_ascend_native_boost.so +0 -0
  4079. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libllama_op.so +0 -0
  4080. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libms_optiling.so +0 -0
  4081. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_4b60f88cdc28b25a36bad2d8b0a88092.json +0 -163
  4082. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_4b60f88cdc28b25a36bad2d8b0a88092.o +0 -0
  4083. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_cde61da2bd6fededcb1ba310a6ad16ee.json +0 -163
  4084. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/hphol_kernels/add_rms_norm_dynamic_quant/AddRmsNormDynamicQuant_cde61da2bd6fededcb1ba310a6ad16ee.o +0 -0
  4085. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/so_kernels/libllama_ascend910b.so +0 -0
  4086. mindspore/profiler/parser/__init__.py +0 -14
  4087. mindspore/profiler/parser/aicpu_data_parser.py +0 -272
  4088. mindspore/profiler/parser/ascend_analysis/__init__.py +0 -14
  4089. mindspore/profiler/parser/ascend_analysis/constant.py +0 -71
  4090. mindspore/profiler/parser/ascend_analysis/file_manager.py +0 -180
  4091. mindspore/profiler/parser/ascend_analysis/function_event.py +0 -185
  4092. mindspore/profiler/parser/ascend_analysis/fwk_cann_parser.py +0 -136
  4093. mindspore/profiler/parser/ascend_analysis/fwk_file_parser.py +0 -131
  4094. mindspore/profiler/parser/ascend_analysis/msprof_timeline_parser.py +0 -104
  4095. mindspore/profiler/parser/ascend_analysis/path_manager.py +0 -313
  4096. mindspore/profiler/parser/ascend_analysis/profiler_info_parser.py +0 -123
  4097. mindspore/profiler/parser/ascend_analysis/tlv_decoder.py +0 -86
  4098. mindspore/profiler/parser/ascend_analysis/trace_event_manager.py +0 -75
  4099. mindspore/profiler/parser/ascend_cluster_generator.py +0 -116
  4100. mindspore/profiler/parser/ascend_communicate_generator.py +0 -314
  4101. mindspore/profiler/parser/ascend_flops_generator.py +0 -116
  4102. mindspore/profiler/parser/ascend_fpbp_generator.py +0 -82
  4103. mindspore/profiler/parser/ascend_hccl_generator.py +0 -271
  4104. mindspore/profiler/parser/ascend_integrate_generator.py +0 -42
  4105. mindspore/profiler/parser/ascend_memory_generator.py +0 -185
  4106. mindspore/profiler/parser/ascend_msprof_exporter.py +0 -282
  4107. mindspore/profiler/parser/ascend_msprof_generator.py +0 -187
  4108. mindspore/profiler/parser/ascend_op_generator.py +0 -334
  4109. mindspore/profiler/parser/ascend_steptrace_generator.py +0 -94
  4110. mindspore/profiler/parser/ascend_timeline_generator.py +0 -545
  4111. mindspore/profiler/parser/base_timeline_generator.py +0 -483
  4112. mindspore/profiler/parser/container.py +0 -229
  4113. mindspore/profiler/parser/cpu_gpu_timeline_generator.py +0 -697
  4114. mindspore/profiler/parser/flops_parser.py +0 -531
  4115. mindspore/profiler/parser/framework_enum.py +0 -111
  4116. mindspore/profiler/parser/framework_parser.py +0 -464
  4117. mindspore/profiler/parser/framework_struct.py +0 -61
  4118. mindspore/profiler/parser/gpu_analysis/__init__.py +0 -14
  4119. mindspore/profiler/parser/gpu_analysis/function_event.py +0 -44
  4120. mindspore/profiler/parser/gpu_analysis/fwk_file_parser.py +0 -89
  4121. mindspore/profiler/parser/gpu_analysis/profiler_info_parser.py +0 -72
  4122. mindspore/profiler/parser/hccl_parser.py +0 -573
  4123. mindspore/profiler/parser/hwts_log_parser.py +0 -122
  4124. mindspore/profiler/parser/integrator.py +0 -526
  4125. mindspore/profiler/parser/memory_usage_parser.py +0 -277
  4126. mindspore/profiler/parser/minddata_analyzer.py +0 -800
  4127. mindspore/profiler/parser/minddata_parser.py +0 -186
  4128. mindspore/profiler/parser/minddata_pipeline_parser.py +0 -299
  4129. mindspore/profiler/parser/op_intermediate_parser.py +0 -149
  4130. mindspore/profiler/parser/optime_parser.py +0 -250
  4131. mindspore/profiler/parser/profiler_info.py +0 -213
  4132. mindspore/profiler/parser/step_trace_parser.py +0 -666
  4133. /mindspore/include/mindspore/ops/kernel/ascend/ascendc/{op_host → all_finite/op_host}/all_finite_tiling.h +0 -0
  4134. /mindspore/include/third_party/{securec/include → include}/securec.h +0 -0
  4135. /mindspore/include/third_party/{securec/include → include}/securectype.h +0 -0
  4136. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/WHEEL +0 -0
  4137. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/entry_points.txt +0 -0
  4138. {mindspore-2.6.0.dist-info → mindspore-2.7.0rc1.dist-info}/top_level.txt +0 -0
@@ -13,253 +13,426 @@
13
13
  # limitations under the License.
14
14
  # ============================================================================
15
15
  """Holding mint APIs"""
16
- from mindspore._c_expression import _floor_divide_instance
17
- from mindspore._c_expression import _addcdiv_instance
18
- from mindspore._c_expression import _remainder_instance
19
- from mindspore._c_expression import _pixel_shuffle_instance
20
- from mindspore._c_expression import _fmod_instance
21
- from mindspore._c_expression import _where_instance
22
- from mindspore._c_expression import _lerp_instance
23
- from mindspore._c_expression import _max_instance
24
- from mindspore._c_expression import _all_gather_matmul_instance
25
16
  from mindspore._c_expression import _gmm_backward_fusion_instance
26
- from mindspore._c_expression import _repeat_interleave_instance
17
+ from mindspore._c_expression import _kthvalue_instance
18
+ from mindspore._c_expression import _index_add_instance
19
+ from mindspore._c_expression import _conv3d_instance
27
20
  from mindspore._c_expression import _matmul_reduce_scatter_instance
28
- from mindspore._c_expression import _xlogy_instance
21
+ from mindspore._c_expression import _einsum_instance
22
+ from mindspore._c_expression import _remainder_instance
23
+ from mindspore._c_expression import _addcdiv_instance
24
+ from mindspore._c_expression import _nansum_instance
29
25
  from mindspore._c_expression import _sub_instance
30
- from mindspore._c_expression import _greater_equal_instance
31
- from mindspore._c_expression import _gelu_instance
32
- from mindspore._c_expression import _gmm_backward_instance
33
26
  from mindspore._c_expression import _gmm_instance
34
- from mindspore._c_expression import _min_instance
27
+ from mindspore._c_expression import _any_instance
28
+ from mindspore._c_expression import _gmm_backward_instance
35
29
  from mindspore._c_expression import _add_instance
36
- from mindspore._c_expression import _nansum_instance
37
- from mindspore._c_expression import _kthvalue_instance
38
- from mindspore._c_expression import _bitwise_not_instance
30
+ from mindspore._c_expression import _where_instance
39
31
  from mindspore._c_expression import _div_instance
40
- from mindspore._c_expression import _empty_instance
41
32
  from mindspore._c_expression import _clamp_instance
33
+ from mindspore._c_expression import _empty_like_instance
34
+ from mindspore._c_expression import _empty_instance
35
+ from mindspore._c_expression import _lerp_instance
36
+ from mindspore._c_expression import _pixel_shuffle_instance
37
+ from mindspore._c_expression import _xlogy_instance
38
+ from mindspore._c_expression import _quant_matmul_instance
39
+ from mindspore._c_expression import _greater_equal_instance
40
+ from mindspore._c_expression import _min_instance
41
+ from mindspore._c_expression import _floor_divide_instance
42
+ from mindspore._c_expression import _repeat_interleave_instance
43
+ from mindspore._c_expression import _gelu_instance
44
+ from mindspore._c_expression import _max_instance
45
+ from mindspore._c_expression import _all_gather_matmul_instance
46
+ from mindspore._c_expression import _fmod_instance
47
+ from mindspore._c_expression import _bitwise_not_instance
48
+ from mindspore._c_expression import _rmod_instance
42
49
 
43
- def floor_divide(*args, **kwargs):
50
+ def gmm_backward_fusion(*args, **kwargs):
44
51
  r"""
45
- Divides the first input tensor by the second input tensor element-wise and round down to the closest integer.
46
-
47
- Inputs of `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
48
- Inputs must be two tensors or one tensor and one scalar.
49
- When the inputs are two tensors,
50
- dtypes of them cannot be bool at the same time, and the shapes of them could be broadcast.
51
- When the inputs are one tensor and one scalar,
52
- the scalar could only be a constant.
52
+ gmm_backward_fusion(grad, weight, *, group_list=None, group_list_type=0) -> tuple[tuple[Tensor]]
53
53
 
54
- .. math::
55
- out_{i} = \text{floor}( \frac{input_i}{other_i})
54
+ the grad of ops.function.math_func.gmm, only dx
55
+ """
56
+ return _gmm_backward_fusion_instance(*args, **kwargs)
56
57
 
57
- where the :math:`floor` indicates the Floor operator. For more details,
58
- please refer to the :class:`mindspore.mint.floor` operator.
59
58
 
60
- .. warning::
61
- This is an experimental API that is subject to change or deletion.
59
+ def kthvalue(*args, **kwargs):
60
+ r"""
61
+ Calculates the kth smallest value along given dim specified by `dim` of the input
62
+ tensor, and returns a tuple of (`values`, `indices`) where `values` contains the k-th smallest element
63
+ and `indices` provides the index of each corresponding element.
62
64
 
63
65
  Args:
64
- input (Union[Tensor, Number, bool]): The first input is a number or
65
- a bool or a tensor whose data type is number or bool.
66
- other (Union[Tensor, Number, bool]): The second input is a number or
67
- a bool or a tensor whose data type is number or bool.
66
+ input (Tensor): The input tensor, can be any dimension. Set the shape of input tensor as
67
+ :math:`(input_1, input_2, ..., input_N)`.
68
+ k (int): Specifies the k-th smallest element to retrieve.
69
+ dim (int, optional): The dimension along which to find the k-th smallest value. Default: ``-1`` .
70
+ keepdim (bool, optional): Whether to reduce dimension, if ``True`` , the output will keep same dimension with the
71
+ input, the output will reduce dimension if ``False`` . Default: ``False`` .
68
72
 
69
73
  Returns:
70
- Tensor, the shape is the same as the one after broadcasting,
71
- and the data type is the one with higher precision or higher digits among the two inputs.
74
+ A tuple consisting of `values` and `indices`.
75
+
76
+ - **values** (Tensor) - The k-th smallest value of input tensor, with the same dtype as `input`.
77
+
78
+ -If `keepdim` is ``True`` , the shape of output tensors is :math:`(input_1, input_2, ..., input_{dim-1}, 1, input_{dim+1}, ..., input_N)`.
79
+ -If `keepdim` is ``False`` , the shape is :math:`(input_1, input_2, ..., input_{dim-1}, input_{dim+1}, ..., input_N)` .
72
80
 
81
+ - **indices** (Tensor) - The `indices` for the k-th smallest value of the input tensor, it has the same shape as `values` with dtype of int64.
82
+
73
83
  Raises:
74
- TypeError: If `input` and `other` are not the following: Tensor, number.Number or bool.
84
+ TypeError: If `k` or `dim` is not an int.
85
+ TypeError: If `keepdim` is not a bool.
86
+ TypeError: If dtype of `input` is not supported.
87
+ ValueError: If `input` is an empty Tensor.
88
+ RuntimeError: If `k` is not in the proper range.
75
89
 
76
90
  Supported Platforms:
77
- ``Ascend`` ``GPU`` ``CPU``
91
+ ``Ascend``
78
92
 
79
93
  Examples:
80
94
  >>> import mindspore
81
- >>> from mindspore import Tensor, mint
82
95
  >>> import numpy as np
83
- >>> input = Tensor(np.array([2, 4, -1]), mindspore.int32)
84
- >>> other = Tensor(np.array([3, 3, 3]), mindspore.int32)
85
- >>> output = mint.floor_divide(input, other)
86
- >>> print(output)
87
- [ 0 1 -1]
88
- >>> input = Tensor(2.0, mindspore.float32)
89
- >>> other = Tensor(2.0, mindspore.float32)
90
- >>> output = mint.floor_divide(input, other)
91
- >>> print(output)
92
- 1.0
96
+ >>> from mindspore import Tensor, ops
97
+ >>> input_x = Tensor(np.array([[1.01, 2.02, 3.03], [1.04, 2.05, 3.06]]), mindspore.float32)
98
+ >>> out = ops.auto_generate.kthvalue(input_x, 2, 1, False)
99
+ >>> print(out)
100
+ (Tensor(shape=[2], dtype=Float32, value= [ 2.01999998e+00, 2.04999995e+00]), Tensor(shape=[2], dtype=Int64, value= [1, 1]))
101
+ >>> out1 = ops.auto_generate.kthvalue(input_x, 2, 1, True)
102
+ >>> print(out1)
103
+ (Tensor(shape=[2, 1], dtype=Float32, value=
104
+ [[ 2.01999998e+00],
105
+ [ 2.04999995e+00]]), Tensor(shape=[2, 1], dtype=Int64, value=
106
+ [[1],
107
+ [1]]))
93
108
  """
94
- return _floor_divide_instance(*args, **kwargs)
109
+ return _kthvalue_instance(*args, **kwargs)
95
110
 
96
111
 
97
- def addcdiv(*args, **kwargs):
112
+ def index_add(*args, **kwargs):
98
113
  r"""
99
- addcdiv_ext(input, tensor1, tensor2, *, value=1) -> Tensor
114
+ index_add(input, dim, index, source, *, alpha=1) -> Tensor
100
115
 
101
- Performs the element-wise division of tensor tensor1 by tensor tensor2,
102
- multiply the result by the scalar value and add it to input data.
116
+ Accumulate the elements of `alpha` times `source` into the `input` by adding to the index in the order given in `index`. For example, if ``dim == 0`` , ``index[i] == j`` , and ``alpha = -1`` , then the `i` th row of `source` is subtracted from the `j` th row of `input` . The `dim` th dimension of `source` must have the same size as the length of `index` , and all other dimensions must match `input`, or an error will be raised. For a 3-D tensor, the output is defined as follows:
103
117
 
104
118
  .. math::
105
- y[i] = input[i] + value * (tensor1[i] / tensor2[i])
119
+ \begin{array}{ll}
120
+ input[index[i],\ :,\ :]\ +=\ alpha * source[i,\ :,\ :] \qquad \#if\ dim == 0 \\
121
+ input[:,\ \ index[i],\ :]\ +=\ alpha * source[:,\ \ i,\ :] \qquad \#if\ dim == 1 \\
122
+ input[:,\ :,\ \ index[i]]\ +=\ alpha * source[:,\ :,\ \ i] \qquad\#if\ dim == 2 \\
123
+ \end{array}
106
124
 
107
125
  .. warning::
108
126
  This is an experimental API that is subject to change or deletion.
109
127
 
110
128
  Args:
111
- input (Tensor): The tensor to be added.
112
- tensor1 (Tensor): The numerator tensor.
113
- tensor2 (Tensor): The denominator tensor.
129
+ input (Tensor): The input Tensor.
130
+ dim (int): The dimension along which to index.
131
+ index (Tensor): Add the value of "input Tensor" and `source` along the dimension of the `dim` according to the specified index value, with data type int32. The `index` must be 1D with the same size as the size of `source` in the `dim` dimension. The values of `index` should be in [0, b), where the b is the size of "input Tensor" in the `dim` dimension.
132
+ source (Tensor): The input tensor with the value to add. Must have same data type as "input Tensor". The shape must be the same as "input Tensor" except the `dim` th dimension.
114
133
 
115
134
  Keyword Args:
116
- value (Number, optional): The multiplier for tensor1/tensor2. Default: ``1`` .
135
+ alpha (number, optional): The scalar multiplier for source. Default: ``1``.
117
136
 
118
137
  Returns:
119
- Tensor, has the same shape and dtype as tensor1/tensor2.
138
+ Tensor, has the same shape and dtype as `input`.
120
139
 
121
140
  Raises:
122
- TypeError: If dtype of `tensor1`, `tensor2`, or `input` is not tensor.
123
- ValueError: If `tensor1` could not be broadcast to a tensor with shape of `tensor2`.
124
- ValueError: If `value` could not be broadcast to tensors with shapes of `tensor1/tensor2`.
125
- ValueError: If `input` could not be broadcast to tensors with shapes of `value*(tensor1/tensor2)`.
141
+ TypeError: If neither `index` nor `source` is a Tensor.
142
+ ValueError: If the value of `dim` is out of the dimension range of `source` shape.
143
+ ValueError: If `index` rank is not the same as `source` rank.
144
+ ValueError: If shape of `index` is not 1D or size of `index` is not equal to dimension of source[dim].
145
+ ValueError: If the shape of `source` is not the same as that of `input` except the `dim` axis.
126
146
 
127
147
  Supported Platforms:
128
148
  ``Ascend``
129
149
 
130
150
  Examples:
131
- >>> import mindspore
132
151
  >>> import numpy as np
133
- >>> from mindspore import Tensor, ops
134
- >>> input_data = Tensor(np.array([1, 1, 1, 1]), mindspore.float32)
135
- >>> x1 = Tensor(np.array([1, 2, 3, 4]), mindspore.float32)
136
- >>> x2 = Tensor(np.array([4, 3, 2, 1]), mindspore.float32)
137
- >>> y = ops.addcdiv_ext(input_data, x1, x2, value=1)
138
- >>> print(y)
139
- [1.25 1.6666667 2.5 5. ]
152
+ >>> import mindspore
153
+ >>> from mindspore import Tensor, mint
154
+ >>> x = Tensor(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]), mindspore.float32)
155
+ >>> index = Tensor(np.array([0, 2]), mindspore.int32)
156
+ >>> y = Tensor(np.array([[0.5, 1.0], [1.0, 1.5], [2.0, 2.5]]), mindspore.float32)
157
+ >>> output = mint.index_add(x, 1, index, y, alpha=1)
158
+ >>> print(output)
159
+ [[ 1.5 2. 4. ]
160
+ [ 5. 5. 7.5]
161
+ [ 9. 8. 11.5]]
140
162
  """
141
- return _addcdiv_instance(*args, **kwargs)
163
+ return _index_add_instance(*args, **kwargs)
142
164
 
143
165
 
144
- def remainder(*args, **kwargs):
166
+ def conv3d(*args, **kwargs):
145
167
  r"""
146
- remainder(input, other) -> Tensor
168
+ conv3d(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1) -> Tensor
147
169
 
148
- Computes the remainder of `input` divided by `other` element-wise. The result has the same sign as the divisor and
149
- its absolute value is less than that of `other`.
170
+ Applies a 3D convolution over an input tensor. The input tensor is typically of
171
+ shape :math:`(N, C_{in}, D_{in}, H_{in}, W_{in})` or :math:`(C_{in}, D_{in}, H_{in}, W_{in})`,
172
+ where :math:`N` is batch size, :math:`C` is channel number, :math:`D, H, W` are the depth,
173
+ height and width of the feature graph, respectively.
150
174
 
151
- Supports broadcasting to a common shape and implicit type promotion.
175
+ The output is calculated based on formula:
152
176
 
153
- .. code:: python
177
+ .. math::
154
178
 
155
- remainder(input, other) == input - input.div(other, rounding_mode="floor") * other
179
+ \text{out}(N_i, C_{\text{out}_j}) = \text{bias}(C_{\text{out}_j}) +
180
+ \sum_{k = 0}^{C_{in} - 1} \text{ccor}({\text{weight}(C_{\text{out}_j}, k), \text{X}(N_i, k)})
181
+
182
+ where :math:`bias` is the output channel bias, :math:`ccor` is
183
+ the `cross-correlation <https://en.wikipedia.org/wiki/Cross-correlation>`_
184
+ , :math:`weight` is the convolution kernel value and :math:`X` represents the input feature map.
185
+
186
+ Here are the indices' meanings:
187
+
188
+ - :math:`i` corresponds to the batch number, the range is :math:`[0, N-1]`,
189
+ where :math:`N` is the batch size of the input.
190
+
191
+ - :math:`j` corresponds to the output channel, the range is :math:`[0, C_{out}-1]`,
192
+ where :math:`C_{out}` is the number of
193
+ output channels, which is also equal to the number of kernels.
194
+
195
+ - :math:`k` corresponds to the input channel, the range is :math:`[0, C_{in}-1]`,
196
+ where :math:`C_{in}` is the number of
197
+ input channels, which is also equal to the number of channels in the convolutional kernels.
198
+
199
+ Therefore, in the above formula, :math:`{bias}(C_{\text{out}_j})` represents the bias of the :math:`j`-th
200
+ output channel, :math:`{weight}(C_{\text{out}_j}, k)` represents the slice of the :math:`j`-th convolutional
201
+ kernel in the :math:`k`-th channel, and :math:`{X}(N_i, k)` represents the slice of the :math:`k`-th input
202
+ channel in the :math:`i`-th batch of the input feature map.
203
+
204
+ The shape of the convolutional kernel is given by :math:`(kd, kh, kw)` where :math:`kd` , :math:`kd` and\
205
+ :math:`kw` are the depth, height and width of the kernel, respectively.
206
+ If we consider the input and output channels as well as the `group` parameter, the complete kernel shape
207
+ will be :math:`(C_{out}, C_{in} / \text{group}, kd, kh, kw)`,
208
+ where `group` is the number of groups dividing `x`'s input channel when applying group convolution.
209
+
210
+ For more details about convolution layer, please refer to `Gradient Based Learning Applied to Document Recognition
211
+ <http://vision.stanford.edu/cs598_spring07/papers/Lecun98.pdf>`_.
212
+
213
+ The following lists some of the limitations of the parameters.
214
+
215
+ - input -- The input to the conv3d. The input must have each dimension size within the range [1, int32_max].
216
+ - weight -- Filters of shape :math:`(C_{out}, C_{in} / groups, kd, kh, kw)`. The value of :math:`kh`
217
+ and :math:`kw` is in the range [1, 511]. The remaining values are in the range [1, int32_max].
218
+ And :math:`kh*kw*k0` is less 65536 (k0 is 16. If data type is float32, k0 is 8).
219
+ - bias -- Bias Tensor with shape :math:`(C_{out})`. The shape must equal to the first dimension of the weight.
220
+ - stride -- The distance of kernel moving. It can be an int number or
221
+ tuple (noted by :math:`(stride_d, stride_h, stride_w)`). stride_h and stride_w are in the range [1, 63].
222
+ stride_d is in the range [1, 255].
223
+ - padding -- If padding is an int number, it is in the range [0, 255].
224
+ - dilation -- The value is in the range [1, 255].
225
+ - groups -- The value is in the range [1, 65535].
226
+ - :math:`C_{in} \% \text{groups} == 0 \quad \text{and} \quad C_{out} \% \text{groups} == 0` .
227
+ - :math:`weight[1] == C_{in} / groups` .
228
+ - :math:`H_{in} + PadUp + PadDown >= (kh - 1) * DilationH + 1` .
229
+ - :math:`W_{in} + PadLeft + PadRight >= (kw - 1) * DilationW + 1` .
230
+ - :math:`D_{in} + PadFront + PadBack >= (kd - 1) * DilationD + 1` .
231
+ - :math:`H_{out} = (H_{in} + PadUp + PadDown - ((kh - 1) * DilationH + 1)) / StrideH + 1` .
232
+ - :math:`W_{out} = (W_{in} + PadLeft + PadRight - ((kw - 1) * DilationW + 1)) / StrideW + 1` .
233
+ - :math:`D_{out} = (D_{in} + PadFront + PadBack - ((kd - 1) * DilationD + 1)) / StrideD + 1` .
234
+ - :math:`(D_{in}+PadFront+PadBack - ((kd-1)*DilationD+1)) \% StrideD <= PadBack` .
235
+ - :math:`(H_{in}+PadUp+PadDown - ((kh-1)*Dilationh+1)) \% StrideH <= PadDown` .
236
+ - :math:`stride_d <= kernel_d` .
237
+ - :math:`PadUp < kh` and :math:`PadDown < kh` . When `padding` = ``'valid'``, both PadUp and PadDown are zeros.
238
+ When `padding` = ``'same'``, pad can be calculated by
239
+ :math:`floor(((H_{out}-1) * strideH + (kh - 1) * DilationH + 1 - H_{in}) / 2)` for high dimension.
240
+ It is similar way to calculate the padding for depth and width dimension. And the depth and width
241
+ dimensions also have the same constraints.
242
+ - :math:`((kh - 1) * DilationH - PadUp)` should be in [0, 255]. It is the same constraint for depth
243
+ and width dimension.
244
+ - If `padding` is ``'same'``, `stride` must be 1.
156
245
 
157
- Note:
158
- Complex inputs are not supported. At least one input need to be tensor, but not both are bool tensors.
246
+ .. warning::
247
+ It is only supported on Atlas A2 Training Series Products.
159
248
 
160
249
  Args:
161
- input (Union[Tensor, numbers.Number, bool]): The dividend is a numbers.Number or
162
- a bool or a tensor whose data type is
163
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
164
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
165
- other (Union[Tensor, numbers.Number, bool]): The divisor is a numbers.Number or
166
- a bool or a tensor whose data type is number or bool\_ when the dividend is a tensor.
167
- When the dividend is Scalar, the divisor must be a Tensor whose data type is number or bool\_.
250
+ input (Tensor): Tensor of shape :math:`(N, C_{in}, D_{in}, H_{in}, W_{in})`.
251
+ weight (Tensor): Set size of kernel is :math:`(kd, kh,
252
+ kw)`, then the shape is :math:`(C_{out}, C_{in} / groups, kd, kh, kw)`.
253
+ bias (Tensor, optional): Bias Tensor with shape :math:`(C_{out})`.
254
+ When bias is ``None`` , zeros will be used. Default: ``None`` .
255
+ stride (Union(int, tuple[int], list[int]), optional): The distance of kernel moving, an int
256
+ number that represents the depth, the height and width of movement are both strides, or a
257
+ tuple of triple int numbers that
258
+ represent the depth, height and width of movement respectively. Default: ``1`` .
259
+ padding (Union(int, tuple[int], list[int], str), optional): Implicit paddings on both sides of the input `x`.
260
+ Can be a string, one integer or a tuple/list with 3 integers.
261
+ If `padding` is a string, the optional values are ``"same"`` , ``"valid"``.
262
+
263
+ - same: Adopts the way of completion. The height and width of the output will be equal to
264
+ the input `x` divided by stride. The padding will be evenly calculated in top and bottom,
265
+ left and right possiblily. Otherwise, the last extra padding will be calculated from the bottom
266
+ and the right side. If this mode is set, `stride` must be 1.
267
+
268
+ - valid: Adopts the way of discarding. The possible largest height and width of output will be returned
269
+ without padding. Extra pixels will be discarded.
270
+
271
+ If `padding` is one integer, the paddings of top, bottom, left and right are the same, equal to padding.
272
+ If `padding` is a tuple/list with 3 integers, the padding of head, tail, top, bottom,
273
+ left and right equal to pad[0], pad[0], pad[1], pad[1], pad[2] and pad[2] correspondingly. Default: ``0`` .
274
+ dilation (Union[int, tuple[int], list[int]], optional): Controlling the space between the kernel points.
275
+ Default: ``1`` .
276
+ groups (int, optional): Splits `input` into groups. Default: ``1`` .
168
277
 
169
278
  Returns:
170
- Tensor, with dtype promoted and shape broadcasted.
279
+ Tensor, the same dtype as the `input`, with the shape :math:`(N, C_{out}, D_{out}, H_{out}, W_{out})`
280
+ or :math:`(C_{out}, D_{out}, H_{out}, W_{out})`.
171
281
 
172
282
  Raises:
173
- TypeError: If `input` and `other` are not of types: (tensor, tensor), (tensor, number), (tensor, bool),
174
- (number, tensor) or (bool, tensor).
175
- ValueError: If `input` and `other` are not broadcastable.
283
+ TypeError: If `stride`, `padding` or `dilation` is neither an int nor a tuple.
284
+ TypeError: `groups` is not an int.
285
+ TypeError: If `bias` is not a Tensor.
176
286
 
177
287
  Supported Platforms:
178
288
  ``Ascend``
179
289
 
180
290
  Examples:
291
+ >>> import mindspore
181
292
  >>> import numpy as np
182
- >>> from mindspore import Tensor, mint
183
- >>> x = Tensor(np.array([-4.0, 5.0, 6.0]).astype(np.float32))
184
- >>> y = Tensor(np.array([3.0, 2.0, 3.0]).astype(np.float64))
185
- >>> output = mint.remainder(x, y)
186
- >>> print(output)
187
- [2. 1. 0.]
293
+ >>> from mindspore import mint
294
+ >>> x = mindspore.Tensor(np.random.randn(12, 1, 60, 50, 8), mindspore.float16)
295
+ >>> w = mindspore.Tensor(np.random.randn(26, 1, 2, 4, 4), mindspore.float16)
296
+ >>> out = mint.nn.functional.conv3d(x, w)
297
+ >>> print(out.shape)
298
+ (12, 26, 59, 47, 5)
188
299
  """
189
- return _remainder_instance(*args, **kwargs)
300
+ return _conv3d_instance(*args, **kwargs)
190
301
 
191
302
 
192
- def pixel_shuffle(*args, **kwargs):
303
+ def matmul_reduce_scatter(*args, **kwargs):
193
304
  r"""
194
- pixel_shuffle(input, upscale_factor) -> Tensor
195
-
196
- Rearrange elements in a tensor according to an upscaling factor.
197
-
198
- Rearranges elements in a tensor of shape :math:`(*, C \times r^2, H, W)`
199
- to a tensor of shape :math:`(*, C, H \times r, W \times r)`, where r is an upscale factor.
305
+ matmul_reduce_scatter(input, x2, group, world_size, *, reduce_op='sum', bias=None, comm_turn=0, trans_input=False, trans_x2=False) -> Tensor
200
306
 
201
- This is useful for implementing efficient sub-pixel convolution
202
- with a stride of :math:`1/r`.
307
+ In the TP segmentation scenario, matmul and reducescatter are fused, and communication and computational
308
+ pipelines are parallelized within the fusion operator.
203
309
 
204
- For detailed introduction to the pixel_shuffle algorithm, refer to
205
- `Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network <https://arxiv.org/abs/1609.05158>`_ .
310
+ .. math::
311
+ output = reducescatter(input@x2)
206
312
 
207
313
  .. warning::
208
314
  This is an experimental API that is subject to change or deletion.
209
315
 
210
316
  Args:
211
- input (Tensor): Tensor of shape :math:`(*, C \times r^2, H, W)` . The dimension of `input` is larger than 2,
212
- and the length of third to last dimension can be divisible by the square of `upscale_factor`.
213
- upscale_factor (int): factor to shuffle the input Tensor, and is a positive integer.
214
- `upscale_factor` is the above-mentioned :math:`r`.
317
+ input (Tensor): The left matrix of matmul, the dtype supports float16 and bfloat16, the shape supports 2
318
+ dimensions, and the data format supports ND.
319
+ x2 (Tensor): The right matrix of matmul, the dtype needs to be consistent with ``input`` , the shape
320
+ supports 2 dimensions, and the data format supports ND.
321
+ group (str): Communication group name, can be created by ``create_group`` method, or use the default group
322
+ ``mindspore.communication.GlobalComm.WORLD_COMM_GROUP``.
323
+ world_size (int): The total number of ranks in the communication group, should be consistent with the number
324
+ of devices actually running, supporting ``2`` , ``4`` , and ``8`` .
325
+
326
+ Keyword Args:
327
+ reduce_op (str, optional) The reduce operation type. Currently only ``'sum'`` is supported. Default:
328
+ ``'sum'`` .
329
+ bias (Tensor, optional): Currently only ``None`` is supported. Default: ``None`` .
330
+ comm_turn (int, optional): Indicates the granularity of communication between ranks. Currently only ``0``
331
+ is supported. Default: ``0`` .
332
+ trans_input (bool, optional): Indicates whether ``input`` is transposed. Currently only ``False`` is
333
+ supported. Default: ``False`` .
334
+ trans_x2 (bool, optional): Indicates whether ``x2`` is transposed. Default: ``False`` .
215
335
 
216
336
  Returns:
217
- - **output** (Tensor) - Tensor of shape :math:`(*, C, H \times r, W \times r)` .
337
+ - output (Tensor) - The result of allgather and matmul fusion calculations.
338
+
339
+ Note:
340
+ - When using this interface, please ensure that the driver firmware package and CANN package are both the
341
+ matching 8.0.RC2 version or a higher version, otherwise an error will be reported, such as BUS ERROR.
342
+ - The shape of ``input`` is (m, k), the shape of ``x2`` is (k, n), k is required to be equal, and the value
343
+ range of k is [256, 65535), and m is required to be an integer multiple of ``world_size`` . The shape of
344
+ ``output`` is (m * world_size, n).
345
+ - The common fusion operators in a model only support the same communication group.
218
346
 
219
347
  Raises:
220
- ValueError: If `upscale_factor` is not a positive integer.
221
- ValueError: If the length of third to last dimension is not divisible by the square of `upscale_factor`.
222
- ValueError: If the dimension of `input` is less than 3.
348
+ TypeError: Any arg is of wrong type.
349
+ RuntimeError: The dtype of ``input`` or ``x2`` is neither float16 nor bfloat16.
350
+ RuntimeError: The dtypes of ``input`` and ``x2`` are different.
351
+ RuntimeError: The shape of ``input`` or ``x2`` is not two-dimensional.
352
+ RuntimeError: The k axis of ``input`` shape and ``x2`` shape are not equal.
353
+ RuntimeError: k is less than ``256`` or greater than or equal to ``65535`` .
354
+ RuntimeError: ``bias`` is not None.
355
+ RuntimeError: ``group`` does not exist.
356
+ RuntimeError: ``world_size`` is inconsistent with the actual number of running cards.
357
+ RuntimeError: ``world_size`` is not equal to ``2`` , ``4`` , or ``8`` .
358
+ RuntimeError: ``reduce_op`` is not ``'sum'`` .
359
+ RuntimeError: ``trans_input`` is ``True`` .
223
360
 
224
361
  Supported Platforms:
225
362
  ``Ascend``
226
363
 
227
364
  Examples:
228
- >>> from mindspore import mint
229
- >>> input = mint.randn(1, 9, 4, 4)
230
- >>> output = mint.nn.functional.pixel_shuffle(input, 3)
231
- >>> print(output.shape)
232
- (1, 1, 12, 12)
233
- """
234
- return _pixel_shuffle_instance(*args, **kwargs)
365
+ .. note::
366
+ Before running the following examples, you need to configure the communication environment variables.
235
367
 
368
+ For Ascend/GPU/CPU devices, it is recommended to use the msrun startup method without any third-party or
369
+ configuration file dependencies. Please see the `msrun start up <https://www.mindspore.cn/tutorials/en/master/parallel/msrun_launcher.html>`_
370
+ for more details.
236
371
 
237
- def fmod(*args, **kwargs):
238
- r"""
239
- fmod(input, other) -> Tensor
372
+ This example should be run with 2 devices.
240
373
 
241
- Computes the floating-point remainder of the division operation input/other.
374
+ >>> import mindspore as ms
375
+ >>> from mindspore import ops
376
+ >>> import numpy as np
377
+ >>> ms.communication.init()
378
+ >>> rank = ms.communication.get_rank()
379
+ >>> np.random.seed(rank)
380
+ >>> input = ms.Tensor(np.random.randn(1024, 256).astype(np.float32), dtype=ms.float16)
381
+ >>> x2 = ms.Tensor(np.random.randn(256, 512).astype(np.float32), dtype=ms.float16)
382
+ >>> group = ms.communication.GlobalComm.WORLD_COMM_GROUP
383
+ >>> world_size = ms.communication.get_group_size()
384
+ >>> reduce_op = ops.ReduceOp.SUM
385
+ >>> output = ops.matmul_reduce_scatter(
386
+ ... input,
387
+ ... x2,
388
+ ... group,
389
+ ... world_size,
390
+ ... reduce_op=reduce_op,
391
+ ... bias=None,
392
+ ... comm_turn=0,
393
+ ... trans_input=False,
394
+ ... trans_x2=False,
395
+ ... )
396
+ >>> print(output.shape)
397
+ (512, 512)
398
+ """
399
+ return _matmul_reduce_scatter_instance(*args, **kwargs)
242
400
 
243
- .. math::
244
401
 
245
- out = input - n * other
402
+ def einsum(*args, **kwargs):
403
+ r"""
404
+ According to the Einstein summation Convention (Einsum),
405
+ the product of the input tensor elements is summed along the specified dimension.
406
+ You can use this operator to perform diagonal, reducesum, transpose, matmul, mul, inner product operations, etc.
246
407
 
247
- Where :math:`n` is :math:`input/other` with its fractional part truncated.
248
- The returned value has the same sign as `input` and is less than `other` in magnitude.
408
+ Note:
409
+ The sublist format is also supported. For example, einsum_ext(op1, sublist1, op2, sublist2, ..., sublist_out).
410
+ In this format, equation can be derived by the sublists which are made up of Python's Ellipsis and list of
411
+ integers in [0, 52). Each operand is followed by a sublist and an output sublist is at the end.
412
+ Dynamic shape, dynamic rank input is not supported in `graph mode (mode=mindspore.GRAPH_MODE)
413
+ <https://www.mindspore.cn/tutorials/en/master/compile/static_graph.html>`_.
249
414
 
250
415
  .. warning::
251
416
  This is an experimental API that is subject to change or deletion.
252
417
 
253
418
  Args:
254
- input (Tensor): the dividend.
255
- other (Union[Tensor, Number]): the divisor.
419
+ equation (str): Notation based on the Einstein summation convention, represent the operation you want to do.
420
+ the value can contain only letters, commas, ellipsis and arrow. The letters(must be in [a-zA-Z]) represent
421
+ input tensor dimension, commas(,) represent separate tensors, ellipsis indicates the tensor dimension that
422
+ you do not care about, the left of the arrow indicates the input tensors, and the right of it indicates the
423
+ desired output dimension. If there are no arrows in the equation, the letters that appear exactly once in
424
+ the equation will be part of the output, sorted in increasing alphabetical order. The output is computed by
425
+ multiplying the input operands element-wise, with their dimensions aligned based on the letters, and then
426
+ summing out the dimensions whose letters are not part of the output. If there is one arrow in the equation,
427
+ the output letters must appear at least once for some input operand and at most once for the output.
428
+ operands (Tensor): Input tensor used for calculation. The dtype of the tensor must be the same.
256
429
 
257
430
  Returns:
258
- Tensor, the shape is the same as the one after broadcasting,
259
- and the data type is the one with higher precision or higher digits among the two inputs.
431
+ Tensor, the shape of it can be obtained from the `equation` , and the dtype is the same as input tensors.
260
432
 
261
433
  Raises:
262
- TypeError: If `input` is not a Tensor.
434
+ TypeError: If `equation` is invalid, or the `equation` does not match the input tensor.
435
+ ValueError: If the number in sublist is not in [0, 52) in sublist format.
263
436
 
264
437
  Supported Platforms:
265
438
  ``Ascend``
@@ -267,559 +440,965 @@ def fmod(*args, **kwargs):
267
440
  Examples:
268
441
  >>> import mindspore
269
442
  >>> import numpy as np
270
- >>> from mindspore import Tensor, mint
271
- >>> input = Tensor(np.array([-4., -3.5, 0, 3.5, 4]), mindspore.float32)
272
- >>> output = mint.fmod(input, 2.5)
443
+ >>> from mindspore import Tensor, ops
444
+ >>> x = Tensor(np.array([1.0, 2.0, 4.0]), mindspore.float32)
445
+ >>> equation = "i->"
446
+ >>> output = ops.einsum_ext(equation, x)
273
447
  >>> print(output)
274
- [-1.5 -1. 0. 1. 1.5]
448
+ 7.0
449
+ >>> x = Tensor(np.array([1.0, 2.0, 4.0]), mindspore.float32)
450
+ >>> y = Tensor(np.array([2.0, 4.0, 3.0]), mindspore.float32)
451
+ >>> equation = "i,i->i"
452
+ >>> output = ops.einsum_ext(equation, x, y)
453
+ >>> print(output)
454
+ [ 2. 8. 12.]
455
+ >>> x = Tensor(np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]), mindspore.float32)
456
+ >>> y = Tensor(np.array([[2.0, 3.0], [1.0, 2.0], [4.0, 5.0]]), mindspore.float32)
457
+ >>> equation = "ij,jk->ik"
458
+ >>> output = ops.einsum_ext(equation, x, y)
459
+ >>> print(output)
460
+ [[16. 22.]
461
+ [37. 52.]]
462
+ >>> x = Tensor(np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]), mindspore.float32)
463
+ >>> equation = "ij->ji"
464
+ >>> output = ops.einsum_ext(equation, x)
465
+ >>> print(output)
466
+ [[1. 4.]
467
+ [2. 5.]
468
+ [3. 6.]]
469
+ >>> x = Tensor(np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]), mindspore.float32)
470
+ >>> equation = "ij->j"
471
+ >>> output = ops.einsum_ext(equation, x)
472
+ >>> print(output)
473
+ [5. 7. 9.]
474
+ >>> x = Tensor(np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]), mindspore.float32)
475
+ >>> equation = "...->"
476
+ >>> output = ops.einsum_ext(equation, x)
477
+ >>> print(output)
478
+ 21.0
479
+ >>> x = Tensor(np.array([1.0, 2.0, 3.0]), mindspore.float32)
480
+ >>> y = Tensor(np.array([2.0, 4.0, 1.0]), mindspore.float32)
481
+ >>> equation = "j,i->ji"
482
+ >>> output = ops.einsum_ext(equation, x, y)
483
+ >>> print(output)
484
+ [[ 2. 4. 1.]
485
+ [ 4. 8. 2.]
486
+ [ 6. 12. 3.]]
487
+ >>> x = mindspore.Tensor([1, 2, 3, 4], mindspore.float32)
488
+ >>> y = mindspore.Tensor([1, 2], mindspore.float32)
489
+ >>> output = ops.einsum_ext(x, [..., 1], y, [..., 2], [..., 1, 2])
490
+ >>> print(output)
491
+ [[1. 2.]
492
+ [2. 4.]
493
+ [3. 6.]
494
+ [4. 8.]]
275
495
  """
276
- return _fmod_instance(*args, **kwargs)
496
+ return _einsum_instance(*args, **kwargs)
277
497
 
278
498
 
279
- def where(*args, **kwargs):
499
+ def remainder(*args, **kwargs):
280
500
  r"""
281
- where(condition, input, other) -> Tensor
501
+ remainder(input, other) -> Tensor
282
502
 
283
- Selects elements from `input` or `other` based on `condition` and returns a tensor.
503
+ Computes the remainder of `input` divided by `other` element-wise. The result has the same sign as the divisor and
504
+ its absolute value is less than that of `other`.
284
505
 
285
- .. math::
286
- output_i = \begin{cases} input_i,\quad &if\ condition_i \\ other_i,\quad &otherwise \end{cases}
506
+ Supports broadcasting to a common shape and implicit type promotion.
507
+
508
+ .. code:: python
509
+
510
+ remainder(input, other) == input - input.div(other, rounding_mode="floor") * other
511
+
512
+ Note:
513
+ Complex inputs are not supported. At least one input need to be tensor, but not both are bool tensors.
287
514
 
288
515
  Args:
289
- condition (Tensor[bool]): If true, yield `input`, otherwise yield `other`.
290
- input (Union[Tensor, Scalar]): When `condition` is true, values to select from.
291
- other (Union[Tensor, Scalar]): When `condition` is false, values to select from.
516
+ input (Union[Tensor, numbers.Number, bool]): The dividend is a numbers.Number or
517
+ a bool or a tensor whose data type is
518
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
519
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
520
+ other (Union[Tensor, numbers.Number, bool]): The divisor is a numbers.Number or
521
+ a bool or a tensor whose data type is number or bool\_ when the dividend is a tensor.
522
+ When the dividend is Scalar, the divisor must be a Tensor whose data type is number or bool\_.
292
523
 
293
524
  Returns:
294
- Tensor, elements are selected from `input` and `other`.
525
+ Tensor, with dtype promoted and shape broadcasted.
295
526
 
296
527
  Raises:
297
- TypeError: If `condition` is not a tensor.
298
- TypeError: If both `input` and `other` are scalars.
299
- ValueError: If `condition`, `input` and `other` can not broadcast to each other.
528
+ TypeError: If `input` and `other` are not of types: (tensor, tensor), (tensor, number), (tensor, bool),
529
+ (number, tensor) or (bool, tensor).
530
+ ValueError: If `input` and `other` are not broadcastable.
300
531
 
301
532
  Supported Platforms:
302
- ``Ascend`` ``GPU`` ``CPU``
533
+ ``Ascend``
303
534
 
304
535
  Examples:
305
536
  >>> import numpy as np
306
- >>> from mindspore import tensor, ops
307
- >>> from mindspore import dtype as mstype
308
- >>> a = tensor(np.arange(4).reshape((2, 2)), mstype.float32)
309
- >>> b = tensor(np.ones((2, 2)), mstype.float32)
310
- >>> condition = a < 3
311
- >>> output = ops.where(condition, a, b)
537
+ >>> from mindspore import Tensor, mint
538
+ >>> x = Tensor(np.array([-4.0, 5.0, 6.0]).astype(np.float32))
539
+ >>> y = Tensor(np.array([3.0, 2.0, 3.0]).astype(np.float64))
540
+ >>> output = mint.remainder(x, y)
312
541
  >>> print(output)
313
- [[0. 1.]
314
- [2. 1.]]
315
-
316
- .. function:: where(condition) -> Tensor
317
- :noindex:
318
-
319
- Identical to :func:`mindspore.ops.nonzero` with input `condition` and `as_tuple` being True.
320
-
321
- Supported Platforms:
322
- ``Ascend``
542
+ [2. 1. 0.]
323
543
  """
324
- return _where_instance(*args, **kwargs)
544
+ return _remainder_instance(*args, **kwargs)
325
545
 
326
546
 
327
- def lerp(*args, **kwargs):
547
+ def addcdiv(*args, **kwargs):
328
548
  r"""
329
- lerp(input, end, weight) -> Tensor
549
+ addcdiv_ext(input, tensor1, tensor2, *, value=1) -> Tensor
330
550
 
331
- Perform a linear interpolation of two tensors input and end based on a float or tensor weight.
551
+ Performs the element-wise division of tensor tensor1 by tensor tensor2,
552
+ multiply the result by the scalar value and add it to input data.
332
553
 
333
- If `weight` is a tensor, the shapes of three inputs need to be broadcast;
334
- If `weight` is a float, the shapes of `input` and `end` need to be broadcast.
335
- If `weight` is a float and platform is Ascend, the types of `input` and `end` need to be float32.
554
+ .. math::
555
+ y[i] = input[i] + value * (tensor1[i] / tensor2[i])
336
556
 
337
557
  .. warning::
338
558
  This is an experimental API that is subject to change or deletion.
339
559
 
340
- .. math::
341
- output_{i} = input_{i} + weight_{i} * (end_{i} - input_{i})
342
-
343
560
  Args:
344
- input (Tensor): The tensor with the starting points. Data type must be float16 or float32.
345
- end (Tensor): The tensor with the ending points. Data type must be the same as `input`.
346
- weight (Union[float, Tensor]): The weight for the interpolation formula. Must be a float scalar
347
- or a tensor with float16 or float32 data type.
561
+ input (Tensor): The tensor to be added.
562
+ tensor1 (Tensor): The numerator tensor.
563
+ tensor2 (Tensor): The denominator tensor.
564
+
565
+ Keyword Args:
566
+ value (Number, optional): The multiplier for tensor1/tensor2. Default: ``1`` .
348
567
 
349
568
  Returns:
350
- Tensor, has the same type and shape as input `input`.
569
+ Tensor, has the same shape and dtype as tensor1/tensor2.
351
570
 
352
571
  Raises:
353
- TypeError: If `input` or `end` is not a tensor.
354
- TypeError: If `weight` is neither scalar(float) nor tensor.
355
- TypeError: If dtype of `input` or `end` is neither float16 nor float32.
356
- TypeError: If dtype of `weight` is neither float16 nor float32 when it is a tensor.
357
- TypeError: If `input` and `end` have different data types.
358
- TypeError: If `input`, `end` and `weight` have different data types when `weight` is a tensor.
359
- ValueError: If `end` could not be broadcast to a tensor with shape of `input`.
360
- ValueError: If `weight` could not be broadcast to tensors with shapes of `input` and `end` when it is a tensor.
572
+ TypeError: If dtype of `tensor1`, `tensor2`, or `input` is not tensor.
573
+ ValueError: If `tensor1` could not be broadcast to a tensor with shape of `tensor2`.
574
+ ValueError: If `value` could not be broadcast to tensors with shapes of `tensor1/tensor2`.
575
+ ValueError: If `input` could not be broadcast to tensors with shapes of `value*(tensor1/tensor2)`.
361
576
 
362
577
  Supported Platforms:
363
- ``Ascend`` ``GPU`` ``CPU``
578
+ ``Ascend``
364
579
 
365
580
  Examples:
366
581
  >>> import mindspore
367
582
  >>> import numpy as np
368
- >>> from mindspore import Tensor, mint
369
- >>> start = Tensor(np.array([1., 2., 3., 4.]), mindspore.float32)
370
- >>> end = Tensor(np.array([10., 10., 10., 10.]), mindspore.float32)
371
- >>> output = mint.lerp(start, end, 0.5)
372
- >>> print(output)
373
- [5.5 6. 6.5 7. ]
583
+ >>> from mindspore import Tensor, ops
584
+ >>> input_data = Tensor(np.array([1, 1, 1, 1]), mindspore.float32)
585
+ >>> x1 = Tensor(np.array([1, 2, 3, 4]), mindspore.float32)
586
+ >>> x2 = Tensor(np.array([4, 3, 2, 1]), mindspore.float32)
587
+ >>> y = ops.addcdiv_ext(input_data, x1, x2, value=1)
588
+ >>> print(y)
589
+ [1.25 1.6666667 2.5 5. ]
374
590
  """
375
- return _lerp_instance(*args, **kwargs)
591
+ return _addcdiv_instance(*args, **kwargs)
376
592
 
377
593
 
378
- def max(*args, **kwargs):
594
+ def nansum(*args, **kwargs):
379
595
  r"""
380
- max(input) -> Tensor
381
-
382
- Returns the maximum value of the input tensor.
383
-
384
- Args:
385
- input (Tensor): The input tensor.
386
-
387
- Returns:
388
- Scalar Tensor with the same dtype as `input`, the maximum value of the input.
389
-
390
- Supported Platforms:
391
- ``Ascend`` ``GPU`` ``CPU``
392
-
393
- Examples:
394
- >>> import mindspore
395
- >>> import numpy as np
396
- >>> from mindspore import Tensor, mint
397
- >>> x = Tensor(np.array([0.0, 0.4, 0.6, 0.7, 0.1]), mindspore.float32)
398
- >>> output = mint.max(x)
399
- >>> print(output)
400
- 0.7
596
+ nansum(input, dim=None, keepdim=False, *, dtype=None) -> Tensor
401
597
 
402
- .. function:: max(input, dim, keepdim=False) -> tuple(Tensor)
403
- :noindex:
598
+ Computes sum of `input` over a given dimension, treating NaNs as zero.
404
599
 
405
- Calculates the maximum value along with the given dim for the input tensor, and returns the maximum values and
406
- indices.
600
+ .. warning::
601
+ It is only supported on Atlas A2 Training Series Products.
602
+ This is an experimental API that is subject to change or deletion.
407
603
 
408
604
  Args:
409
- input (Tensor): The input tensor, can be any dimension. Set the shape of input tensor as
410
- :math:`(input_1, input_2, ..., input_N)` , Complex tensor is not supported.
411
- dim (int): The dimension to reduce.
412
- keepdim (bool, optional): Whether to reduce dimension, if ``True`` the output will keep the same dimension as the
413
- `input` , the output will reduce dimension if ``False``. Default: ``False``.
605
+ input (Tensor): The input Tensor.
606
+ dim (Union[int, tuple(int)], optional): The dimensions to sum.
607
+ Dim must be in the range [-rank(input), rank(input)). Default: ``None``, which indicates the sum of all
608
+ elements in a tensor.
609
+ keepdim (bool, optional): Whether the output Tensor keeps dimensions or not. Default: ``False``, indicating that no dimension is kept.
610
+
611
+ Keyword Args:
612
+ dtype (:class:`mindspore.dtype`, optional): The dtype of output Tensor. Default: ``None``.
414
613
 
415
614
  Returns:
416
- tuple (Tensor), tuple of 2 tensors, containing the maximum value of the self tensor along the given
417
- dimension `dim` and the corresponding index.
615
+ Tensor, the sum of input `input` in the given dimension dim, treating NaNs as zero.
418
616
 
419
- - **values** (Tensor) - The maximum value of input tensor, with the same shape as `index`, and same dtype as `input`.
420
- - **index** (Tensor) - The index for the maximum value of the input tensor, with dtype int64. If `keepdim`
421
- is ``True`` , the shape of output tensors is :math:`(input_1, input_2, ..., input_{dim-1}, 1, input_{dim+1}, ..., input_N)`.
422
- Otherwise, the shape is :math:`(input_1, input_2, ..., input_{dim-1}, input_{dim+1}, ..., input_N)` .
617
+ - If dim is None, keepdim is False,
618
+ the output is a 0-D Tensor representing the sum of all elements in the input Tensor.
619
+ - If dim is int, set as 2, and keepdim is False,
620
+ the shape of output is :math:`(input_1, input_3, ..., input_R)`.
621
+ - If dim is tuple(int) or list(int), set as (2, 3), and keepdim is False,
622
+ the shape of output is :math:`(input_1, input_4, ..., input_R)`.
423
623
 
424
624
  Raises:
425
625
  TypeError: If `input` is not Tensor.
426
626
  TypeError: If `keepdim` is not a bool.
427
- TypeError: If `dim` is not an int.
627
+ TypeError: If the dtype of `input` or `dtype` is complex type.
628
+ ValueError: If `dim` is not in [-rank(input), rank(input)).
428
629
 
429
630
  Supported Platforms:
430
- ``Ascend`` ``GPU`` ``CPU``
631
+ ``Ascend``
431
632
 
432
633
  Examples:
433
634
  >>> import mindspore
434
635
  >>> import numpy as np
435
636
  >>> from mindspore import Tensor, mint
436
- >>> x = Tensor(np.array([0.0, 0.4, 0.6, 0.7, 0.1]), mindspore.float32)
437
- >>> output, index = mint.max(x, 0, keepdim=True)
438
- >>> print(output, index)
439
- [0.7] [3]
440
-
441
- .. function:: max(input, other) -> Tensor
442
- :noindex:
443
-
444
- For details, please refer to :func:`mindspore.mint.maximum`.
637
+ >>> x = Tensor(np.array([[float("nan"), 2, 3], [1, 2, float("nan")]]), mindspore.float32)
638
+ >>> output1 = mint.nansum(x, dim=0, keepdim=False, dtype=mindspore.float32)
639
+ >>> output2 = mint.nansum(x, dim=0, keepdim=True, dtype=mindspore.float32)
640
+ >>> print(output1)
641
+ [1. 4. 3.]
642
+ >>> print(output2)
643
+ [[1. 4. 3.]]
445
644
  """
446
- return _max_instance(*args, **kwargs)
645
+ return _nansum_instance(*args, **kwargs)
447
646
 
448
647
 
449
- def all_gather_matmul(*args, **kwargs):
648
+ def sub(*args, **kwargs):
450
649
  r"""
451
- all_gather_matmul(input, x2, group, world_size, *, bias=None, gather_index=0, gather_output=True, comm_turn=0, trans_input=False, trans_x2=False) -> Tensor
650
+ sub(input, other, *, alpha=1) -> Tensor
452
651
 
453
- In the TP segmentation scenario, allgather and matmul are fused, and communication and computational pipelines
454
- are parallelized within the fusion operator.
652
+ Subtracts scaled other value from self Tensor.
455
653
 
456
654
  .. math::
457
- output = allgather(input)@x2
458
655
 
459
- gather\_out = allgather(input)
656
+ out_{i} = self_{i} - alpha \times other_{i}
460
657
 
461
- .. warning::
462
- This is an experimental API that is subject to change or deletion.
658
+ Note:
659
+ - When the two inputs have different shapes,
660
+ they must be able to broadcast to a common shape.
661
+ - The two inputs and alpha comply with the implicit type conversion rules to make the data types
662
+ consistent.
463
663
 
464
664
  Args:
465
- input (Tensor): The left matrix of matmul, the dtype supports float16 and bfloat16, the shape supports 2
466
- dimensions, and the data format supports ND.
467
- x2 (Tensor): The right matrix of matmul, the dtype needs to be consistent with ``input`` , the shape
468
- supports 2 dimensions, and the data format supports ND.
469
- group (str): Communication group name, can be created by ``create_group`` method, or use the default group
470
- ``mindspore.communication.GlobalComm.WORLD_COMM_GROUP``.
471
- world_size (int): The total number of ranks in the communication group, should be consistent with the number
472
- of devices actually running, supporting ``2`` , ``4`` , and ``8`` .
665
+ input (Union[Tensor, number.Number, bool]): `input` is a number.Number or a bool or a tensor whose data type is
666
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
667
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
668
+ other (Union[Tensor, number.Number, bool]): `other` is a number.Number or a bool or a tensor whose data type is
669
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
670
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
473
671
 
474
672
  Keyword Args:
475
- bias (Tensor, optional): Currently only ``None`` is supported. Default: ``None`` .
476
- gather_index (int, optional): Indicates the allgather operation object, ``0`` means gather ``input`` ,
477
- ``1`` means gather ``x2`` . Currently only ``0`` is supported. Default: ``0`` .
478
- gather_output (bool, optional): Indicates whether gather output is required. Default: ``True`` .
479
- comm_turn (int, optional): Indicates the granularity of communication between ranks. Currently only ``0``
480
- is supported. Default: ``0`` .
481
- trans_input (bool, optional): Indicates whether ``input`` is transposed. Currently only ``False`` is
482
- supported. Default: ``False`` .
483
- trans_x2 (bool, optional): Indicates whether ``x2`` is transposed. Default: ``False`` .
673
+ alpha (number.Number, optional): A scaling factor applied to `other`, default ``1``.
484
674
 
485
675
  Returns:
486
- - output (Tensor) - The result of allgather and matmul fusion calculations.
487
- - gather_out (Tensor) - The result of allgather. If gather_output is ``False`` , ``gather_out`` returns a
488
- tensor with shape 0.
676
+ Tensor with a shape that is the same as the broadcasted shape of the self `self` and `other`,
677
+ and the data type is the one with higher precision or higher digits among the two inputs and alpha.
678
+
679
+ Raises:
680
+ TypeError: If the type of `other` or `alpha` is not one of the following: Tensor, number.Number, bool.
681
+ TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
682
+ TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
683
+
684
+ Supported Platforms:
685
+ ``Ascend`` ``GPU`` ``CPU``
686
+
687
+ Examples:
688
+ >>> import numpy as np
689
+ >>> import mindspore
690
+ >>> from mindspore import Tensor, mint
691
+ >>> x = Tensor(np.array([4, 5, 6]).astype(np.float32))
692
+ >>> y = Tensor(1, mindspore.int32)
693
+ >>> alpha = 0.5
694
+ >>> output = mint.sub(x, y, alpha=alpha)
695
+ >>> print(output)
696
+ [3.5 4.5 5.5]
697
+ >>> # the data type of x is float32, the data type of y is int32,
698
+ >>> # alpha is a float, and the output is the data format of higher precision float32.
699
+ >>> print(output.dtype)
700
+ Float32
701
+ """
702
+ return _sub_instance(*args, **kwargs)
703
+
704
+
705
+ def __sub__(*args, **kwargs):
706
+ r"""
707
+ __sub__(input, other, *, alpha=1) -> Tensor
708
+
709
+ Alias for :func:`mindspore.mint.sub`.
710
+
711
+ .. method:: mint.__sub__(input, other, *, alpha=1) -> Tensor
712
+ :noindex:
713
+
714
+ Alias for overload function of :func:`mindspore.mint.sub`.
715
+ """
716
+ return _sub_instance(*args, **kwargs)
717
+
718
+
719
+ def gmm(*args, **kwargs):
720
+ r"""
721
+ gmm(x, weight, bias=None, group_list=None, group_type=0, group_list_type=0) -> tuple[Tensor]
722
+
723
+ Grouping matrix multiplication.
724
+
725
+ .. warning::
726
+ - This is an experimental API that is subject to change or deletion.
727
+ - `group_type` must be a constant.
728
+ - Only support on Atlas A2 training series.
729
+ - When the type of `group_list` is tuple[int] or list[int], it should a non-negative non-decreasing sequence,
730
+ indicating indexes of each group along the split axis. In this scenario, the arg `group_list_type` is useless.
731
+
732
+ .. note::
733
+ - When `group_type` is 2, the tensors in `x` must be non-continuous tensors which has
734
+ been transposed.
735
+ - Only when `group_type` is 0 and `bias` is None, the reverse derivative is supported,
736
+ which is implemented by ops.function.math_func.gmm_backward or through automatic differentiation.
737
+
738
+ Args:
739
+ x (tuple[Tensor]): The first tensors to be multiplied, whose num should be 1.
740
+ weight (tuple[Tensor]): The second tensors to be multiplied, whose num should be 1.
741
+ bias (tuple[Tensor], optional): Biases added to outputs, whose num should be 1.
742
+ The shape of each tensor in `bias` should be :math: `(group_list.shape[0], n)`
743
+ or :math: `(len(group_list), n)`. In the training scenario, the bias only supports None.
744
+ Default: ``None`` .
745
+ group_list (Union[Tensor, list[int], tuple[int]], optional): 1-D Tensor, list[int]
746
+ or tuple[int], indicating indexes or sizes of each group along the split axis.
747
+ When `group_list` is list[int] or tuple[int], it's length should be less than or equal to 128.
748
+ When `group_list` is a Tensor, it's size should be less than or equal to 1024.
749
+ Supported dtypes: int64.
750
+ Default: ``None`` .
751
+
752
+ - If `group_list_type` is 0, it must be a non-negative non-decreasing sequence.
753
+ And when `group_type` is 0, the last element in `group_list` should be equal to
754
+ the first dimension of the tensor in `x` . When `group_type` is 2, the last element
755
+ in `group_list` should be equal to the second dimension of the tensor in `x` .
756
+
757
+ - If `group_list_type` is 1, the value in `group_list` are the sizes of each group.
758
+ group_type (int, optional): Represents the axes that need to be grouped. For example,
759
+ :math: `C[m,n] = A[m,k] \times B[k,n]`. Default: ``0`` .
760
+
761
+ - If `group_type` is 0, it means that the m-axis is grouped, meaning that the shape
762
+ of each tensor in `x` should be :math: `(m, k)` , the shape of each tensor in `weight`
763
+ should be :math: `(group_list.shape[0], k, n)` or :math: `(len(group_list), k, n)`,
764
+ and the shape of each tensor in result would be :math: `(m, n)` .
765
+
766
+ - If `group_type` is 2, it means that the k-axis is grouped, meaning that
767
+ the shape of each tensor in `x` should be :math: `(m, k)`, the shape of each
768
+ tensor in `weight` should be :math: `(k, n)`, and the shape of each tensor
769
+ in result would be :math: `(group_list.shape[0], m, n)` or :math: `(len(group_list), m, n)`.
770
+ group_list_type (int, optional): If it's 0, the value in `group_list` are the cumsum
771
+ result of the size of each group. If it's 1, the value in `group_list` are the size
772
+ of each group. Default: ``0`` .
773
+
774
+ `x` , `weight` and `bias` only support the following 3 type combinations:
775
+
776
+ - x: float16, weight: float16, bias: float16
777
+ - x: bfloat16, weight: bfloat16, bias: float32
778
+ - x: float32, weight: float32, bias: float32
779
+
780
+ Returns:
781
+ tuple[Tensor], the results of grouping matrix multiplication.
782
+
783
+ Supported Platforms:
784
+ ``Ascend``
785
+
786
+ Examples:
787
+ >>> import numpy as np
788
+ >>> from mindspore import Tensor, ops
789
+ >>> x = Tensor(np.random.uniform(0,1, (10, 20)).astype(np.float32))
790
+ >>> weight = Tensor(np.random.uniform(0,1, (4, 20, 8)).astype(np.float32))
791
+ >>> group_list = Tensor([2, 4, 2, 2])
792
+ >>> y = ops.function.math_func.gmm([x,], [weight,], group_list=group_list, group_list_type=1)
793
+ >>> print(y[0].shape)
794
+ >>> (10, 8)
795
+ >>> group_list = [2, 6, 8, 10]
796
+ >>> y = ops.function.math_func.gmm([x,], [weight,], group_list=group_list, group_list_type=0)
797
+ >>> print(y[0].shape)
798
+ >>> (10, 8)
799
+ """
800
+ return _gmm_instance(*args, **kwargs)
801
+
802
+
803
+ def any(*args, **kwargs):
804
+ r"""
805
+ any(input) -> Tensor
806
+
807
+ Check if ``True`` is present in `input` .
808
+
809
+ Args:
810
+ input (Tensor): The input tensor.
811
+
812
+ Returns:
813
+ Tensor
814
+
815
+ Supported Platforms:
816
+ ``Ascend`` ``GPU`` ``CPU``
817
+
818
+ Examples:
819
+ >>> import mindspore
820
+ >>> input = mindspore.tensor([[True, False], [True, True]])
821
+ >>> mindspore.ops.functional_overload.any(input)
822
+ Tensor(shape=[], dtype=Bool, value= True)
823
+
824
+ .. function:: any(input, dim, keepdim=False) -> Tensor
825
+ :noindex:
826
+
827
+ Check if ``True`` is present in the specified dimension of `input` .
828
+
829
+ Args:
830
+ input (Tensor): The input tensor.
831
+ dim (int): The dimensions to reduce.
832
+ keepdim (bool, optional): Whether the output tensor has dim retained or not. Default ``False`` .
833
+
834
+ Returns:
835
+ Tensor
836
+
837
+ Supported Platforms:
838
+ ``Ascend`` ``GPU`` ``CPU``
839
+
840
+ Examples:
841
+ >>> import mindspore
842
+ >>> input = mindspore.tensor([[True, False], [True, True]])
843
+ >>> mindspore.ops.functional_overload.any(input, dim=1)
844
+ Tensor(shape=[2], dtype=Bool, value= [ True, True])
845
+ """
846
+ return _any_instance(*args, **kwargs)
847
+
848
+
849
+ def gmm_backward(*args, **kwargs):
850
+ r"""
851
+ gmm_backward(grad, x, weight, *, group_list=None, group_list_type=0) -> tuple[tuple[Tensor]]
852
+
853
+ the grad of ops.function.math_func.gmm
854
+ """
855
+ return _gmm_backward_instance(*args, **kwargs)
856
+
857
+
858
+ def add(*args, **kwargs):
859
+ r"""
860
+ add(input, other, *, alpha=1) -> Tensor
861
+
862
+ Adds scaled other value to `self`.
863
+
864
+ .. math::
865
+
866
+ out_{i} = self_{i} + alpha \times other_{i}
489
867
 
490
868
  Note:
491
- - When using this interface, please ensure that the driver firmware package and CANN package are both the
492
- matching 8.0.RC2 version or a higher version, otherwise an error will be reported, such as BUS ERROR.
493
- - The shape of ``input`` is (m, k), the shape of ``x2`` is (k, n), k is required to be equal, and the value
494
- range of k is [256, 65535). The shape of ``output`` is (m * world_size, n), and the shape of
495
- ``gather_out`` is (m * world_size, k).
496
- - The common fusion operators in a model only support the same communication group.
869
+ - When `self` and `other` have different shapes,
870
+ they must be able to broadcast to a common shape.
871
+ - `self`, `other` and `alpha` comply with the implicit type conversion rules to make the data types
872
+ consistent.
873
+
874
+ Args:
875
+ input (Union[Tensor, number.Number, bool]): `input` is a number.Number or a bool or a tensor whose data type is
876
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
877
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
878
+ other (Union[Tensor, number.Number, bool]): `other` is a number.Number or a bool or a tensor whose data type is
879
+ `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
880
+ `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
881
+
882
+ Keyword Args:
883
+ alpha (number.Number, optional): A scaling factor applied to `other`, default ``1``.
884
+
885
+ Returns:
886
+ Tensor with a shape that is the same as the broadcasted shape of the `self` and `other`,
887
+ and the data type is the one with higher precision or higher digits among `self`, `other` and `alpha`.
497
888
 
498
889
  Raises:
499
- TypeError: Any arg is of wrong type.
500
- RuntimeError: The dtype of ``input`` or ``x2`` is neither float16 nor bfloat16.
501
- RuntimeError: The dtypes of ``input`` and ``x2`` are different.
502
- RuntimeError: The shape of ``input`` or ``x2`` is not two-dimensional.
503
- RuntimeError: The k axis of ``input`` shape and ``x2`` shape are not equal.
504
- RuntimeError: k is less than ``256`` or greater than or equal to ``65535`` .
505
- RuntimeError: ``bias`` is not None.
506
- RuntimeError: ``group`` does not exist.
507
- RuntimeError: ``world_size`` is inconsistent with the actual number of running cards.
508
- RuntimeError: ``world_size`` is not equal to ``2`` , ``4`` , or ``8`` .
509
- RuntimeError: ``gather_index`` is not ``0`` .
510
- RuntimeError: ``trans_input`` is ``True`` .
890
+ TypeError: If the type of `other` or `alpha` is not one of the following: Tensor, number.Number, bool.
891
+ TypeError: If `alpha` is of type float but `self` and `other` are not of type float.
892
+ TypeError: If `alpha` is of type bool but `self` and `other` are not of type bool.
893
+
894
+ Supported Platforms:
895
+ ``Ascend`` ``GPU`` ``CPU``
896
+
897
+ Examples:
898
+ >>> import numpy as np
899
+ >>> import mindspore
900
+ >>> from mindspore import Tensor, mint
901
+ >>> x = Tensor(1, mindspore.int32)
902
+ >>> y = Tensor(np.array([4, 5, 6]).astype(np.float32))
903
+ >>> alpha = 0.5
904
+ >>> output = mint.add(x, y, alpha=alpha) # x.add(y, alpha=alpha)
905
+ >>> print(output)
906
+ [3. 3.5 4.]
907
+ >>> # the data type of x is int32, the data type of y is float32,
908
+ >>> # alpha is a float, and the output is the data format of higher precision float32.
909
+ >>> print(output.dtype)
910
+ Float32
911
+ """
912
+ return _add_instance(*args, **kwargs)
913
+
914
+
915
+ def __add__(*args, **kwargs):
916
+ r"""
917
+ __add__(input, other, *, alpha=1) -> Tensor
918
+
919
+ Alias for :func:`mindspore.mint.add`.
920
+
921
+ .. method:: mint.__add__(input, other, *, alpha=1) -> Tensor
922
+ :noindex:
923
+
924
+ Alias for overload function of :func:`mindspore.mint.add`.
925
+ """
926
+ return _add_instance(*args, **kwargs)
927
+
928
+
929
+ def where(*args, **kwargs):
930
+ r"""
931
+ where(condition, input, other) -> Tensor
932
+
933
+ Selects elements from `input` or `other` based on `condition` and returns a tensor.
934
+
935
+ .. math::
936
+ output_i = \begin{cases} input_i,\quad &if\ condition_i \\ other_i,\quad &otherwise \end{cases}
937
+
938
+ Args:
939
+ condition (Tensor[bool]): If true, yield `input`, otherwise yield `other`.
940
+ input (Union[Tensor, Scalar]): When `condition` is true, values to select from.
941
+ other (Union[Tensor, Scalar]): When `condition` is false, values to select from.
942
+
943
+ Returns:
944
+ Tensor, elements are selected from `input` and `other`.
945
+
946
+ Raises:
947
+ TypeError: If `condition` is not a tensor.
948
+ TypeError: If both `input` and `other` are scalars.
949
+ ValueError: If `condition`, `input` and `other` can not broadcast to each other.
950
+
951
+ Supported Platforms:
952
+ ``Ascend`` ``GPU`` ``CPU``
953
+
954
+ Examples:
955
+ >>> import numpy as np
956
+ >>> from mindspore import tensor, ops
957
+ >>> from mindspore import dtype as mstype
958
+ >>> a = tensor(np.arange(4).reshape((2, 2)), mstype.float32)
959
+ >>> b = tensor(np.ones((2, 2)), mstype.float32)
960
+ >>> condition = a < 3
961
+ >>> output = ops.where(condition, a, b)
962
+ >>> print(output)
963
+ [[0. 1.]
964
+ [2. 1.]]
965
+
966
+ .. function:: where(condition) -> Tensor
967
+ :noindex:
968
+
969
+ Identical to :func:`mindspore.ops.nonzero` with input `condition` and `as_tuple` being True.
970
+
971
+ Supported Platforms:
972
+ ``Ascend``
973
+ """
974
+ return _where_instance(*args, **kwargs)
975
+
976
+
977
+ def div(*args, **kwargs):
978
+ r"""
979
+ div(input, other, *, rounding_mode=None) -> Tensor
980
+
981
+ Divides each element of the `input` by the corresponding element of the `other` .
982
+
983
+ .. math::
984
+
985
+ out_{i} = input_{i} / other_{i}
986
+
987
+ .. note::
988
+ - When the two inputs have different shapes, they must be able to broadcast to a common shape.
989
+ - The two inputs can not be bool type at the same time,
990
+ [True, Tensor(True, bool\_), Tensor(np.array([True]), bool\_)] are all considered bool type.
991
+ - The two inputs comply with the implicit type conversion rules to make the data types
992
+ consistent.
993
+
994
+ Args:
995
+ input (Union[Tensor, Number, bool]): The dividend.
996
+ other (Union[Tensor, Number, bool]): The divisor.
997
+
998
+ Keyword Args:
999
+ rounding_mode (str, optional): Type of rounding applied to the result. Default: ``None`` .
1000
+ Three types are defined as,
1001
+
1002
+ - None: Default behavior, which is the same as true division in Python or `true_divide` in NumPy.
1003
+
1004
+ - "floor": Rounds the division of the inputs down, which is the same as floor division in Python
1005
+ or `floor_divide` in NumPy.
1006
+
1007
+ - "trunc": Rounds the division of the inputs towards zero, which is the same as C-style integer division.
1008
+
1009
+ Returns:
1010
+ Tensor, the shape is the same as the one after broadcasting,
1011
+ and the data type is the one with higher precision or higher digits among the two inputs.
1012
+
1013
+ Raises:
1014
+ TypeError: If `input` and `other` is not one of the following: Tensor, Number, bool.
1015
+ ValueError: If `rounding_mode` value is not None, "floor" or "trunc".
511
1016
 
512
1017
  Supported Platforms:
513
1018
  ``Ascend``
514
1019
 
515
1020
  Examples:
516
- .. note::
517
- Before running the following examples, you need to configure the communication environment variables.
1021
+ >>> import mindspore
1022
+ >>> import numpy as np
1023
+ >>> from mindspore import Tensor, mint
1024
+ >>> x = Tensor(np.array([1.0, 2.0, 3.0]), mindspore.float32)
1025
+ >>> y = Tensor(np.array([4.0, 5.0, 6.0]), mindspore.float32)
1026
+ >>> output = mint.div(x, y)
1027
+ >>> print(output)
1028
+ [0.25 0.4 0.5]
1029
+ """
1030
+ return _div_instance(*args, **kwargs)
518
1031
 
519
- For Ascend/GPU/CPU devices, it is recommended to use the msrun startup method without any third-party or
520
- configuration file dependencies. Please see the `msrun start up <https://www.mindspore.cn/tutorials/en/master/parallel/msrun_launcher.html>`_
521
- for more details.
522
1032
 
523
- This example should be run with 2 devices.
1033
+ def divide(*args, **kwargs):
1034
+ r"""
1035
+ divide(input, other, *, rounding_mode=None) -> Tensor
524
1036
 
525
- >>> import mindspore as ms
1037
+ Alias for :func:`mindspore.mint.div`.
1038
+ """
1039
+ return _div_instance(*args, **kwargs)
1040
+
1041
+
1042
+ def clamp(*args, **kwargs):
1043
+ r"""
1044
+ clamp(input, min=None, max=None) -> Tensor
1045
+
1046
+ Clamps tensor values between the specified minimum value and maximum value.
1047
+
1048
+ Limits the value of :math:`input` to a range, whose lower limit is `min` and upper limit is `max` .
1049
+
1050
+ .. math::
1051
+
1052
+ out_i= \left\{
1053
+ \begin{array}{align}
1054
+ max & \text{ if } input_i\ge max \\
1055
+ input_i & \text{ if } min \lt input_i \lt max \\
1056
+ min & \text{ if } input_i \le min \\
1057
+ \end{array}\right.
1058
+
1059
+ Note:
1060
+ - `min` and `max` cannot be None at the same time;
1061
+ - When `min` is None and `max` is not None, the elements in Tensor larger than `max` will become `max`;
1062
+ - When `min` is not None and `max` is None, the elements in Tensor smaller than `min` will become `min`;
1063
+ - If `min` is greater than `max`, the value of all elements in Tensor will be set to `max`;
1064
+ - The data type of `input`, `min` and `max` should support implicit type conversion and cannot be bool type.
1065
+
1066
+ Args:
1067
+ input (Tensor): Input data, which type is Tensor. Tensors of arbitrary dimensions are supported.
1068
+ min (Union(Tensor, float, int), optional): The minimum value. Default: ``None`` .
1069
+ max (Union(Tensor, float, int), optional): The maximum value. Default: ``None`` .
1070
+
1071
+ Returns:
1072
+ Tensor, a clipped Tensor.
1073
+ The data type and shape are the same as input.
1074
+
1075
+ Raises:
1076
+ ValueError: If both `min` and `max` are None.
1077
+ TypeError: If the type of `input` is not Tensor.
1078
+ TypeError: If the type of `min` is not in None, Tensor, float or int.
1079
+ TypeError: If the type of `max` is not in None, Tensor, float or int.
1080
+
1081
+ Supported Platforms:
1082
+ ``Ascend``
1083
+
1084
+ Examples:
1085
+ >>> # case 1: the data type of input is Tensor
1086
+ >>> import mindspore
1087
+ >>> from mindspore import Tensor, mint
526
1088
  >>> import numpy as np
527
- >>> from mindspore import ops
528
- >>> ms.communication.init()
529
- >>> rank = ms.communication.get_rank()
530
- >>> np.random.seed(rank)
531
- >>> input = ms.Tensor(np.random.randn(128, 256).astype(np.float32), dtype=ms.float16)
532
- >>> x2 = ms.Tensor(np.random.randn(256, 512).astype(np.float32), dtype=ms.float16)
533
- >>> group = ms.communication.GlobalComm.WORLD_COMM_GROUP
534
- >>> world_size = ms.communication.get_group_size()
535
- >>> output, gather_out = ops.all_gather_matmul(
536
- ... input,
537
- ... x2,
538
- ... group,
539
- ... world_size,
540
- ... bias=None,
541
- ... gather_index=0,
542
- ... gather_output=True,
543
- ... comm_turn=0,
544
- ... trans_input=False,
545
- ... trans_x2=False,
546
- ... )
547
- >>> print(output.shape)
548
- (256, 512)
549
- >>> print(gather_out.shape)
550
- (256, 256)
1089
+ >>> min_value = Tensor(5, mindspore.float32)
1090
+ >>> max_value = Tensor(20, mindspore.float32)
1091
+ >>> input = Tensor(np.array([[1., 25., 5., 7.], [4., 11., 6., 21.]]), mindspore.float32)
1092
+ >>> output = mint.clamp(input, min_value, max_value)
1093
+ >>> print(output)
1094
+ [[ 5. 20. 5. 7.]
1095
+ [ 5. 11. 6. 20.]]
1096
+ >>> # case 2: the data type of input is number
1097
+ >>> import mindspore
1098
+ >>> from mindspore import Tensor, mint
1099
+ >>> import numpy as np
1100
+ >>> min_value = 5
1101
+ >>> max_value = 20
1102
+ >>> input = Tensor(np.array([[1., 25., 5., 7.], [4., 11., 6., 21.]]), mindspore.float32)
1103
+ >>> output = mint.clamp(input, min_value, max_value)
1104
+ >>> print(output)
1105
+ [[ 5. 20. 5. 7.]
1106
+ [ 5. 11. 6. 20.]]
551
1107
  """
552
- return _all_gather_matmul_instance(*args, **kwargs)
1108
+ return _clamp_instance(*args, **kwargs)
1109
+
1110
+
1111
+ def clip(*args, **kwargs):
1112
+ r"""
1113
+ clip(input, min=None, max=None) -> Tensor
1114
+
1115
+ Alias for :func:`mindspore.mint.clamp`.
1116
+ """
1117
+ return _clamp_instance(*args, **kwargs)
1118
+
1119
+
1120
+ def empty_like(*args, **kwargs):
1121
+ r"""
1122
+ empty_like(input, *, dtype=None, device=None) -> Tensor
1123
+
1124
+ Returns an uninitialized Tensor with the same shape as the `input`. Its dtype is specified by `dtype` and its
1125
+ device is specified by `device`.
1126
+
1127
+ .. warning::
1128
+ This is an experimental API that is subject to change or deletion.
1129
+
1130
+ Args:
1131
+ input (Tensor): Tensor of any dimension.
1132
+
1133
+ Keyword Args:
1134
+ dtype (:class:`mindspore.dtype`, optional): The specified dtype of the output tensor. If `dtype = None`, the
1135
+ tensor will have the same dtype as input `input`. Default ``None``.
1136
+ device (string, optional): The specified device of the output tensor. In PyNative mode, ``"Ascend"``, ``"npu"``,
1137
+ ``"cpu"`` and ``"CPU"`` are supported. In graph mode O0, ``"Ascend"`` and ``"npu"`` are supported. If `device = None`,
1138
+ the value set by :func:`mindspore.set_device` will be used. Default ``None``.
1139
+
1140
+ Returns:
1141
+ Tensor, has the same shape, type and device as `input` but with uninitialized data (May be a random value).
553
1142
 
1143
+ Raises:
1144
+ TypeError: If `input` is not a Tensor.
554
1145
 
555
- def gmm_backward_fusion(*args, **kwargs):
556
- r"""
557
- gmm_backward_fusion(grad, weight, *, group_list=None, group_list_type=0) -> tuple[tuple[Tensor]]
1146
+ Supported Platforms:
1147
+ ``Ascend`` ``CPU``
558
1148
 
559
- the grad of ops.function.math_func.gmm, only dx
1149
+ Examples:
1150
+ >>> import mindspore
1151
+ >>> from mindspore import ops, Tensor
1152
+ >>> x = Tensor([[1, 2, 3], [4, 5, 6]])
1153
+ >>> output1 = ops.empty_like(x)
1154
+ >>> print(output1)
1155
+ [[0 0 0]
1156
+ [0 0 0]]
1157
+ >>> output2 = ops.empty_like(x, dtype=mindspore.float64)
1158
+ >>> print(output2)
1159
+ [[0. 0. 0.]
1160
+ [0. 0. 0.]]
560
1161
  """
561
- return _gmm_backward_fusion_instance(*args, **kwargs)
1162
+ return _empty_like_instance(*args, **kwargs)
562
1163
 
563
1164
 
564
- def repeat_interleave(*args, **kwargs):
1165
+ def empty(*args, **kwargs):
565
1166
  r"""
566
- repeat_interleave(input, repeats, dim=None, *, output_size=None) -> Tensor
1167
+ empty(*size, *, dtype=None, device=None) -> Tensor
567
1168
 
568
- Repeat elements of a tensor along an axis, like :func:`mindspore.numpy.repeat`.
1169
+ Creates a tensor with uninitialized data, whose shape, dtype and device are described by the argument `size`,
1170
+ `dtype` and `device` respectively.
569
1171
 
570
1172
  .. warning::
571
- Only support on Atlas A2 training series.
1173
+ This is an experimental API that is subject to change or deletion.
572
1174
 
573
1175
  Args:
574
- input (Tensor): The tensor to repeat values for. Must be of types: float16,
575
- float32, int8, uint8, int16, int32, or int64.
576
- repeats (Union[int, tuple, list, Tensor]): The number of times to repeat, must be positive.
577
- dim (int, optional): The dim along which to repeat, Default: ``None``. If dims is None,
578
- the input Tensor will be flattened and the output will alse be flattened.
1176
+ size (Union[tuple[int], list[int], int]): The specified shape of output tensor. Can be variable numbers of
1177
+ positive integers or tuple or list containing positive integers.
579
1178
 
580
1179
  Keyword Args:
581
- output_size (int, optional): Total output size for the given axis (e.g. sum of repeats),
582
- Default: ``None``.
1180
+ dtype (:class:`mindspore.dtype`, optional): The specified type of output tensor. If `dtype` is ``None`` ,
1181
+ `mindspore.float32` will be used. Default: ``None`` .
1182
+ device (string, optional): The specified device of the output tensor. In PyNative mode, ``"Ascend"``, ``"npu"``,
1183
+ ``"cpu"`` and ``"CPU"`` are supported. In graph mode O0, ``"Ascend"`` and ``"npu"`` are supported. If `device = None`,
1184
+ `mindspore.context.device_target` will be used. Default ``None``.
583
1185
 
584
1186
  Returns:
585
- One tensor with values repeated along the specified dim. If input has shape
586
- :math:`(s1, s2, ..., sn)` and dim is i, the output will have shape :math:`(s1, s2, ...,
587
- si * repeats, ..., sn)`. The output type will be the same as the type of `input`.
1187
+ Tensor, whose shape, dtype and device are defined by input.
1188
+
1189
+ Raises:
1190
+ TypeError: If `size` is neither an int nor a tuple or list of int.
588
1191
 
589
1192
  Supported Platforms:
590
- ``Ascend``
1193
+ ``Ascend`` ``CPU``
591
1194
 
592
1195
  Examples:
593
1196
  >>> import mindspore
594
- >>> import numpy as np
595
- >>> from mindspore import Tensor, mint
596
- >>> input = Tensor(np.array([[0, 1, 2], [3, 4, 5]]), mindspore.int32)
597
- >>> output = mint.repeat_interleave(input, repeats=2, dim=0)
1197
+ >>> from mindspore import ops
1198
+ >>> output = ops.empty((2, 3), dtype=mindspore.float32)
598
1199
  >>> print(output)
599
- [[0 1 2]
600
- [0 1 2]
601
- [3 4 5]
602
- [3 4 5]]
1200
+ [[0. 0. 0.]
1201
+ [0. 0. 0.]]
603
1202
  """
604
- return _repeat_interleave_instance(*args, **kwargs)
1203
+ return _empty_instance(*args, **kwargs)
605
1204
 
606
1205
 
607
- def matmul_reduce_scatter(*args, **kwargs):
1206
+ def lerp(*args, **kwargs):
608
1207
  r"""
609
- matmul_reduce_scatter(input, x2, group, world_size, *, reduce_op='sum', bias=None, comm_turn=0, trans_input=False, trans_x2=False) -> Tensor
1208
+ lerp(input, end, weight) -> Tensor
610
1209
 
611
- In the TP segmentation scenario, matmul and reducescatter are fused, and communication and computational
612
- pipelines are parallelized within the fusion operator.
1210
+ Perform a linear interpolation of two tensors input and end based on a float or tensor weight.
613
1211
 
614
- .. math::
615
- output = reducescatter(input@x2)
1212
+ If `weight` is a tensor, the shapes of three inputs need to be broadcast;
1213
+ If `weight` is a float, the shapes of `input` and `end` need to be broadcast.
1214
+ If `weight` is a float and platform is Ascend, the types of `input` and `end` need to be float32.
616
1215
 
617
1216
  .. warning::
618
1217
  This is an experimental API that is subject to change or deletion.
619
1218
 
620
- Args:
621
- input (Tensor): The left matrix of matmul, the dtype supports float16 and bfloat16, the shape supports 2
622
- dimensions, and the data format supports ND.
623
- x2 (Tensor): The right matrix of matmul, the dtype needs to be consistent with ``input`` , the shape
624
- supports 2 dimensions, and the data format supports ND.
625
- group (str): Communication group name, can be created by ``create_group`` method, or use the default group
626
- ``mindspore.communication.GlobalComm.WORLD_COMM_GROUP``.
627
- world_size (int): The total number of ranks in the communication group, should be consistent with the number
628
- of devices actually running, supporting ``2`` , ``4`` , and ``8`` .
1219
+ .. math::
1220
+ output_{i} = input_{i} + weight_{i} * (end_{i} - input_{i})
629
1221
 
630
- Keyword Args:
631
- reduce_op (str, optional) The reduce operation type. Currently only ``'sum'`` is supported. Default:
632
- ``'sum'`` .
633
- bias (Tensor, optional): Currently only ``None`` is supported. Default: ``None`` .
634
- comm_turn (int, optional): Indicates the granularity of communication between ranks. Currently only ``0``
635
- is supported. Default: ``0`` .
636
- trans_input (bool, optional): Indicates whether ``input`` is transposed. Currently only ``False`` is
637
- supported. Default: ``False`` .
638
- trans_x2 (bool, optional): Indicates whether ``x2`` is transposed. Default: ``False`` .
1222
+ Args:
1223
+ input (Tensor): The tensor with the starting points. Data type must be float16 or float32.
1224
+ end (Tensor): The tensor with the ending points. Data type must be the same as `input`.
1225
+ weight (Union[float, Tensor]): The weight for the interpolation formula. Must be a float scalar
1226
+ or a tensor with float16 or float32 data type.
639
1227
 
640
1228
  Returns:
641
- - output (Tensor) - The result of allgather and matmul fusion calculations.
642
-
643
- Note:
644
- - When using this interface, please ensure that the driver firmware package and CANN package are both the
645
- matching 8.0.RC2 version or a higher version, otherwise an error will be reported, such as BUS ERROR.
646
- - The shape of ``input`` is (m, k), the shape of ``x2`` is (k, n), k is required to be equal, and the value
647
- range of k is [256, 65535), and m is required to be an integer multiple of ``world_size`` . The shape of
648
- ``output`` is (m * world_size, n).
649
- - The common fusion operators in a model only support the same communication group.
1229
+ Tensor, has the same type and shape as input `input`.
650
1230
 
651
1231
  Raises:
652
- TypeError: Any arg is of wrong type.
653
- RuntimeError: The dtype of ``input`` or ``x2`` is neither float16 nor bfloat16.
654
- RuntimeError: The dtypes of ``input`` and ``x2`` are different.
655
- RuntimeError: The shape of ``input`` or ``x2`` is not two-dimensional.
656
- RuntimeError: The k axis of ``input`` shape and ``x2`` shape are not equal.
657
- RuntimeError: k is less than ``256`` or greater than or equal to ``65535`` .
658
- RuntimeError: ``bias`` is not None.
659
- RuntimeError: ``group`` does not exist.
660
- RuntimeError: ``world_size`` is inconsistent with the actual number of running cards.
661
- RuntimeError: ``world_size`` is not equal to ``2`` , ``4`` , or ``8`` .
662
- RuntimeError: ``reduce_op`` is not ``'sum'`` .
663
- RuntimeError: ``trans_input`` is ``True`` .
1232
+ TypeError: If `input` or `end` is not a tensor.
1233
+ TypeError: If `weight` is neither scalar(float) nor tensor.
1234
+ TypeError: If dtype of `input` or `end` is neither float16 nor float32.
1235
+ TypeError: If dtype of `weight` is neither float16 nor float32 when it is a tensor.
1236
+ TypeError: If `input` and `end` have different data types.
1237
+ TypeError: If `input`, `end` and `weight` have different data types when `weight` is a tensor.
1238
+ ValueError: If `end` could not be broadcast to a tensor with shape of `input`.
1239
+ ValueError: If `weight` could not be broadcast to tensors with shapes of `input` and `end` when it is a tensor.
664
1240
 
665
1241
  Supported Platforms:
666
- ``Ascend``
1242
+ ``Ascend`` ``GPU`` ``CPU``
667
1243
 
668
1244
  Examples:
669
- .. note::
670
- Before running the following examples, you need to configure the communication environment variables.
671
-
672
- For Ascend/GPU/CPU devices, it is recommended to use the msrun startup method without any third-party or
673
- configuration file dependencies. Please see the `msrun start up <https://www.mindspore.cn/tutorials/en/master/parallel/msrun_launcher.html>`_
674
- for more details.
675
-
676
- This example should be run with 2 devices.
677
-
678
- >>> import mindspore as ms
679
- >>> from mindspore import ops
1245
+ >>> import mindspore
680
1246
  >>> import numpy as np
681
- >>> ms.communication.init()
682
- >>> rank = ms.communication.get_rank()
683
- >>> np.random.seed(rank)
684
- >>> input = ms.Tensor(np.random.randn(1024, 256).astype(np.float32), dtype=ms.float16)
685
- >>> x2 = ms.Tensor(np.random.randn(256, 512).astype(np.float32), dtype=ms.float16)
686
- >>> group = ms.communication.GlobalComm.WORLD_COMM_GROUP
687
- >>> world_size = ms.communication.get_group_size()
688
- >>> reduce_op = ops.ReduceOp.SUM
689
- >>> output = ops.matmul_reduce_scatter(
690
- ... input,
691
- ... x2,
692
- ... group,
693
- ... world_size,
694
- ... reduce_op=reduce_op,
695
- ... bias=None,
696
- ... comm_turn=0,
697
- ... trans_input=False,
698
- ... trans_x2=False,
699
- ... )
700
- >>> print(output.shape)
701
- (512, 512)
1247
+ >>> from mindspore import Tensor, mint
1248
+ >>> start = Tensor(np.array([1., 2., 3., 4.]), mindspore.float32)
1249
+ >>> end = Tensor(np.array([10., 10., 10., 10.]), mindspore.float32)
1250
+ >>> output = mint.lerp(start, end, 0.5)
1251
+ >>> print(output)
1252
+ [5.5 6. 6.5 7. ]
702
1253
  """
703
- return _matmul_reduce_scatter_instance(*args, **kwargs)
1254
+ return _lerp_instance(*args, **kwargs)
704
1255
 
705
1256
 
706
- def xlogy(*args, **kwargs):
1257
+ def pixel_shuffle(*args, **kwargs):
707
1258
  r"""
708
- xlogy(input, other) -> Tensor
1259
+ pixel_shuffle(input, upscale_factor) -> Tensor
709
1260
 
710
- Computes the first input multiplied by the logarithm of second input element-wise.
711
- Returns zero when `input` is zero.
1261
+ Rearrange elements in a tensor according to an upscaling factor.
712
1262
 
713
- .. math::
1263
+ Rearranges elements in a tensor of shape :math:`(*, C \times r^2, H, W)`
1264
+ to a tensor of shape :math:`(*, C, H \times r, W \times r)`, where r is an upscale factor.
714
1265
 
715
- out_i = input_{i}\log{other_{i}}
1266
+ This is useful for implementing efficient sub-pixel convolution
1267
+ with a stride of :math:`1/r`.
716
1268
 
717
- Inputs of `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
718
- The inputs must be two tensors or one tensor and one scalar.
719
- When the inputs are two tensors, the shapes of them could be broadcast.
1269
+ For detailed introduction to the pixel_shuffle algorithm, refer to
1270
+ `Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network <https://arxiv.org/abs/1609.05158>`_ .
1271
+
1272
+ .. warning::
1273
+ This is an experimental API that is subject to change or deletion.
720
1274
 
721
1275
  Args:
722
- input (Union[Tensor, numbers.Number, bool]): The first input is a numbers.Number or
723
- a bool or a tensor whose data type is
724
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
725
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
726
- other (Union[Tensor, numbers.Number, bool]): The second input is a numbers.Number or
727
- a bool or a tensor whose data type is number or bool when the first input is a tensor.
728
- When the first input is Scalar, the second input must be a Tensor whose data type is number or bool.
1276
+ input (Tensor): Tensor of shape :math:`(*, C \times r^2, H, W)` . The dimension of `input` is larger than 2,
1277
+ and the length of third to last dimension can be divisible by the square of `upscale_factor`.
1278
+ upscale_factor (int): factor to shuffle the input Tensor, and is a positive integer.
1279
+ `upscale_factor` is the above-mentioned :math:`r`.
729
1280
 
730
1281
  Returns:
731
- Tensor, the shape is the same as the one after broadcasting,
732
- and the data type is the one with higher precision or higher digits among the two inputs.
1282
+ - **output** (Tensor) - Tensor of shape :math:`(*, C, H \times r, W \times r)` .
733
1283
 
734
1284
  Raises:
735
- TypeError: If `input` and `other` is not a numbers.Number or a bool or a Tensor.
736
- ValueError: If `input` could not be broadcast to a tensor with shape of `other`.
1285
+ ValueError: If `upscale_factor` is not a positive integer.
1286
+ ValueError: If the length of third to last dimension is not divisible by the square of `upscale_factor`.
1287
+ ValueError: If the dimension of `input` is less than 3.
737
1288
 
738
1289
  Supported Platforms:
739
- ``Ascend`` ``GPU`` ``CPU``
1290
+ ``Ascend``
740
1291
 
741
1292
  Examples:
742
- >>> import mindspore
743
- >>> import numpy as np
744
- >>> from mindspore import Tensor, ops
745
- >>> input = Tensor(np.array([-5, 0, 4]), mindspore.float32)
746
- >>> other = Tensor(np.array([2, 2, 2]), mindspore.float32)
747
- >>> output = ops.xlogy(input, other)
748
- >>> print(output)
749
- [-3.465736 0. 2.7725887]
1293
+ >>> from mindspore import mint
1294
+ >>> input = mint.randn(1, 9, 4, 4)
1295
+ >>> output = mint.nn.functional.pixel_shuffle(input, 3)
1296
+ >>> print(output.shape)
1297
+ (1, 1, 12, 12)
750
1298
  """
751
- return _xlogy_instance(*args, **kwargs)
1299
+ return _pixel_shuffle_instance(*args, **kwargs)
752
1300
 
753
1301
 
754
- def sub(*args, **kwargs):
1302
+ def xlogy(*args, **kwargs):
755
1303
  r"""
756
- sub(input, other, *, alpha=1) -> Tensor
1304
+ xlogy(input, other) -> Tensor
757
1305
 
758
- Subtracts scaled other value from self Tensor.
1306
+ Computes the first input multiplied by the logarithm of second input element-wise.
1307
+ Returns zero when `input` is zero.
759
1308
 
760
1309
  .. math::
761
1310
 
762
- out_{i} = self_{i} - alpha \times other_{i}
1311
+ out_i = input_{i}\log{other_{i}}
763
1312
 
764
- Note:
765
- - When the two inputs have different shapes,
766
- they must be able to broadcast to a common shape.
767
- - The two inputs and alpha comply with the implicit type conversion rules to make the data types
768
- consistent.
1313
+ Inputs of `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
1314
+ The inputs must be two tensors or one tensor and one scalar.
1315
+ When the inputs are two tensors, the shapes of them could be broadcast.
769
1316
 
770
1317
  Args:
771
- input (Union[Tensor, number.Number, bool]): `input` is a number.Number or a bool or a tensor whose data type is
772
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
773
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
774
- other (Union[Tensor, number.Number, bool]): `other` is a number.Number or a bool or a tensor whose data type is
1318
+ input (Union[Tensor, numbers.Number, bool]): The first input is a numbers.Number or
1319
+ a bool or a tensor whose data type is
775
1320
  `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
776
1321
  `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
777
-
778
- Keyword Args:
779
- alpha (number.Number, optional): A scaling factor applied to `other`, default ``1``.
1322
+ other (Union[Tensor, numbers.Number, bool]): The second input is a numbers.Number or
1323
+ a bool or a tensor whose data type is number or bool when the first input is a tensor.
1324
+ When the first input is Scalar, the second input must be a Tensor whose data type is number or bool.
780
1325
 
781
1326
  Returns:
782
- Tensor with a shape that is the same as the broadcasted shape of the self `self` and `other`,
783
- and the data type is the one with higher precision or higher digits among the two inputs and alpha.
1327
+ Tensor, the shape is the same as the one after broadcasting,
1328
+ and the data type is the one with higher precision or higher digits among the two inputs.
784
1329
 
785
1330
  Raises:
786
- TypeError: If the type of `other` or `alpha` is not one of the following: Tensor, number.Number, bool.
787
- TypeError: If `alpha` is of type float but `input` and `other` are not of type float.
788
- TypeError: If `alpha` is of type bool but `input` and `other` are not of type bool.
1331
+ TypeError: If `input` and `other` is not a numbers.Number or a bool or a Tensor.
1332
+ ValueError: If `input` could not be broadcast to a tensor with shape of `other`.
789
1333
 
790
1334
  Supported Platforms:
791
1335
  ``Ascend`` ``GPU`` ``CPU``
792
1336
 
793
1337
  Examples:
794
- >>> import numpy as np
795
1338
  >>> import mindspore
796
- >>> from mindspore import Tensor, mint
797
- >>> x = Tensor(np.array([4, 5, 6]).astype(np.float32))
798
- >>> y = Tensor(1, mindspore.int32)
799
- >>> alpha = 0.5
800
- >>> output = mint.sub(x, y, alpha=alpha)
1339
+ >>> import numpy as np
1340
+ >>> from mindspore import Tensor, ops
1341
+ >>> input = Tensor(np.array([-5, 0, 4]), mindspore.float32)
1342
+ >>> other = Tensor(np.array([2, 2, 2]), mindspore.float32)
1343
+ >>> output = ops.xlogy(input, other)
801
1344
  >>> print(output)
802
- [3.5 4.5 5.5]
803
- >>> # the data type of x is float32, the data type of y is int32,
804
- >>> # alpha is a float, and the output is the data format of higher precision float32.
805
- >>> print(output.dtype)
806
- Float32
1345
+ [-3.465736 0. 2.7725887]
807
1346
  """
808
- return _sub_instance(*args, **kwargs)
1347
+ return _xlogy_instance(*args, **kwargs)
809
1348
 
810
1349
 
811
- def __sub__(*args, **kwargs):
1350
+ def quant_matmul(*args, **kwargs):
812
1351
  r"""
813
- __sub__(input, other, *, alpha=1) -> Tensor
1352
+ quant_matmul(x1, x2, scale, *, offset=None, pertoken_scale=None, bias=None, output_dtype=None, x1_dtype=None, x2_dtype=None, pertoken_scale_dtype=None, scale_dtype=None, group_sizes=None) -> Tensor
814
1353
 
815
- Alias for :func:`mindspore.mint.sub`.
1354
+ Used for quantized matrix multiplication.
816
1355
 
817
- .. method:: mint.__sub__(input, other, *, alpha=1) -> Tensor
818
- :noindex:
1356
+ .. warning::
1357
+ This is an experimental API that is subject to change or deletion.
1358
+ Only support on David training series.
819
1359
 
820
- Alias for overload function of :func:`mindspore.mint.sub`.
1360
+ Args:
1361
+ x1 (Tensor): Tensor of shape :math:`(*, M, K)` . The dimension of `input` should be in [2, 6].
1362
+ x2 (Tensor): Tensor of shape :math:`(*, K, N)` . The dimension of `input` should be in [2, 6].
1363
+ scale (Tensor): Tensor of shape :math:`(T,)` . T should be equal to 1 or N, N is the last dimension of `x2`.
1364
+
1365
+ Keyword Args:
1366
+ offset (Tensor, optional): Tensor of shape :math:`(T,)` . T should be equal to 1 or N, N is the last dimension of `x2`. Default: ``None`` .
1367
+ pertoken_scale (Tensor, optional): Tensor of shape :math:`(M,)` . M is second-to-last dimension of `x1`. Default: ``None`` .
1368
+ A valid Tensor must deliver to `pertoken_scale` , ``None`` will cause unexpected error.
1369
+ bias (Tensor, optional): Tensor of shape :math:`(N,)` or :math:`(B, 1, N)` , N is the last dimension of `x2`.
1370
+ If dimension of `output` is 2, 4, 5 or 6, `bias` must has shape :math:`(N,)` . Default: ``None`` .
1371
+ output_dtype (:class:`mindspore.dtype`, optional): the dtype of `output`. Default: ``None`` .
1372
+ x1_dtype (:class:`mindspore.dtype`, optional): Cast `x1` to `x1_dtype` before calculation. Default: ``None`` .
1373
+ x2_dtype (:class:`mindspore.dtype`, optional): Cast `x2` to `x2_dtype` before calculation. Default: ``None`` .
1374
+ pertoken_scale_dtype (:class:`mindspore.dtype`, optional): Cast `pertoken_scale` to `pertoken_scale_dtype` before calculation. Default: ``None`` .
1375
+ scale_dtype (:class:`mindspore.dtype`, optional): Cast `scale` to `scale_dtype` before calculation. Default: ``None`` .
1376
+ group_sizes (Union[tuple(int), list(int)], optional): A sequence of int elements. Must have 3 elements. Default: ``None`` .
1377
+
1378
+ Returns:
1379
+ Tensor of shape :math:`(*, M, N)` .
1380
+
1381
+ Raises:
1382
+ ValueError: If dtype of `x1` is int8 or int32.
1383
+
1384
+ Supported Platforms:
1385
+ ``Ascend``
1386
+
1387
+ Examples:
1388
+ >>> import numpy as np
1389
+ >>> import mindspore as ms
1390
+ >>> from mindspore import ops, Tensor
1391
+ >>> x1 = Tensor(np.random.randn(2, 3, 4), ms.float8_e4m3)
1392
+ >>> x2 = Tensor(np.random.randn(2, 4, 5), ms.float8_e4m3)
1393
+ >>> scale = Tensor(np.random.randn(1,), ms.float32)
1394
+ >>> pertoken_scale = Tensor(np.random.randn(3,), ms.float32)
1395
+ >>> output = ops.auto_generate.quant_matmul(x1, x2, scale, pertoken_scale=pertoken_scale, output_dtype=ms.bfloat16)
1396
+ >>> print(output.shape)
1397
+ (2, 3, 5)
1398
+ >>> print(output.dtype)
1399
+ BFloat16
821
1400
  """
822
- return _sub_instance(*args, **kwargs)
1401
+ return _quant_matmul_instance(*args, **kwargs)
823
1402
 
824
1403
 
825
1404
  def greater_equal(*args, **kwargs):
@@ -888,166 +1467,6 @@ def ge(*args, **kwargs):
888
1467
  return _greater_equal_instance(*args, **kwargs)
889
1468
 
890
1469
 
891
- def gelu(*args, **kwargs):
892
- r"""
893
- gelu(input, *, approximate='none') -> Tensor
894
-
895
- Gaussian Error Linear Units activation function.
896
-
897
- GeLU is described in the paper `Gaussian Error Linear Units (GELUs) <https://arxiv.org/abs/1606.08415>`_.
898
- And also please refer to `BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
899
- <https://arxiv.org/abs/1810.04805>`_.
900
-
901
- When `approximate` argument is `none`, GELU is defined as follows:
902
-
903
- .. math::
904
- GELU(x_i) = x_i*P(X < x_i),
905
-
906
- where :math:`P` is the cumulative distribution function of the standard Gaussian distribution,
907
- :math:`x_i` is the input element.
908
-
909
- When `approximate` argument is `tanh`, GELU is estimated with:
910
-
911
- .. math::
912
- GELU(x_i) = 0.5 * x_i * (1 + \tanh(\sqrt(2 / \pi) * (x_i + 0.044715 * x_i^3)))
913
-
914
- GELU Activation Function Graph:
915
-
916
- .. image:: ../images/GELU.png
917
- :align: center
918
-
919
- .. note::
920
- On the Ascend platform, when `input` is -inf, its gradient is 0,
921
- and when `input` is inf, its gradient is `dout`.
922
-
923
- Args:
924
- input (Tensor): The input of the activation function GeLU, the data type is float16, float32 or float64.
925
-
926
- Keyword Args:
927
- approximate (str, optional): the gelu approximation algorithm to use. Acceptable vaslues are ``'none'`` and ``'tanh'`` .
928
- Default: ``'none'`` .
929
-
930
- Returns:
931
- Tensor, with the same type and shape as `input`.
932
-
933
- Raises:
934
- TypeError: If `input` is not a Tensor.
935
- TypeError: If dtype of `input` is not bfloat16, float16, float32 or float64.
936
- ValueError: If `approximate` value is neither `none` nor `tanh`.
937
-
938
- Supported Platforms:
939
- ``Ascend``
940
-
941
- Examples:
942
- >>> import mindspore
943
- >>> import numpy as np
944
- >>> from mindspore import Tensor, mint
945
- >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
946
- >>> result = mint.nn.functional.gelu(input)
947
- >>> print(result)
948
- [[-1.58655241e-01 3.99987316e+00 -0.00000000e+00]
949
- [ 1.95449972e+00 -1.41860323e-06 9.0000000e+00]]
950
- >>> result = mint.nn.functional.gelu(input, approximate="tanh")
951
- >>> print(result)
952
- [[-1.58808023e-01 3.99992990e+00 -3.10779147e-21]
953
- [ 1.95459759e+00 -2.29180174e-07 9.0000000e+00]]
954
- """
955
- return _gelu_instance(*args, **kwargs)
956
-
957
-
958
- def gmm_backward(*args, **kwargs):
959
- r"""
960
- gmm_backward(grad, x, weight, *, group_list=None, group_list_type=0) -> tuple[tuple[Tensor]]
961
-
962
- the grad of ops.function.math_func.gmm
963
- """
964
- return _gmm_backward_instance(*args, **kwargs)
965
-
966
-
967
- def gmm(*args, **kwargs):
968
- r"""
969
- gmm(x, weight, bias=None, group_list=None, group_type=0, group_list_type=0) -> tuple[Tensor]
970
-
971
- Grouping matrix multiplication.
972
-
973
- .. warning::
974
- - This is an experimental API that is subject to change or deletion.
975
- - `group_type` must be a constant.
976
- - Only support on Atlas A2 training series.
977
- - When the type of `group_list` is tuple[int] or list[int], it should a non-negative non-decreasing sequence,
978
- indicating indexes of each group along the split axis. In this scenario, the arg `group_list_type` is useless.
979
-
980
- .. note::
981
- - When `group_type` is 2, the tensors in `x` must be non-continuous tensors which has
982
- been transposed.
983
- - Only when `group_type` is 0 and `bias` is None, the reverse derivative is supported,
984
- which is implemented by ops.function.math_func.gmm_backward or through automatic differentiation.
985
-
986
- Args:
987
- x (tuple[Tensor]): The first tensors to be multiplied, whose num should be 1.
988
- weight (tuple[Tensor]): The second tensors to be multiplied, whose num should be 1.
989
- bias (tuple[Tensor], optional): Biases added to outputs, whose num should be 1.
990
- The shape of each tensor in `bias` should be :math: `(group_list.shape[0], n)`
991
- or :math: `(len(group_list), n)`. In the training scenario, the bias only supports None.
992
- Default: ``None`` .
993
- group_list (Union[Tensor, list[int], tuple[int]], optional): 1-D Tensor, list[int]
994
- or tuple[int], indicating indexes or sizes of each group along the split axis.
995
- When `group_list` is list[int] or tuple[int], it's length should be less than or equal to 128.
996
- When `group_list` is a Tensor, it's size should be less than or equal to 1024.
997
- Supported dtypes: int64.
998
- Default: ``None`` .
999
-
1000
- - If `group_list_type` is 0, it must be a non-negative non-decreasing sequence.
1001
- And when `group_type` is 0, the last element in `group_list` should be equal to
1002
- the first dimension of the tensor in `x` . When `group_type` is 2, the last element
1003
- in `group_list` should be equal to the second dimension of the tensor in `x` .
1004
-
1005
- - If `group_list_type` is 1, the value in `group_list` are the sizes of each group.
1006
- group_type (int, optional): Represents the axes that need to be grouped. For example,
1007
- :math: `C[m,n] = A[m,k] \times B[k,n]`. Default: ``0`` .
1008
-
1009
- - If `group_type` is 0, it means that the m-axis is grouped, meaning that the shape
1010
- of each tensor in `x` should be :math: `(m, k)` , the shape of each tensor in `weight`
1011
- should be :math: `(group_list.shape[0], k, n)` or :math: `(len(group_list), k, n)`,
1012
- and the shape of each tensor in result would be :math: `(m, n)` .
1013
-
1014
- - If `group_type` is 2, it means that the k-axis is grouped, meaning that
1015
- the shape of each tensor in `x` should be :math: `(m, k)`, the shape of each
1016
- tensor in `weight` should be :math: `(k, n)`, and the shape of each tensor
1017
- in result would be :math: `(group_list.shape[0], m, n)` or :math: `(len(group_list), m, n)`.
1018
- group_list_type (int, optional): If it's 0, the value in `group_list` are the cumsum
1019
- result of the size of each group. If it's 1, the value in `group_list` are the size
1020
- of each group. Default: ``0`` .
1021
-
1022
- `x` , `weight` and `bias` only support the following 3 type combinations:
1023
-
1024
- - x: float16, weight: float16, bias: float16
1025
- - x: bfloat16, weight: bfloat16, bias: float32
1026
- - x: float32, weight: float32, bias: float32
1027
-
1028
- Returns:
1029
- tuple[Tensor], the results of grouping matrix multiplication.
1030
-
1031
- Supported Platforms:
1032
- ``Ascend``
1033
-
1034
- Examples:
1035
- >>> import numpy as np
1036
- >>> from mindspore import Tensor, ops
1037
- >>> x = Tensor(np.random.uniform(0,1, (10, 20)).astype(np.float32))
1038
- >>> weight = Tensor(np.random.uniform(0,1, (4, 20, 8)).astype(np.float32))
1039
- >>> group_list = Tensor([2, 4, 2, 2])
1040
- >>> y = ops.function.math_func.gmm([x,], [weight,], group_list=group_list, group_list_type=1)
1041
- >>> print(y[0].shape)
1042
- >>> (10, 8)
1043
- >>> group_list = [2, 6, 8, 10]
1044
- >>> y = ops.function.math_func.gmm([x,], [weight,], group_list=group_list, group_list_type=0)
1045
- >>> print(y[0].shape)
1046
- >>> (10, 8)
1047
- """
1048
- return _gmm_instance(*args, **kwargs)
1049
-
1050
-
1051
1470
  def min(*args, **kwargs):
1052
1471
  r"""
1053
1472
  min(input) -> Tensor
@@ -1116,115 +1535,154 @@ def min(*args, **kwargs):
1116
1535
 
1117
1536
  For details, please refer to :func:`mindspore.mint.minimum`.
1118
1537
  """
1119
- return _min_instance(*args, **kwargs)
1538
+ return _min_instance(*args, **kwargs)
1539
+
1540
+
1541
+ def floor_divide(*args, **kwargs):
1542
+ r"""
1543
+ floor_divide(input, other) -> Tensor
1544
+
1545
+ Divides the first input tensor by the second input tensor element-wise and round down to the closest integer.
1546
+
1547
+ Inputs of `input` and `other` comply with the implicit type conversion rules to make the data types consistent.
1548
+ Inputs must be two tensors or one tensor and one scalar.
1549
+ When the inputs are two tensors,
1550
+ dtypes of them cannot be bool at the same time, and the shapes of them could be broadcast.
1551
+ When the inputs are one tensor and one scalar,
1552
+ the scalar could only be a constant.
1553
+
1554
+ .. math::
1555
+ out_{i} = \text{floor}( \frac{input_i}{other_i})
1556
+
1557
+ where the :math:`floor` indicates the Floor operator. For more details,
1558
+ please refer to the :class:`mindspore.mint.floor` operator.
1559
+
1560
+ .. warning::
1561
+ This is an experimental API that is subject to change or deletion.
1562
+
1563
+ Args:
1564
+ input (Union[Tensor, Number, bool]): The first input is a number or
1565
+ a bool or a tensor whose data type is number or bool.
1566
+ other (Union[Tensor, Number, bool]): The second input is a number or
1567
+ a bool or a tensor whose data type is number or bool.
1568
+
1569
+ Returns:
1570
+ Tensor, the shape is the same as the one after broadcasting,
1571
+ and the data type is the one with higher precision or higher digits among the two inputs.
1572
+
1573
+ Raises:
1574
+ TypeError: If `input` and `other` are not the following: Tensor, number.Number or bool.
1575
+
1576
+ Supported Platforms:
1577
+ ``Ascend`` ``GPU`` ``CPU``
1578
+
1579
+ Examples:
1580
+ >>> import mindspore
1581
+ >>> from mindspore import Tensor, mint
1582
+ >>> import numpy as np
1583
+ >>> input = Tensor(np.array([2, 4, -1]), mindspore.int32)
1584
+ >>> other = Tensor(np.array([3, 3, 3]), mindspore.int32)
1585
+ >>> output = mint.floor_divide(input, other)
1586
+ >>> print(output)
1587
+ [ 0 1 -1]
1588
+ >>> input = Tensor(2.0, mindspore.float32)
1589
+ >>> other = Tensor(2.0, mindspore.float32)
1590
+ >>> output = mint.floor_divide(input, other)
1591
+ >>> print(output)
1592
+ 1.0
1593
+ """
1594
+ return _floor_divide_instance(*args, **kwargs)
1120
1595
 
1121
1596
 
1122
- def add(*args, **kwargs):
1597
+ def repeat_interleave(*args, **kwargs):
1123
1598
  r"""
1124
- add(input, other, *, alpha=1) -> Tensor
1125
-
1126
- Adds scaled other value to `self`.
1127
-
1128
- .. math::
1599
+ repeat_interleave(input, repeats, dim=None, *, output_size=None) -> Tensor
1129
1600
 
1130
- out_{i} = self_{i} + alpha \times other_{i}
1601
+ Repeat elements of a tensor along an axis, like :func:`mindspore.numpy.repeat`.
1131
1602
 
1132
- Note:
1133
- - When `self` and `other` have different shapes,
1134
- they must be able to broadcast to a common shape.
1135
- - `self`, `other` and `alpha` comply with the implicit type conversion rules to make the data types
1136
- consistent.
1603
+ .. warning::
1604
+ Only support on Atlas A2 training series.
1137
1605
 
1138
1606
  Args:
1139
- input (Union[Tensor, number.Number, bool]): `input` is a number.Number or a bool or a tensor whose data type is
1140
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
1141
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
1142
- other (Union[Tensor, number.Number, bool]): `other` is a number.Number or a bool or a tensor whose data type is
1143
- `number <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_ or
1144
- `bool_ <https://www.mindspore.cn/docs/en/master/api_python/mindspore/mindspore.dtype.html>`_.
1607
+ input (Tensor): The tensor to repeat values for. Must be of types: float16,
1608
+ float32, int8, uint8, int16, int32, or int64.
1609
+ repeats (Union[int, tuple, list, Tensor]): The number of times to repeat, must be positive.
1610
+ dim (int, optional): The dim along which to repeat, Default: ``None``. If dims is None,
1611
+ the input Tensor will be flattened and the output will alse be flattened.
1145
1612
 
1146
1613
  Keyword Args:
1147
- alpha (number.Number, optional): A scaling factor applied to `other`, default ``1``.
1614
+ output_size (int, optional): Total output size for the given axis (e.g. sum of repeats),
1615
+ Default: ``None``.
1148
1616
 
1149
1617
  Returns:
1150
- Tensor with a shape that is the same as the broadcasted shape of the `self` and `other`,
1151
- and the data type is the one with higher precision or higher digits among `self`, `other` and `alpha`.
1152
-
1153
- Raises:
1154
- TypeError: If the type of `other` or `alpha` is not one of the following: Tensor, number.Number, bool.
1155
- TypeError: If `alpha` is of type float but `self` and `other` are not of type float.
1156
- TypeError: If `alpha` is of type bool but `self` and `other` are not of type bool.
1618
+ One tensor with values repeated along the specified dim. If input has shape
1619
+ :math:`(s1, s2, ..., sn)` and dim is i, the output will have shape :math:`(s1, s2, ...,
1620
+ si * repeats, ..., sn)`. The output type will be the same as the type of `input`.
1157
1621
 
1158
1622
  Supported Platforms:
1159
- ``Ascend`` ``GPU`` ``CPU``
1623
+ ``Ascend``
1160
1624
 
1161
1625
  Examples:
1162
- >>> import numpy as np
1163
1626
  >>> import mindspore
1627
+ >>> import numpy as np
1164
1628
  >>> from mindspore import Tensor, mint
1165
- >>> x = Tensor(1, mindspore.int32)
1166
- >>> y = Tensor(np.array([4, 5, 6]).astype(np.float32))
1167
- >>> alpha = 0.5
1168
- >>> output = mint.add(x, y, alpha=alpha) # x.add(y, alpha=alpha)
1629
+ >>> input = Tensor(np.array([[0, 1, 2], [3, 4, 5]]), mindspore.int32)
1630
+ >>> output = mint.repeat_interleave(input, repeats=2, dim=0)
1169
1631
  >>> print(output)
1170
- [3. 3.5 4.]
1171
- >>> # the data type of x is int32, the data type of y is float32,
1172
- >>> # alpha is a float, and the output is the data format of higher precision float32.
1173
- >>> print(output.dtype)
1174
- Float32
1632
+ [[0 1 2]
1633
+ [0 1 2]
1634
+ [3 4 5]
1635
+ [3 4 5]]
1175
1636
  """
1176
- return _add_instance(*args, **kwargs)
1637
+ return _repeat_interleave_instance(*args, **kwargs)
1177
1638
 
1178
1639
 
1179
- def __add__(*args, **kwargs):
1640
+ def gelu(*args, **kwargs):
1180
1641
  r"""
1181
- __add__(input, other, *, alpha=1) -> Tensor
1642
+ gelu(input, *, approximate='none') -> Tensor
1182
1643
 
1183
- Alias for :func:`mindspore.mint.add`.
1644
+ Gaussian Error Linear Units activation function.
1184
1645
 
1185
- .. method:: mint.__add__(input, other, *, alpha=1) -> Tensor
1186
- :noindex:
1646
+ GeLU is described in the paper `Gaussian Error Linear Units (GELUs) <https://arxiv.org/abs/1606.08415>`_.
1647
+ And also please refer to `BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1648
+ <https://arxiv.org/abs/1810.04805>`_.
1187
1649
 
1188
- Alias for overload function of :func:`mindspore.mint.add`.
1189
- """
1190
- return _add_instance(*args, **kwargs)
1650
+ When `approximate` argument is `none`, GELU is defined as follows:
1191
1651
 
1652
+ .. math::
1653
+ GELU(x_i) = x_i*P(X < x_i),
1192
1654
 
1193
- def nansum(*args, **kwargs):
1194
- r"""
1195
- nansum(input, dim=None, keepdim=False, *, dtype=None) -> Tensor
1655
+ where :math:`P` is the cumulative distribution function of the standard Gaussian distribution,
1656
+ :math:`x_i` is the input element.
1196
1657
 
1197
- Computes sum of `input` over a given dimension, treating NaNs as zero.
1658
+ When `approximate` argument is `tanh`, GELU is estimated with:
1198
1659
 
1199
- .. warning::
1200
- It is only supported on Atlas A2 Training Series Products.
1201
- This is an experimental API that is subject to change or deletion.
1660
+ .. math::
1661
+ GELU(x_i) = 0.5 * x_i * (1 + \tanh(\sqrt(2 / \pi) * (x_i + 0.044715 * x_i^3)))
1662
+
1663
+ GELU Activation Function Graph:
1664
+
1665
+ .. image:: ../images/GELU.png
1666
+ :align: center
1667
+
1668
+ .. note::
1669
+ On the Ascend platform, when `input` is -inf, its gradient is 0,
1670
+ and when `input` is inf, its gradient is `dout`.
1202
1671
 
1203
1672
  Args:
1204
- input (Tensor): The input Tensor.
1205
- dim (Union[int, tuple(int)], optional): The dimensions to sum.
1206
- Dim must be in the range [-rank(input), rank(input)). Default: ``None``, which indicates the sum of all
1207
- elements in a tensor.
1208
- keepdim (bool, optional): Whether the output Tensor keeps dimensions or not. Default: ``False``, indicating that no dimension is kept.
1673
+ input (Tensor): The input of the activation function GeLU, the data type is float16, float32 or float64.
1209
1674
 
1210
1675
  Keyword Args:
1211
- dtype (:class:`mindspore.dtype`, optional): The dtype of output Tensor. Default: ``None``.
1676
+ approximate (str, optional): the gelu approximation algorithm to use. Acceptable vaslues are ``'none'`` and ``'tanh'`` .
1677
+ Default: ``'none'`` .
1212
1678
 
1213
1679
  Returns:
1214
- Tensor, the sum of input `input` in the given dimension dim, treating NaNs as zero.
1215
-
1216
- - If dim is None, keepdim is False,
1217
- the output is a 0-D Tensor representing the sum of all elements in the input Tensor.
1218
- - If dim is int, set as 2, and keepdim is False,
1219
- the shape of output is :math:`(input_1, input_3, ..., input_R)`.
1220
- - If dim is tuple(int) or list(int), set as (2, 3), and keepdim is False,
1221
- the shape of output is :math:`(input_1, input_4, ..., input_R)`.
1680
+ Tensor, with the same type and shape as `input`.
1222
1681
 
1223
1682
  Raises:
1224
- TypeError: If `input` is not Tensor.
1225
- TypeError: If `keepdim` is not a bool.
1226
- TypeError: If the dtype of `input` or `dtype` is complex type.
1227
- ValueError: If `dim` is not in [-rank(input), rank(input)).
1683
+ TypeError: If `input` is not a Tensor.
1684
+ TypeError: If dtype of `input` is not bfloat16, float16, float32 or float64.
1685
+ ValueError: If `approximate` value is neither `none` nor `tanh`.
1228
1686
 
1229
1687
  Supported Platforms:
1230
1688
  ``Ascend``
@@ -1233,316 +1691,315 @@ def nansum(*args, **kwargs):
1233
1691
  >>> import mindspore
1234
1692
  >>> import numpy as np
1235
1693
  >>> from mindspore import Tensor, mint
1236
- >>> x = Tensor(np.array([[float("nan"), 2, 3], [1, 2, float("nan")]]), mindspore.float32)
1237
- >>> output1 = mint.nansum(x, dim=0, keepdim=False, dtype=mindspore.float32)
1238
- >>> output2 = mint.nansum(x, dim=0, keepdim=True, dtype=mindspore.float32)
1239
- >>> print(output1)
1240
- [1. 4. 3.]
1241
- >>> print(output2)
1242
- [[1. 4. 3.]]
1694
+ >>> input = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]]), mindspore.float32)
1695
+ >>> result = mint.nn.functional.gelu(input)
1696
+ >>> print(result)
1697
+ [[-1.58655241e-01 3.99987316e+00 -0.00000000e+00]
1698
+ [ 1.95449972e+00 -1.41860323e-06 9.0000000e+00]]
1699
+ >>> result = mint.nn.functional.gelu(input, approximate="tanh")
1700
+ >>> print(result)
1701
+ [[-1.58808023e-01 3.99992990e+00 -3.10779147e-21]
1702
+ [ 1.95459759e+00 -2.29180174e-07 9.0000000e+00]]
1243
1703
  """
1244
- return _nansum_instance(*args, **kwargs)
1704
+ return _gelu_instance(*args, **kwargs)
1245
1705
 
1246
1706
 
1247
- def kthvalue(*args, **kwargs):
1707
+ def max(*args, **kwargs):
1248
1708
  r"""
1249
- Calculates the kth smallest value along given dim specified by `dim` of the input
1250
- tensor, and returns a tuple of (`values`, `indices`) where `values` contains the k-th smallest element
1251
- and `indices` provides the index of each corresponding element.
1709
+ max(input) -> Tensor
1710
+
1711
+ Returns the maximum value of the input tensor.
1252
1712
 
1253
1713
  Args:
1254
- input (Tensor): The input tensor, can be any dimension. Set the shape of input tensor as
1255
- :math:`(input_1, input_2, ..., input_N)`.
1256
- k (int): Specifies the k-th smallest element to retrieve.
1257
- dim (int, optional): The dimension along which to find the k-th smallest value. Default: ``-1`` .
1258
- keepdim (bool, optional): Whether to reduce dimension, if ``True`` , the output will keep same dimension with the
1259
- input, the output will reduce dimension if ``False`` . Default: ``False`` .
1714
+ input (Tensor): The input tensor.
1260
1715
 
1261
1716
  Returns:
1262
- A tuple consisting of `values` and `indices`.
1263
-
1264
- - **values** (Tensor) - The k-th smallest value of input tensor, with the same dtype as `input`.
1265
-
1266
- -If `keepdim` is ``True`` , the shape of output tensors is :math:`(input_1, input_2, ..., input_{dim-1}, 1, input_{dim+1}, ..., input_N)`.
1267
- -If `keepdim` is ``False`` , the shape is :math:`(input_1, input_2, ..., input_{dim-1}, input_{dim+1}, ..., input_N)` .
1268
-
1269
- - **indices** (Tensor) - The `indices` for the k-th smallest value of the input tensor, it has the same shape as `values` with dtype of int64.
1270
-
1271
- Raises:
1272
- TypeError: If `k` or `dim` is not an int.
1273
- TypeError: If `keepdim` is not a bool.
1274
- TypeError: If dtype of `input` is not supported.
1275
- ValueError: If `input` is an empty Tensor.
1276
- RuntimeError: If `k` is not in the proper range.
1717
+ Scalar Tensor with the same dtype as `input`, the maximum value of the input.
1277
1718
 
1278
1719
  Supported Platforms:
1279
- ``Ascend``
1720
+ ``Ascend`` ``GPU`` ``CPU``
1280
1721
 
1281
1722
  Examples:
1282
1723
  >>> import mindspore
1283
1724
  >>> import numpy as np
1284
- >>> from mindspore import Tensor, ops
1285
- >>> input_x = Tensor(np.array([[1.01, 2.02, 3.03], [1.04, 2.05, 3.06]]), mindspore.float32)
1286
- >>> out = ops.auto_generate.kthvalue(input_x, 2, 1, False)
1287
- >>> print(out)
1288
- (Tensor(shape=[2], dtype=Float32, value= [ 2.01999998e+00, 2.04999995e+00]), Tensor(shape=[2], dtype=Int64, value= [1, 1]))
1289
- >>> out1 = ops.auto_generate.kthvalue(input_x, 2, 1, True)
1290
- >>> print(out1)
1291
- (Tensor(shape=[2, 1], dtype=Float32, value=
1292
- [[ 2.01999998e+00],
1293
- [ 2.04999995e+00]]), Tensor(shape=[2, 1], dtype=Int64, value=
1294
- [[1],
1295
- [1]]))
1296
- """
1297
- return _kthvalue_instance(*args, **kwargs)
1298
-
1299
-
1300
- def bitwise_not(*args, **kwargs):
1301
- r"""
1302
- bitwise_not(input) -> Tensor
1725
+ >>> from mindspore import Tensor, mint
1726
+ >>> x = Tensor(np.array([0.0, 0.4, 0.6, 0.7, 0.1]), mindspore.float32)
1727
+ >>> output = mint.max(x)
1728
+ >>> print(output)
1729
+ 0.7
1303
1730
 
1304
- Returns bitwise `not` of the input tensor.
1731
+ .. function:: max(input, dim, keepdim=False) -> tuple(Tensor)
1732
+ :noindex:
1305
1733
 
1306
- .. warning::
1307
- This is an experimental API that is subject to change or deletion.
1734
+ Calculates the maximum value along with the given dim for the input tensor, and returns the maximum values and
1735
+ indices.
1308
1736
 
1309
1737
  Args:
1310
- input (Tensor): The input tensor must be of integral or Boolean types.
1738
+ input (Tensor): The input tensor, can be any dimension. Set the shape of input tensor as
1739
+ :math:`(input_1, input_2, ..., input_N)` , Complex tensor is not supported.
1740
+ dim (int): The dimension to reduce.
1741
+ keepdim (bool, optional): Whether to reduce dimension, if ``True`` the output will keep the same dimension as the
1742
+ `input` , the output will reduce dimension if ``False``. Default: ``False``.
1311
1743
 
1312
1744
  Returns:
1313
- Tensor, has the same shape and type as `input`.
1745
+ tuple (Tensor), tuple of 2 tensors, containing the maximum value of the self tensor along the given
1746
+ dimension `dim` and the corresponding index.
1747
+
1748
+ - **values** (Tensor) - The maximum value of input tensor, with the same shape as `index`, and same dtype as `input`.
1749
+ - **index** (Tensor) - The index for the maximum value of the input tensor, with dtype int64. If `keepdim`
1750
+ is ``True`` , the shape of output tensors is :math:`(input_1, input_2, ..., input_{dim-1}, 1, input_{dim+1}, ..., input_N)`.
1751
+ Otherwise, the shape is :math:`(input_1, input_2, ..., input_{dim-1}, input_{dim+1}, ..., input_N)` .
1314
1752
 
1315
1753
  Raises:
1316
- TypeError: If `input` is not a Tensor.
1317
- RuntimeError: If dtype of `input` is not int or bool.
1754
+ TypeError: If `input` is not Tensor.
1755
+ TypeError: If `keepdim` is not a bool.
1756
+ TypeError: If `dim` is not an int.
1318
1757
 
1319
1758
  Supported Platforms:
1320
- ``Ascend``
1759
+ ``Ascend`` ``GPU`` ``CPU``
1321
1760
 
1322
1761
  Examples:
1323
1762
  >>> import mindspore
1324
1763
  >>> import numpy as np
1325
1764
  >>> from mindspore import Tensor, mint
1326
- >>> x = Tensor(np.array([True, False, True, False]))
1327
- >>> y = mint.bitwise_not(x)
1328
- >>> print(y)
1329
- [False True False True]
1765
+ >>> x = Tensor(np.array([0.0, 0.4, 0.6, 0.7, 0.1]), mindspore.float32)
1766
+ >>> output, index = mint.max(x, 0, keepdim=True)
1767
+ >>> print(output, index)
1768
+ [0.7] [3]
1769
+
1770
+ .. function:: max(input, other) -> Tensor
1771
+ :noindex:
1772
+
1773
+ For details, please refer to :func:`mindspore.mint.maximum`.
1330
1774
  """
1331
- return _bitwise_not_instance(*args, **kwargs)
1775
+ return _max_instance(*args, **kwargs)
1332
1776
 
1333
1777
 
1334
- def div(*args, **kwargs):
1778
+ def all_gather_matmul(*args, **kwargs):
1335
1779
  r"""
1336
- div(input, other, *, rounding_mode=None) -> Tensor
1780
+ all_gather_matmul(input, x2, group, world_size, *, bias=None, gather_index=0, gather_output=True, comm_turn=0, trans_input=False, trans_x2=False) -> Tensor
1337
1781
 
1338
- Divides each element of the `input` by the corresponding element of the `other` .
1782
+ In the TP segmentation scenario, allgather and matmul are fused, and communication and computational pipelines
1783
+ are parallelized within the fusion operator.
1339
1784
 
1340
1785
  .. math::
1786
+ output = allgather(input)@x2
1341
1787
 
1342
- out_{i} = input_{i} / other_{i}
1788
+ gather\_out = allgather(input)
1343
1789
 
1344
- .. note::
1345
- - When the two inputs have different shapes, they must be able to broadcast to a common shape.
1346
- - The two inputs can not be bool type at the same time,
1347
- [True, Tensor(True, bool\_), Tensor(np.array([True]), bool\_)] are all considered bool type.
1348
- - The two inputs comply with the implicit type conversion rules to make the data types
1349
- consistent.
1790
+ .. warning::
1791
+ This is an experimental API that is subject to change or deletion.
1350
1792
 
1351
1793
  Args:
1352
- input (Union[Tensor, Number, bool]): The dividend.
1353
- other (Union[Tensor, Number, bool]): The divisor.
1794
+ input (Tensor): The left matrix of matmul, the dtype supports float16 and bfloat16, the shape supports 2
1795
+ dimensions, and the data format supports ND.
1796
+ x2 (Tensor): The right matrix of matmul, the dtype needs to be consistent with ``input`` , the shape
1797
+ supports 2 dimensions, and the data format supports ND.
1798
+ group (str): Communication group name, can be created by ``create_group`` method, or use the default group
1799
+ ``mindspore.communication.GlobalComm.WORLD_COMM_GROUP``.
1800
+ world_size (int): The total number of ranks in the communication group, should be consistent with the number
1801
+ of devices actually running, supporting ``2`` , ``4`` , and ``8`` .
1354
1802
 
1355
1803
  Keyword Args:
1356
- rounding_mode (str, optional): Type of rounding applied to the result. Default: ``None`` .
1357
- Three types are defined as,
1358
-
1359
- - None: Default behavior, which is the same as true division in Python or `true_divide` in NumPy.
1360
-
1361
- - "floor": Rounds the division of the inputs down, which is the same as floor division in Python
1362
- or `floor_divide` in NumPy.
1363
-
1364
- - "trunc": Rounds the division of the inputs towards zero, which is the same as C-style integer division.
1804
+ bias (Tensor, optional): Currently only ``None`` is supported. Default: ``None`` .
1805
+ gather_index (int, optional): Indicates the allgather operation object, ``0`` means gather ``input`` ,
1806
+ ``1`` means gather ``x2`` . Currently only ``0`` is supported. Default: ``0`` .
1807
+ gather_output (bool, optional): Indicates whether gather output is required. Default: ``True`` .
1808
+ comm_turn (int, optional): Indicates the granularity of communication between ranks. Currently only ``0``
1809
+ is supported. Default: ``0`` .
1810
+ trans_input (bool, optional): Indicates whether ``input`` is transposed. Currently only ``False`` is
1811
+ supported. Default: ``False`` .
1812
+ trans_x2 (bool, optional): Indicates whether ``x2`` is transposed. Default: ``False`` .
1365
1813
 
1366
1814
  Returns:
1367
- Tensor, the shape is the same as the one after broadcasting,
1368
- and the data type is the one with higher precision or higher digits among the two inputs.
1815
+ - output (Tensor) - The result of allgather and matmul fusion calculations.
1816
+ - gather_out (Tensor) - The result of allgather. If gather_output is ``False`` , ``gather_out`` returns a
1817
+ tensor with shape 0.
1818
+
1819
+ Note:
1820
+ - When using this interface, please ensure that the driver firmware package and CANN package are both the
1821
+ matching 8.0.RC2 version or a higher version, otherwise an error will be reported, such as BUS ERROR.
1822
+ - The shape of ``input`` is (m, k), the shape of ``x2`` is (k, n), k is required to be equal, and the value
1823
+ range of k is [256, 65535). The shape of ``output`` is (m * world_size, n), and the shape of
1824
+ ``gather_out`` is (m * world_size, k).
1825
+ - The common fusion operators in a model only support the same communication group.
1369
1826
 
1370
1827
  Raises:
1371
- TypeError: If `input` and `other` is not one of the following: Tensor, Number, bool.
1372
- ValueError: If `rounding_mode` value is not None, "floor" or "trunc".
1828
+ TypeError: Any arg is of wrong type.
1829
+ RuntimeError: The dtype of ``input`` or ``x2`` is neither float16 nor bfloat16.
1830
+ RuntimeError: The dtypes of ``input`` and ``x2`` are different.
1831
+ RuntimeError: The shape of ``input`` or ``x2`` is not two-dimensional.
1832
+ RuntimeError: The k axis of ``input`` shape and ``x2`` shape are not equal.
1833
+ RuntimeError: k is less than ``256`` or greater than or equal to ``65535`` .
1834
+ RuntimeError: ``bias`` is not None.
1835
+ RuntimeError: ``group`` does not exist.
1836
+ RuntimeError: ``world_size`` is inconsistent with the actual number of running cards.
1837
+ RuntimeError: ``world_size`` is not equal to ``2`` , ``4`` , or ``8`` .
1838
+ RuntimeError: ``gather_index`` is not ``0`` .
1839
+ RuntimeError: ``trans_input`` is ``True`` .
1373
1840
 
1374
1841
  Supported Platforms:
1375
1842
  ``Ascend``
1376
1843
 
1377
1844
  Examples:
1378
- >>> import mindspore
1845
+ .. note::
1846
+ Before running the following examples, you need to configure the communication environment variables.
1847
+
1848
+ For Ascend/GPU/CPU devices, it is recommended to use the msrun startup method without any third-party or
1849
+ configuration file dependencies. Please see the `msrun start up <https://www.mindspore.cn/tutorials/en/master/parallel/msrun_launcher.html>`_
1850
+ for more details.
1851
+
1852
+ This example should be run with 2 devices.
1853
+
1854
+ >>> import mindspore as ms
1379
1855
  >>> import numpy as np
1380
- >>> from mindspore import Tensor, mint
1381
- >>> x = Tensor(np.array([1.0, 2.0, 3.0]), mindspore.float32)
1382
- >>> y = Tensor(np.array([4.0, 5.0, 6.0]), mindspore.float32)
1383
- >>> output = mint.div(x, y)
1384
- >>> print(output)
1385
- [0.25 0.4 0.5]
1856
+ >>> from mindspore import ops
1857
+ >>> ms.communication.init()
1858
+ >>> rank = ms.communication.get_rank()
1859
+ >>> np.random.seed(rank)
1860
+ >>> input = ms.Tensor(np.random.randn(128, 256).astype(np.float32), dtype=ms.float16)
1861
+ >>> x2 = ms.Tensor(np.random.randn(256, 512).astype(np.float32), dtype=ms.float16)
1862
+ >>> group = ms.communication.GlobalComm.WORLD_COMM_GROUP
1863
+ >>> world_size = ms.communication.get_group_size()
1864
+ >>> output, gather_out = ops.all_gather_matmul(
1865
+ ... input,
1866
+ ... x2,
1867
+ ... group,
1868
+ ... world_size,
1869
+ ... bias=None,
1870
+ ... gather_index=0,
1871
+ ... gather_output=True,
1872
+ ... comm_turn=0,
1873
+ ... trans_input=False,
1874
+ ... trans_x2=False,
1875
+ ... )
1876
+ >>> print(output.shape)
1877
+ (256, 512)
1878
+ >>> print(gather_out.shape)
1879
+ (256, 256)
1386
1880
  """
1387
- return _div_instance(*args, **kwargs)
1881
+ return _all_gather_matmul_instance(*args, **kwargs)
1388
1882
 
1389
1883
 
1390
- def divide(*args, **kwargs):
1884
+ def fmod(*args, **kwargs):
1391
1885
  r"""
1392
- divide(input, other, *, rounding_mode=None) -> Tensor
1886
+ fmod(input, other) -> Tensor
1393
1887
 
1394
- Alias for :func:`mindspore.mint.div`.
1395
- """
1396
- return _div_instance(*args, **kwargs)
1888
+ Computes the floating-point remainder of the division operation input/other.
1397
1889
 
1890
+ .. math::
1398
1891
 
1399
- def empty(*args, **kwargs):
1400
- r"""
1401
- empty(*size, dtype=None, device=None) -> Tensor
1892
+ out = input - n * other
1402
1893
 
1403
- Creates a tensor with uninitialized data, whose shape, dtype and device are described by the argument `size`,
1404
- `dtype` and `device` respectively.
1894
+ Where :math:`n` is :math:`input/other` with its fractional part truncated.
1895
+ The returned value has the same sign as `input` and is less than `other` in magnitude.
1405
1896
 
1406
1897
  .. warning::
1407
1898
  This is an experimental API that is subject to change or deletion.
1408
1899
 
1409
1900
  Args:
1410
- size (Union[tuple[int], list[int], int]): The specified shape of output tensor. Can be variable numbers of
1411
- positive integers or tupled or list containing positive integers.
1412
-
1413
- Keyword Args:
1414
- dtype (:class:`mindspore.dtype`, optional): The specified type of output tensor. If `dtype` is ``None`` ,
1415
- `mindspore.float32` will be used. Default: ``None`` .
1416
- device (string, optional): The specified device of the output tensor. Support ``CPU`` and ``Ascend``. If
1417
- `device = None`, `mindspore.context.device_target` will be used. Default ``None``.
1901
+ input (Tensor): the dividend.
1902
+ other (Union[Tensor, Number]): the divisor.
1418
1903
 
1419
1904
  Returns:
1420
- Tensor, whose dtype and size are defined by input.
1905
+ Tensor, the shape is the same as the one after broadcasting,
1906
+ and the data type is the one with higher precision or higher digits among the two inputs.
1421
1907
 
1422
1908
  Raises:
1423
- TypeError: If `size` is neither an int nor a tuple or list of int.
1909
+ TypeError: If `input` is not a Tensor.
1424
1910
 
1425
1911
  Supported Platforms:
1426
1912
  ``Ascend``
1427
1913
 
1428
1914
  Examples:
1429
1915
  >>> import mindspore
1430
- >>> from mindspore import ops
1431
- >>> output = ops.empty((2, 3), dtype=mindspore.float32)
1916
+ >>> import numpy as np
1917
+ >>> from mindspore import Tensor, mint
1918
+ >>> input = Tensor(np.array([-4., -3.5, 0, 3.5, 4]), mindspore.float32)
1919
+ >>> output = mint.fmod(input, 2.5)
1432
1920
  >>> print(output)
1433
- [[0. 0. 0.]
1434
- [0. 0. 0.]]
1921
+ [-1.5 -1. 0. 1. 1.5]
1435
1922
  """
1436
- return _empty_instance(*args, **kwargs)
1923
+ return _fmod_instance(*args, **kwargs)
1437
1924
 
1438
1925
 
1439
- def clamp(*args, **kwargs):
1926
+ def bitwise_not(*args, **kwargs):
1440
1927
  r"""
1441
- clamp(input, min=None, max=None) -> Tensor
1442
-
1443
- Clamps tensor values between the specified minimum value and maximum value.
1444
-
1445
- Limits the value of :math:`input` to a range, whose lower limit is `min` and upper limit is `max` .
1446
-
1447
- .. math::
1928
+ bitwise_not(input) -> Tensor
1448
1929
 
1449
- out_i= \left\{
1450
- \begin{array}{align}
1451
- max & \text{ if } input_i\ge max \\
1452
- input_i & \text{ if } min \lt input_i \lt max \\
1453
- min & \text{ if } input_i \le min \\
1454
- \end{array}\right.
1930
+ Returns bitwise `not` of the input tensor.
1455
1931
 
1456
- Note:
1457
- - `min` and `max` cannot be None at the same time;
1458
- - When `min` is None and `max` is not None, the elements in Tensor larger than `max` will become `max`;
1459
- - When `min` is not None and `max` is None, the elements in Tensor smaller than `min` will become `min`;
1460
- - If `min` is greater than `max`, the value of all elements in Tensor will be set to `max`;
1461
- - The data type of `input`, `min` and `max` should support implicit type conversion and cannot be bool type.
1932
+ .. warning::
1933
+ This is an experimental API that is subject to change or deletion.
1462
1934
 
1463
1935
  Args:
1464
- input (Tensor): Input data, which type is Tensor. Tensors of arbitrary dimensions are supported.
1465
- min (Union(Tensor, float, int), optional): The minimum value. Default: ``None`` .
1466
- max (Union(Tensor, float, int), optional): The maximum value. Default: ``None`` .
1936
+ input (Tensor): The input tensor must be of integral or Boolean types.
1467
1937
 
1468
1938
  Returns:
1469
- Tensor, a clipped Tensor.
1470
- The data type and shape are the same as input.
1939
+ Tensor, has the same shape and type as `input`.
1471
1940
 
1472
1941
  Raises:
1473
- ValueError: If both `min` and `max` are None.
1474
- TypeError: If the type of `input` is not Tensor.
1475
- TypeError: If the type of `min` is not in None, Tensor, float or int.
1476
- TypeError: If the type of `max` is not in None, Tensor, float or int.
1942
+ TypeError: If `input` is not a Tensor.
1943
+ RuntimeError: If dtype of `input` is not int or bool.
1477
1944
 
1478
1945
  Supported Platforms:
1479
1946
  ``Ascend``
1480
1947
 
1481
1948
  Examples:
1482
- >>> # case 1: the data type of input is Tensor
1483
1949
  >>> import mindspore
1484
- >>> from mindspore import Tensor, mint
1485
1950
  >>> import numpy as np
1486
- >>> min_value = Tensor(5, mindspore.float32)
1487
- >>> max_value = Tensor(20, mindspore.float32)
1488
- >>> input = Tensor(np.array([[1., 25., 5., 7.], [4., 11., 6., 21.]]), mindspore.float32)
1489
- >>> output = mint.clamp(input, min_value, max_value)
1490
- >>> print(output)
1491
- [[ 5. 20. 5. 7.]
1492
- [ 5. 11. 6. 20.]]
1493
- >>> # case 2: the data type of input is number
1494
- >>> import mindspore
1495
1951
  >>> from mindspore import Tensor, mint
1496
- >>> import numpy as np
1497
- >>> min_value = 5
1498
- >>> max_value = 20
1499
- >>> input = Tensor(np.array([[1., 25., 5., 7.], [4., 11., 6., 21.]]), mindspore.float32)
1500
- >>> output = mint.clamp(input, min_value, max_value)
1501
- >>> print(output)
1502
- [[ 5. 20. 5. 7.]
1503
- [ 5. 11. 6. 20.]]
1952
+ >>> x = Tensor(np.array([True, False, True, False]))
1953
+ >>> y = mint.bitwise_not(x)
1954
+ >>> print(y)
1955
+ [False True False True]
1504
1956
  """
1505
- return _clamp_instance(*args, **kwargs)
1957
+ return _bitwise_not_instance(*args, **kwargs)
1506
1958
 
1507
1959
 
1508
- def clip(*args, **kwargs):
1960
+ def rmod(*args, **kwargs):
1509
1961
  r"""
1510
- clip(input, min=None, max=None) -> Tensor
1511
-
1512
- Alias for :func:`mindspore.mint.clamp`.
1962
+ rmod(input, other) -> Tensor
1513
1963
  """
1514
- return _clamp_instance(*args, **kwargs)
1964
+ return _rmod_instance(*args, **kwargs)
1515
1965
 
1516
1966
  __all__ = [
1517
- "floor_divide",
1518
- "addcdiv",
1519
- "remainder",
1520
- "pixel_shuffle",
1521
- "fmod",
1522
- "where",
1523
- "lerp",
1524
- "max",
1525
- "all_gather_matmul",
1526
1967
  "gmm_backward_fusion",
1527
- "repeat_interleave",
1968
+ "kthvalue",
1969
+ "index_add",
1970
+ "conv3d",
1528
1971
  "matmul_reduce_scatter",
1529
- "xlogy",
1972
+ "einsum",
1973
+ "remainder",
1974
+ "addcdiv",
1975
+ "nansum",
1530
1976
  "sub",
1531
1977
  "__sub__",
1532
- "greater_equal",
1533
- "ge",
1534
- "gelu",
1535
- "gmm_backward",
1536
1978
  "gmm",
1537
- "min",
1979
+ "any",
1980
+ "gmm_backward",
1538
1981
  "add",
1539
1982
  "__add__",
1540
- "nansum",
1541
- "kthvalue",
1542
- "bitwise_not",
1983
+ "where",
1543
1984
  "div",
1544
1985
  "divide",
1545
- "empty",
1546
1986
  "clamp",
1547
1987
  "clip",
1988
+ "empty_like",
1989
+ "empty",
1990
+ "lerp",
1991
+ "pixel_shuffle",
1992
+ "xlogy",
1993
+ "quant_matmul",
1994
+ "greater_equal",
1995
+ "ge",
1996
+ "min",
1997
+ "floor_divide",
1998
+ "repeat_interleave",
1999
+ "gelu",
2000
+ "max",
2001
+ "all_gather_matmul",
2002
+ "fmod",
2003
+ "bitwise_not",
2004
+ "rmod",
1548
2005
  ]