mindspore 2.4.1__cp310-none-any.whl → 2.4.10__cp310-none-any.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 (242) hide show
  1. mindspore/.commit_id +1 -1
  2. mindspore/_c_dataengine.cpython-310-aarch64-linux-gnu.so +0 -0
  3. mindspore/_c_expression.cpython-310-aarch64-linux-gnu.so +0 -0
  4. mindspore/_c_mindrecord.cpython-310-aarch64-linux-gnu.so +0 -0
  5. mindspore/bin/cache_server +0 -0
  6. mindspore/common/api.py +1 -4
  7. mindspore/common/file_system.py +2 -0
  8. mindspore/common/parameter.py +1 -14
  9. mindspore/communication/_comm_helper.py +5 -0
  10. mindspore/context.py +7 -2
  11. mindspore/dataset/engine/datasets_standard_format.py +17 -0
  12. mindspore/dataset/engine/datasets_user_defined.py +27 -1
  13. mindspore/experimental/llm_boost/__init__.py +2 -2
  14. mindspore/experimental/llm_boost/atb/boost_base.py +240 -64
  15. mindspore/experimental/llm_boost/atb/llama_boost.py +46 -29
  16. mindspore/experimental/llm_boost/atb/qwen_boost.py +47 -24
  17. mindspore/include/api/context.h +1 -1
  18. mindspore/include/dataset/constants.h +2 -2
  19. mindspore/lib/libavcodec.so.59 +0 -0
  20. mindspore/lib/libavdevice.so.59 +0 -0
  21. mindspore/lib/libavfilter.so.8 +0 -0
  22. mindspore/lib/libavformat.so.59 +0 -0
  23. mindspore/lib/libavutil.so.57 +0 -0
  24. mindspore/lib/libmindspore_backend.so +0 -0
  25. mindspore/lib/libmindspore_common.so +0 -0
  26. mindspore/lib/libmindspore_core.so +0 -0
  27. mindspore/lib/libmindspore_gpr.so.15 +0 -0
  28. mindspore/lib/libmindspore_grpc++.so.1 +0 -0
  29. mindspore/lib/libmindspore_grpc.so.15 +0 -0
  30. mindspore/lib/libmindspore_ops.so +0 -0
  31. mindspore/lib/libswresample.so.4 +0 -0
  32. mindspore/lib/libswscale.so.6 +0 -0
  33. mindspore/lib/plugin/ascend/custom_aicore_ops/op_proto/libop_proto.so +0 -0
  34. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_impl/cpu/aicpu_kernel/impl/libcust_cpu_kernels.so +0 -0
  35. mindspore/lib/plugin/ascend/custom_aicpu_ops/op_proto/libcust_op_proto.so +0 -0
  36. mindspore/lib/plugin/ascend/custom_ascendc_910/framework/npu_supported_ops.json +10 -0
  37. mindspore/lib/plugin/ascend/custom_ascendc_910/op_api/lib/libcust_opapi.so +0 -0
  38. mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910}/op_impl/ai_core/tbe/config/ascend910/aic-ascend910-ops-info.json +0 -42
  39. mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/custom_ascendc_ops_impl → custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl}/dynamic/decoder_kv_cache.py +51 -16
  40. mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/custom_ascendc_ops_impl → custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl}/dynamic/prompt_kv_cache.py +51 -16
  41. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +158 -0
  42. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  43. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +158 -0
  44. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  45. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +158 -0
  46. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  47. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +158 -0
  48. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  49. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +158 -0
  50. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  51. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +158 -0
  52. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  53. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +158 -0
  54. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  55. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +158 -0
  56. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  57. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +167 -0
  58. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  59. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +167 -0
  60. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  61. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +167 -0
  62. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  63. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +167 -0
  64. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  65. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +167 -0
  66. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  67. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +167 -0
  68. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  69. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +167 -0
  70. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  71. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +167 -0
  72. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/ascend910/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  73. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/binary_info_config.json +302 -0
  74. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/decoder_kv_cache.json +892 -0
  75. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/kernel/config/ascend910/prompt_kv_cache.json +892 -0
  76. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  77. mindspore/lib/plugin/ascend/custom_ascendc_910/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  78. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/inc/op_proto.h +33 -0
  79. mindspore/lib/plugin/ascend/custom_ascendc_910/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  80. mindspore/lib/plugin/ascend/custom_ascendc_910/version.info +1 -0
  81. mindspore/lib/plugin/ascend/custom_ascendc_910b/framework/npu_supported_ops.json +14 -0
  82. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_decoder_kv_cache.h +59 -0
  83. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_api/include/aclnn_prompt_kv_cache.h +59 -0
  84. mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910b}/op_api/lib/libcust_opapi.so +0 -0
  85. mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/custom_ascendc_ops_impl → custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl}/dynamic/all_finite.py +51 -16
  86. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.cpp +192 -0
  87. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/decoder_kv_cache.py +215 -0
  88. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.cpp +274 -0
  89. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl/dynamic/prompt_kv_cache.py +215 -0
  90. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +80 -0
  91. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o +0 -0
  92. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +80 -0
  93. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o +0 -0
  94. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +80 -0
  95. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o +0 -0
  96. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +158 -0
  97. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  98. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +158 -0
  99. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  100. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +158 -0
  101. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  102. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +158 -0
  103. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  104. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +158 -0
  105. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  106. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +158 -0
  107. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  108. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +158 -0
  109. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  110. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +158 -0
  111. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  112. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +167 -0
  113. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  114. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +167 -0
  115. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  116. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +167 -0
  117. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  118. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +167 -0
  119. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  120. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +167 -0
  121. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  122. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +167 -0
  123. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  124. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +167 -0
  125. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  126. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +167 -0
  127. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend310p/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  128. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.json +78 -0
  129. mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_86a73ff6e28d734c96bb8d3054f7dd18.o → custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_52f59e2a65d9b1bb002de35c2819754a.o} +0 -0
  130. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.json +78 -0
  131. mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_f55e0ebaad1f2f572e43677336992fa0.o → custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_6b5e50e30256d85838d6ce83514df20f.o} +0 -0
  132. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.json +78 -0
  133. mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_576ceaeef5870c451cab59af55ea46ad.o → custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_74e4ac02880d452e3308c94af273562e.o} +0 -0
  134. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.json +156 -0
  135. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_0d5520cc587ad44ce634bf3fbcffc272.o +0 -0
  136. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.json +156 -0
  137. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_20390d30b3c4c0d23167ccca6c030c2b.o +0 -0
  138. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.json +156 -0
  139. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_2d151f0b1d2db51faa2968d5b67544e2.o +0 -0
  140. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.json +156 -0
  141. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_561690ec17cc1def3d2fcf68c1b07b56.o +0 -0
  142. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.json +156 -0
  143. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_570f9aaa99e5e773b3dd0a33784363f4.o +0 -0
  144. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.json +156 -0
  145. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_59668a0f0764afb98fda8ab9e84126f1.o +0 -0
  146. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.json +156 -0
  147. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_91d9833e4792b70b670e4e2b916abd86.o +0 -0
  148. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json +156 -0
  149. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.o +0 -0
  150. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json +165 -0
  151. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.o +0 -0
  152. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json +165 -0
  153. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.o +0 -0
  154. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json +165 -0
  155. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.o +0 -0
  156. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.json +165 -0
  157. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_2fa8702ffd7ca85e9e194f62644415d5.o +0 -0
  158. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.json +165 -0
  159. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_570b62f187dfd439b64613d881deedb7.o +0 -0
  160. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.json +165 -0
  161. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_585218c11411ff84709b9e725b66c435.o +0 -0
  162. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.json +165 -0
  163. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_5c9365ccde170b358c5b126d69dae13e.o +0 -0
  164. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.json +165 -0
  165. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/ascend910b/prompt_kv_cache/PromptKvCache_6d97c45b7c43bc16fcff8baa5dacac4e.o +0 -0
  166. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/all_finite.json +139 -0
  167. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/binary_info_config.json +361 -0
  168. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/decoder_kv_cache.json +892 -0
  169. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend310p/prompt_kv_cache.json +892 -0
  170. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/all_finite.json +139 -0
  171. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/binary_info_config.json +361 -0
  172. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/decoder_kv_cache.json +892 -0
  173. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/kernel/config/ascend910b/prompt_kv_cache.json +892 -0
  174. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  175. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  176. mindspore/lib/plugin/ascend/custom_ascendc_910b/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  177. mindspore/lib/plugin/ascend/custom_ascendc_910b/version.info +1 -0
  178. mindspore/lib/plugin/ascend/libhccl_plugin.so +0 -0
  179. mindspore/lib/plugin/ascend/libmindspore_cpu_kernels.so +0 -0
  180. mindspore/lib/plugin/ascend/libmindspore_internal_kernels.so +0 -0
  181. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/bin/PkgInspect +0 -0
  182. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/bin/op_man +0 -0
  183. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/host/libasdops_cann_host.so +0 -0
  184. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/host/libasdops_host.so +0 -0
  185. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops.so +0 -0
  186. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/libasdops_static.a +0 -0
  187. mindspore/lib/plugin/ascend/ms_kernels_internal/asdops/lib/liblcal_static.a +0 -0
  188. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/include/acme/src/ops/host_src/flash_attention_score_op.h +6 -1
  189. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libadd_rms_norm_quant_acme_impl.so +0 -0
  190. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/lib/libms_kernels_internal.so +0 -0
  191. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/flash_attention_score/flash_attention_score_bf16_bnsd_full_mix.o +0 -0
  192. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/flash_attention_score/flash_attention_score_fp16_bnsd_full_mix.o +0 -0
  193. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/flash_attention_score/flash_attention_score_fp16_bnsd_tri_mix.o +0 -0
  194. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/flash_attention_score/flash_attention_score_fp16_bsh_full_mix.o +0 -0
  195. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/flash_attention_score/flash_attention_score_fp16_bsh_tri_mix.o +0 -0
  196. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/paged_attention/paged_attention_bf16_bnsd_mix.o +0 -0
  197. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/paged_attention/paged_attention_bf16_bsh_mix.o +0 -0
  198. mindspore/lib/plugin/ascend/ms_kernels_internal/internal_kernel/op_kernels/ascend910b/paged_attention/paged_attention_fp16_bsh_mix.o +0 -0
  199. mindspore/lib/plugin/libmindspore_ascend.so.2 +0 -0
  200. mindspore/nn/__init__.py +2 -0
  201. mindspore/nn/cell.py +16 -2
  202. mindspore/nn/layer/conv.py +3 -0
  203. mindspore/nn/layer/pooling.py +8 -10
  204. mindspore/nn/utils/__init__.py +22 -0
  205. mindspore/nn/utils/init.py +71 -0
  206. mindspore/ops/_grad_experimental/grad_comm_ops.py +25 -7
  207. mindspore/ops/auto_generate/gen_ops_prim.py +3 -2
  208. mindspore/ops/function/math_func.py +5 -4
  209. mindspore/ops/operations/comm_ops.py +4 -1
  210. mindspore/ops/operations/custom_ops.py +6 -4
  211. mindspore/ops/operations/nn_ops.py +7 -2
  212. mindspore/parallel/_auto_parallel_context.py +23 -4
  213. mindspore/parallel/_cell_wrapper.py +22 -3
  214. mindspore/parallel/_utils.py +0 -1
  215. mindspore/run_check/_check_version.py +17 -8
  216. mindspore/train/callback/_tft_register.py +7 -6
  217. mindspore/train/model.py +1 -0
  218. mindspore/train/serialization.py +4 -1
  219. mindspore/version.py +1 -1
  220. {mindspore-2.4.1.dist-info → mindspore-2.4.10.dist-info}/METADATA +2 -2
  221. {mindspore-2.4.1.dist-info → mindspore-2.4.10.dist-info}/RECORD +233 -106
  222. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_576ceaeef5870c451cab59af55ea46ad.json +0 -58
  223. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_86a73ff6e28d734c96bb8d3054f7dd18.json +0 -58
  224. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/kernel/ascend910b/all_finite/AllFinite_f55e0ebaad1f2f572e43677336992fa0.json +0 -58
  225. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/kernel/config/ascend910b/all_finite.json +0 -109
  226. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/kernel/config/ascend910b/binary_info_config.json +0 -38
  227. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/op_tiling/lib/linux/aarch64/libcust_opmaster_rt2.0.so +0 -0
  228. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_impl/ai_core/tbe/op_tiling/liboptiling.so +0 -0
  229. mindspore/lib/plugin/ascend/custom_ascendc_ops/op_proto/lib/linux/aarch64/libcust_opsproto_rt2.0.so +0 -0
  230. mindspore/lib/plugin/ascend/custom_ascendc_ops/version.info +0 -1
  231. /mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910}/op_api/include/aclnn_decoder_kv_cache.h +0 -0
  232. /mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910}/op_api/include/aclnn_prompt_kv_cache.h +0 -0
  233. /mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/custom_ascendc_ops_impl → custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl}/dynamic/decoder_kv_cache.cpp +0 -0
  234. /mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/custom_ascendc_ops_impl → custom_ascendc_910/op_impl/ai_core/tbe/custom_ascendc_910_impl}/dynamic/prompt_kv_cache.cpp +0 -0
  235. /mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910b}/op_api/include/aclnn_all_finite.h +0 -0
  236. /mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910b}/op_impl/ai_core/tbe/config/ascend310p/aic-ascend310p-ops-info.json +0 -0
  237. /mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910b}/op_impl/ai_core/tbe/config/ascend910b/aic-ascend910b-ops-info.json +0 -0
  238. /mindspore/lib/plugin/ascend/{custom_ascendc_ops/op_impl/ai_core/tbe/custom_ascendc_ops_impl → custom_ascendc_910b/op_impl/ai_core/tbe/custom_ascendc_910b_impl}/dynamic/all_finite.cpp +0 -0
  239. /mindspore/lib/plugin/ascend/{custom_ascendc_ops → custom_ascendc_910b}/op_proto/inc/op_proto.h +0 -0
  240. {mindspore-2.4.1.dist-info → mindspore-2.4.10.dist-info}/WHEEL +0 -0
  241. {mindspore-2.4.1.dist-info → mindspore-2.4.10.dist-info}/entry_points.txt +0 -0
  242. {mindspore-2.4.1.dist-info → mindspore-2.4.10.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,158 @@
1
+ {
2
+ "binFileName": "DecoderKvCache_c74cdc5fef094383401856f8519504af",
3
+ "binFileSuffix": ".o",
4
+ "blockDim": -1,
5
+ "coreType": "AiCore",
6
+ "globalworkspace_spec_workspace": {
7
+ "size": 32,
8
+ "type": 0
9
+ },
10
+ "kernelName": "DecoderKvCache_c74cdc5fef094383401856f8519504af",
11
+ "magic": "RT_DEV_BINARY_MAGIC_ELF",
12
+ "memoryStamping": [],
13
+ "opParaSize": 120,
14
+ "parameters": [
15
+ null,
16
+ null,
17
+ null,
18
+ null,
19
+ null,
20
+ null,
21
+ null,
22
+ null,
23
+ null
24
+ ],
25
+ "sha256": "c08ab681613668a58148d6a018ca360b676d3a06a70c12de094ecef2f44f5b4b",
26
+ "workspace": {
27
+ "num": 1,
28
+ "size": [
29
+ -1
30
+ ],
31
+ "type": [
32
+ 0
33
+ ]
34
+ },
35
+ "kernelList": [
36
+ {
37
+ "kernelName": "DecoderKvCache_c74cdc5fef094383401856f8519504af_1"
38
+ },
39
+ {
40
+ "kernelName": "DecoderKvCache_c74cdc5fef094383401856f8519504af_2"
41
+ },
42
+ {
43
+ "kernelName": "DecoderKvCache_c74cdc5fef094383401856f8519504af_4"
44
+ }
45
+ ],
46
+ "optionalInputMode": "gen_placeholder",
47
+ "optionalOutputMode": "gen_placeholder",
48
+ "compileInfo": {},
49
+ "supportInfo": {
50
+ "implMode": "high_performance",
51
+ "int64Mode": false,
52
+ "simplifiedKeyMode": 0,
53
+ "simplifiedKey": [
54
+ "DecoderKvCache/d=0,p=1/1,2/1,2/9,2/9,2/9,2/9,2/9,2/1,2",
55
+ "DecoderKvCache/d=0,p=0/1,2/1,2/9,2/9,2/9,2/9,2/9,2/1,2",
56
+ "DecoderKvCache/d=1,p=1/1,2/1,2/9,2/9,2/9,2/9,2/9,2/1,2",
57
+ "DecoderKvCache/d=1,p=0/1,2/1,2/9,2/9,2/9,2/9,2/9,2/1,2"
58
+ ],
59
+ "optionalInputMode": "gen_placeholder",
60
+ "optionalOutputMode": "gen_placeholder",
61
+ "staticKey": "5b6eb0646104e3bfbf6807cffb63d6e2c93ec882a7dd0591c62c0d0970d383e3,88c450482f18f03934b7498b7e6887db4b5ed9d7c87482ba3a2d4c0da69b9441",
62
+ "inputs": [
63
+ {
64
+ "name": "cache",
65
+ "index": 0,
66
+ "dtype": "float16",
67
+ "format": "ND",
68
+ "paramType": "required",
69
+ "shape": [
70
+ -2
71
+ ],
72
+ "format_match_mode": "FormatAgnostic"
73
+ },
74
+ {
75
+ "name": "update",
76
+ "index": 1,
77
+ "dtype": "float16",
78
+ "format": "ND",
79
+ "paramType": "required",
80
+ "shape": [
81
+ -2
82
+ ],
83
+ "format_match_mode": "FormatAgnostic"
84
+ },
85
+ {
86
+ "name": "valid_seq_len",
87
+ "index": 2,
88
+ "dtype": "int64",
89
+ "format": "ND",
90
+ "paramType": "required",
91
+ "shape": [
92
+ -2
93
+ ],
94
+ "format_match_mode": "FormatAgnostic"
95
+ },
96
+ {
97
+ "name": "batch_index",
98
+ "index": 3,
99
+ "dtype": "int64",
100
+ "format": "ND",
101
+ "paramType": "required",
102
+ "shape": [
103
+ -2
104
+ ],
105
+ "format_match_mode": "FormatAgnostic"
106
+ },
107
+ {
108
+ "name": "seq_len_axis",
109
+ "index": 4,
110
+ "dtype": "int64",
111
+ "format": "ND",
112
+ "paramType": "required",
113
+ "shape": [
114
+ -2
115
+ ],
116
+ "format_match_mode": "FormatAgnostic"
117
+ },
118
+ {
119
+ "name": "new_max_seq_len",
120
+ "index": 5,
121
+ "dtype": "int64",
122
+ "format": "ND",
123
+ "paramType": "required",
124
+ "shape": [
125
+ -2
126
+ ],
127
+ "format_match_mode": "FormatAgnostic"
128
+ },
129
+ {
130
+ "name": "cur_max_seq_len",
131
+ "index": 6,
132
+ "dtype": "int64",
133
+ "format": "ND",
134
+ "paramType": "required",
135
+ "shape": [
136
+ -2
137
+ ],
138
+ "format_match_mode": "FormatAgnostic"
139
+ }
140
+ ],
141
+ "outputs": [
142
+ {
143
+ "name": "out",
144
+ "index": 0,
145
+ "dtype": "float16",
146
+ "format": "ND",
147
+ "paramType": "required",
148
+ "shape": [
149
+ -2
150
+ ],
151
+ "format_match_mode": "FormatAgnostic"
152
+ }
153
+ ],
154
+ "opMode": "dynamic",
155
+ "deterministic": "ignore"
156
+ },
157
+ "filePath": "ascend910/bin/decoder_kv_cache/DecoderKvCache_c74cdc5fef094383401856f8519504af.json"
158
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "binFileName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d",
3
+ "binFileSuffix": ".o",
4
+ "blockDim": -1,
5
+ "coreType": "AiCore",
6
+ "globalworkspace_spec_workspace": {
7
+ "size": 32,
8
+ "type": 0
9
+ },
10
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d",
11
+ "magic": "RT_DEV_BINARY_MAGIC_ELF",
12
+ "memoryStamping": [],
13
+ "opParaSize": 104,
14
+ "parameters": [
15
+ null,
16
+ null,
17
+ null,
18
+ null,
19
+ null,
20
+ null,
21
+ null,
22
+ null,
23
+ null
24
+ ],
25
+ "sha256": "45b5602b4b1058b85d61b1186baee0ae77a4a13e76cd5a16177231ae1d327650",
26
+ "workspace": {
27
+ "num": 1,
28
+ "size": [
29
+ -1
30
+ ],
31
+ "type": [
32
+ 0
33
+ ]
34
+ },
35
+ "kernelList": [
36
+ {
37
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d_1"
38
+ },
39
+ {
40
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d_2"
41
+ },
42
+ {
43
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d_4"
44
+ },
45
+ {
46
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d_10"
47
+ },
48
+ {
49
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d_20"
50
+ },
51
+ {
52
+ "kernelName": "PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d_40"
53
+ }
54
+ ],
55
+ "optionalInputMode": "gen_placeholder",
56
+ "optionalOutputMode": "gen_placeholder",
57
+ "compileInfo": {},
58
+ "supportInfo": {
59
+ "implMode": "high_performance",
60
+ "int64Mode": false,
61
+ "simplifiedKeyMode": 0,
62
+ "simplifiedKey": [
63
+ "PromptKvCache/d=0,p=1/4,2/4,2/9,2/9,2/9,2/9,2/9,2/4,2",
64
+ "PromptKvCache/d=0,p=0/4,2/4,2/9,2/9,2/9,2/9,2/9,2/4,2",
65
+ "PromptKvCache/d=1,p=1/4,2/4,2/9,2/9,2/9,2/9,2/9,2/4,2",
66
+ "PromptKvCache/d=1,p=0/4,2/4,2/9,2/9,2/9,2/9,2/9,2/4,2"
67
+ ],
68
+ "optionalInputMode": "gen_placeholder",
69
+ "optionalOutputMode": "gen_placeholder",
70
+ "staticKey": "366c00139469d27f4b71f0f737382f7c95084cafbebf4737641592bbefadf2d2,4660a5fb2bb2e39fa68d63480e26a349989a80df80a73d22d6f01a52ba708861",
71
+ "inputs": [
72
+ {
73
+ "name": "cache",
74
+ "index": 0,
75
+ "dtype": "uint8",
76
+ "format": "ND",
77
+ "paramType": "required",
78
+ "shape": [
79
+ -2
80
+ ],
81
+ "format_match_mode": "FormatAgnostic"
82
+ },
83
+ {
84
+ "name": "update",
85
+ "index": 1,
86
+ "dtype": "uint8",
87
+ "format": "ND",
88
+ "paramType": "required",
89
+ "shape": [
90
+ -2
91
+ ],
92
+ "format_match_mode": "FormatAgnostic"
93
+ },
94
+ {
95
+ "name": "valid_seq_len",
96
+ "index": 2,
97
+ "dtype": "int64",
98
+ "format": "ND",
99
+ "paramType": "required",
100
+ "shape": [
101
+ -2
102
+ ],
103
+ "format_match_mode": "FormatAgnostic"
104
+ },
105
+ {
106
+ "name": "batch_index",
107
+ "index": 3,
108
+ "dtype": "int64",
109
+ "format": "ND",
110
+ "paramType": "required",
111
+ "shape": [
112
+ -2
113
+ ],
114
+ "format_match_mode": "FormatAgnostic"
115
+ },
116
+ {
117
+ "name": "seq_len_axis",
118
+ "index": 4,
119
+ "dtype": "int64",
120
+ "format": "ND",
121
+ "paramType": "required",
122
+ "shape": [
123
+ -2
124
+ ],
125
+ "format_match_mode": "FormatAgnostic"
126
+ },
127
+ {
128
+ "name": "new_max_seq_len",
129
+ "index": 5,
130
+ "dtype": "int64",
131
+ "format": "ND",
132
+ "paramType": "required",
133
+ "shape": [
134
+ -2
135
+ ],
136
+ "format_match_mode": "FormatAgnostic"
137
+ },
138
+ {
139
+ "name": "cur_max_seq_len",
140
+ "index": 6,
141
+ "dtype": "int64",
142
+ "format": "ND",
143
+ "paramType": "required",
144
+ "shape": [
145
+ -2
146
+ ],
147
+ "format_match_mode": "FormatAgnostic"
148
+ }
149
+ ],
150
+ "outputs": [
151
+ {
152
+ "name": "out",
153
+ "index": 0,
154
+ "dtype": "uint8",
155
+ "format": "ND",
156
+ "paramType": "required",
157
+ "shape": [
158
+ -2
159
+ ],
160
+ "format_match_mode": "FormatAgnostic"
161
+ }
162
+ ],
163
+ "opMode": "dynamic",
164
+ "deterministic": "ignore"
165
+ },
166
+ "filePath": "ascend910/bin/prompt_kv_cache/PromptKvCache_0515c7b1a4cd614449e38c5e9a7e3f8d.json"
167
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "binFileName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7",
3
+ "binFileSuffix": ".o",
4
+ "blockDim": -1,
5
+ "coreType": "AiCore",
6
+ "globalworkspace_spec_workspace": {
7
+ "size": 32,
8
+ "type": 0
9
+ },
10
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7",
11
+ "magic": "RT_DEV_BINARY_MAGIC_ELF",
12
+ "memoryStamping": [],
13
+ "opParaSize": 104,
14
+ "parameters": [
15
+ null,
16
+ null,
17
+ null,
18
+ null,
19
+ null,
20
+ null,
21
+ null,
22
+ null,
23
+ null
24
+ ],
25
+ "sha256": "66bf39e4030d443bc94727abce7164038a382c7f81ea135be96a266a637c63be",
26
+ "workspace": {
27
+ "num": 1,
28
+ "size": [
29
+ -1
30
+ ],
31
+ "type": [
32
+ 0
33
+ ]
34
+ },
35
+ "kernelList": [
36
+ {
37
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7_1"
38
+ },
39
+ {
40
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7_2"
41
+ },
42
+ {
43
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7_4"
44
+ },
45
+ {
46
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7_10"
47
+ },
48
+ {
49
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7_20"
50
+ },
51
+ {
52
+ "kernelName": "PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7_40"
53
+ }
54
+ ],
55
+ "optionalInputMode": "gen_placeholder",
56
+ "optionalOutputMode": "gen_placeholder",
57
+ "compileInfo": {},
58
+ "supportInfo": {
59
+ "implMode": "high_performance",
60
+ "int64Mode": false,
61
+ "simplifiedKeyMode": 0,
62
+ "simplifiedKey": [
63
+ "PromptKvCache/d=0,p=1/7,2/7,2/9,2/9,2/9,2/9,2/9,2/7,2",
64
+ "PromptKvCache/d=0,p=0/7,2/7,2/9,2/9,2/9,2/9,2/9,2/7,2",
65
+ "PromptKvCache/d=1,p=1/7,2/7,2/9,2/9,2/9,2/9,2/9,2/7,2",
66
+ "PromptKvCache/d=1,p=0/7,2/7,2/9,2/9,2/9,2/9,2/9,2/7,2"
67
+ ],
68
+ "optionalInputMode": "gen_placeholder",
69
+ "optionalOutputMode": "gen_placeholder",
70
+ "staticKey": "579237385a964bada8a617527b726bf4b371f37aedcd5f85e7706c67a0362ae6,d53e39ec83fca93fe8939b3dd91ac407f71aa776a24f0f34ab1248434e08b868",
71
+ "inputs": [
72
+ {
73
+ "name": "cache",
74
+ "index": 0,
75
+ "dtype": "uint16",
76
+ "format": "ND",
77
+ "paramType": "required",
78
+ "shape": [
79
+ -2
80
+ ],
81
+ "format_match_mode": "FormatAgnostic"
82
+ },
83
+ {
84
+ "name": "update",
85
+ "index": 1,
86
+ "dtype": "uint16",
87
+ "format": "ND",
88
+ "paramType": "required",
89
+ "shape": [
90
+ -2
91
+ ],
92
+ "format_match_mode": "FormatAgnostic"
93
+ },
94
+ {
95
+ "name": "valid_seq_len",
96
+ "index": 2,
97
+ "dtype": "int64",
98
+ "format": "ND",
99
+ "paramType": "required",
100
+ "shape": [
101
+ -2
102
+ ],
103
+ "format_match_mode": "FormatAgnostic"
104
+ },
105
+ {
106
+ "name": "batch_index",
107
+ "index": 3,
108
+ "dtype": "int64",
109
+ "format": "ND",
110
+ "paramType": "required",
111
+ "shape": [
112
+ -2
113
+ ],
114
+ "format_match_mode": "FormatAgnostic"
115
+ },
116
+ {
117
+ "name": "seq_len_axis",
118
+ "index": 4,
119
+ "dtype": "int64",
120
+ "format": "ND",
121
+ "paramType": "required",
122
+ "shape": [
123
+ -2
124
+ ],
125
+ "format_match_mode": "FormatAgnostic"
126
+ },
127
+ {
128
+ "name": "new_max_seq_len",
129
+ "index": 5,
130
+ "dtype": "int64",
131
+ "format": "ND",
132
+ "paramType": "required",
133
+ "shape": [
134
+ -2
135
+ ],
136
+ "format_match_mode": "FormatAgnostic"
137
+ },
138
+ {
139
+ "name": "cur_max_seq_len",
140
+ "index": 6,
141
+ "dtype": "int64",
142
+ "format": "ND",
143
+ "paramType": "required",
144
+ "shape": [
145
+ -2
146
+ ],
147
+ "format_match_mode": "FormatAgnostic"
148
+ }
149
+ ],
150
+ "outputs": [
151
+ {
152
+ "name": "out",
153
+ "index": 0,
154
+ "dtype": "uint16",
155
+ "format": "ND",
156
+ "paramType": "required",
157
+ "shape": [
158
+ -2
159
+ ],
160
+ "format_match_mode": "FormatAgnostic"
161
+ }
162
+ ],
163
+ "opMode": "dynamic",
164
+ "deterministic": "ignore"
165
+ },
166
+ "filePath": "ascend910/bin/prompt_kv_cache/PromptKvCache_09f22d898d6358c91e7c4fc48bac48e7.json"
167
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "binFileName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061",
3
+ "binFileSuffix": ".o",
4
+ "blockDim": -1,
5
+ "coreType": "AiCore",
6
+ "globalworkspace_spec_workspace": {
7
+ "size": 32,
8
+ "type": 0
9
+ },
10
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061",
11
+ "magic": "RT_DEV_BINARY_MAGIC_ELF",
12
+ "memoryStamping": [],
13
+ "opParaSize": 104,
14
+ "parameters": [
15
+ null,
16
+ null,
17
+ null,
18
+ null,
19
+ null,
20
+ null,
21
+ null,
22
+ null,
23
+ null
24
+ ],
25
+ "sha256": "767f251d086ecf564b0a00918da91d816b0566ee7b6d5baaf54663c8c9ed251e",
26
+ "workspace": {
27
+ "num": 1,
28
+ "size": [
29
+ -1
30
+ ],
31
+ "type": [
32
+ 0
33
+ ]
34
+ },
35
+ "kernelList": [
36
+ {
37
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061_1"
38
+ },
39
+ {
40
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061_2"
41
+ },
42
+ {
43
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061_4"
44
+ },
45
+ {
46
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061_10"
47
+ },
48
+ {
49
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061_20"
50
+ },
51
+ {
52
+ "kernelName": "PromptKvCache_0cb9a6f894b925250227136e5aab7061_40"
53
+ }
54
+ ],
55
+ "optionalInputMode": "gen_placeholder",
56
+ "optionalOutputMode": "gen_placeholder",
57
+ "compileInfo": {},
58
+ "supportInfo": {
59
+ "implMode": "high_performance",
60
+ "int64Mode": false,
61
+ "simplifiedKeyMode": 0,
62
+ "simplifiedKey": [
63
+ "PromptKvCache/d=0,p=1/2,2/2,2/9,2/9,2/9,2/9,2/9,2/2,2",
64
+ "PromptKvCache/d=0,p=0/2,2/2,2/9,2/9,2/9,2/9,2/9,2/2,2",
65
+ "PromptKvCache/d=1,p=1/2,2/2,2/9,2/9,2/9,2/9,2/9,2/2,2",
66
+ "PromptKvCache/d=1,p=0/2,2/2,2/9,2/9,2/9,2/9,2/9,2/2,2"
67
+ ],
68
+ "optionalInputMode": "gen_placeholder",
69
+ "optionalOutputMode": "gen_placeholder",
70
+ "staticKey": "dafbaa7729ee57d9bd826dd6d7f52da2d65774c338c69121d56f550a80b273d8,019e97b8cf077e7059fd496cdbabfa941b786d929b510dac7f0080899bbaf716",
71
+ "inputs": [
72
+ {
73
+ "name": "cache",
74
+ "index": 0,
75
+ "dtype": "int8",
76
+ "format": "ND",
77
+ "paramType": "required",
78
+ "shape": [
79
+ -2
80
+ ],
81
+ "format_match_mode": "FormatAgnostic"
82
+ },
83
+ {
84
+ "name": "update",
85
+ "index": 1,
86
+ "dtype": "int8",
87
+ "format": "ND",
88
+ "paramType": "required",
89
+ "shape": [
90
+ -2
91
+ ],
92
+ "format_match_mode": "FormatAgnostic"
93
+ },
94
+ {
95
+ "name": "valid_seq_len",
96
+ "index": 2,
97
+ "dtype": "int64",
98
+ "format": "ND",
99
+ "paramType": "required",
100
+ "shape": [
101
+ -2
102
+ ],
103
+ "format_match_mode": "FormatAgnostic"
104
+ },
105
+ {
106
+ "name": "batch_index",
107
+ "index": 3,
108
+ "dtype": "int64",
109
+ "format": "ND",
110
+ "paramType": "required",
111
+ "shape": [
112
+ -2
113
+ ],
114
+ "format_match_mode": "FormatAgnostic"
115
+ },
116
+ {
117
+ "name": "seq_len_axis",
118
+ "index": 4,
119
+ "dtype": "int64",
120
+ "format": "ND",
121
+ "paramType": "required",
122
+ "shape": [
123
+ -2
124
+ ],
125
+ "format_match_mode": "FormatAgnostic"
126
+ },
127
+ {
128
+ "name": "new_max_seq_len",
129
+ "index": 5,
130
+ "dtype": "int64",
131
+ "format": "ND",
132
+ "paramType": "required",
133
+ "shape": [
134
+ -2
135
+ ],
136
+ "format_match_mode": "FormatAgnostic"
137
+ },
138
+ {
139
+ "name": "cur_max_seq_len",
140
+ "index": 6,
141
+ "dtype": "int64",
142
+ "format": "ND",
143
+ "paramType": "required",
144
+ "shape": [
145
+ -2
146
+ ],
147
+ "format_match_mode": "FormatAgnostic"
148
+ }
149
+ ],
150
+ "outputs": [
151
+ {
152
+ "name": "out",
153
+ "index": 0,
154
+ "dtype": "int8",
155
+ "format": "ND",
156
+ "paramType": "required",
157
+ "shape": [
158
+ -2
159
+ ],
160
+ "format_match_mode": "FormatAgnostic"
161
+ }
162
+ ],
163
+ "opMode": "dynamic",
164
+ "deterministic": "ignore"
165
+ },
166
+ "filePath": "ascend910/bin/prompt_kv_cache/PromptKvCache_0cb9a6f894b925250227136e5aab7061.json"
167
+ }