From 0d745d42d2be3f8896929a42b4a5ee5e69236622 Mon Sep 17 00:00:00 2001 From: PetrelYy <92866578+PetrelYy@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:00:57 +0800 Subject: [PATCH] [Doc](mlu-ops): update release note (#980) --- .github/workflows/daily.yaml | 2 +- .github/workflows/mluops_all_system_ci.yaml | 2 +- .github/workflows/mluops_ci.yaml | 2 +- build.property | 2 +- docs/api_guide/update.rst | 24 +++++++++++++++ docs/release_notes/mlu_ops.rst | 30 +++++++++++++++++++ docs/user_guide/2_update_history/index.rst | 12 ++++++++ docs/user_guide/9_operators/index.rst | 11 ++++++- .../centos7.5/SPECS/mluops-independent.spec | 4 ++- installer/independent/debian/changelog | 18 +++++++++++ mlu_op.h | 2 +- 11 files changed, 102 insertions(+), 7 deletions(-) diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index 4e7082aac..5f5d89bff 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: runner: [mlu370-m8] - mlu_ops_version : [1.0.0] + mlu_ops_version : [1.1.0] cntoolkit_version : [3.8.4] cnnl_version: [1.23.2] runs-on: ${{matrix.runner}} diff --git a/.github/workflows/mluops_all_system_ci.yaml b/.github/workflows/mluops_all_system_ci.yaml index 1ac4a8e05..233d90e0c 100644 --- a/.github/workflows/mluops_all_system_ci.yaml +++ b/.github/workflows/mluops_all_system_ci.yaml @@ -30,7 +30,7 @@ jobs: strategy: matrix: runner: [mlu370-m8] - mlu_ops_version : [1.0.0] + mlu_ops_version : [1.1.0] cntoolkit_version : [3.8.4] cnnl_version: [1.23.2] os: [ubuntu20.04, centos7, centos8, kylin10] diff --git a/.github/workflows/mluops_ci.yaml b/.github/workflows/mluops_ci.yaml index acb50f85e..46f2976c2 100644 --- a/.github/workflows/mluops_ci.yaml +++ b/.github/workflows/mluops_ci.yaml @@ -39,7 +39,7 @@ jobs: strategy: matrix: runner: [mlu370-m8] - mlu_ops_version : [v1.0.0] + mlu_ops_version : [v1.1.0] runs-on: [yellow] steps: - uses: actions/checkout@v3 diff --git a/build.property b/build.property index 9f0bde7da..48267c8a6 100644 --- a/build.property +++ b/build.property @@ -1,5 +1,5 @@ { - "version": "1.0.0-1", + "version": "1.1.0-1", "python": "3.6.0", "build_requires": {"cntoolkit": ["release","3.8.4-1"], "cnnl":["release","1.23.2-1"], diff --git a/docs/api_guide/update.rst b/docs/api_guide/update.rst index 6966229df..23a60fb83 100755 --- a/docs/api_guide/update.rst +++ b/docs/api_guide/update.rst @@ -3,6 +3,30 @@ Update History This section lists contents that were made for each product release. +* V1.1.0 + + **Date:** March 28, 2024 + + **Changes:** + + - Added the following new operations: + + - ``adam_w`` + + - mluOpAdamW + - mluOpCreateAdamWDescriptor + - mluOpSetAdamWDescAttr + - mluOpDestroyAdamWDescriptor + + - ``exec_fft`` + + - mluOpExecFFT + - mluOpCreateFFTPlan + - mluOpDestroyFFTPlan + - mluOpSetFFTReserveArea + - mluOpMakeFFTPlanMany + + * V1.0.0 **Date:** February 6, 2024 diff --git a/docs/release_notes/mlu_ops.rst b/docs/release_notes/mlu_ops.rst index d2d07906c..636cafae9 100644 --- a/docs/release_notes/mlu_ops.rst +++ b/docs/release_notes/mlu_ops.rst @@ -20,6 +20,10 @@ Cambricon MLU-OPS具有以下特点: +-----------------------------+-----------------------------+ | Cambricon MLU-OPS 版本 | 依赖组件版本 | +=============================+=============================+ + | Cambricon MLU-OPS v1.1.z | CNToolkit >= v3.8.4 | + | +-----------------------------+ + | | CNNL >= v1.23.2 | + +-----------------------------+-----------------------------+ | Cambricon MLU-OPS v1.0.z | CNToolkit >= v3.8.4 | | +-----------------------------+ | | CNNL >= v1.23.2 | @@ -36,10 +40,36 @@ Cambricon MLU-OPS具有以下特点: +-----------------------------+------------------------+--------------------------------+ | Cambricon MLU-OPS 版本 | 支持的CPU架构 | 支持的MLU架构 | +=============================+========================+================================+ + | Cambricon MLU-OPS v1.1.z | x86_64 | MLU370 | + +-----------------------------+------------------------+--------------------------------+ | Cambricon MLU-OPS v1.0.z | x86_64 | MLU370 | +-----------------------------+------------------------+--------------------------------+ +v1.1.0 +----------------- + +特性变更 +~~~~~~~~~~~~~~~~~~~~~ + +- 新增以下算子接口: + + * ``adam_w`` + + + mluOpAdamW + + mluOpCreateAdamWDescriptor + + mluOpSetAdamWDescAttr + + mluOpDestroyAdamWDescriptor + + * ``exec_fft`` + + + mluOpExecFFT + + mluOpCreateFFTPlan + + mluOpDestroyFFTPlan + + mluOpSetFFTReserveArea + + mluOpMakeFFTPlanMany + + v1.0.0 ----------------- diff --git a/docs/user_guide/2_update_history/index.rst b/docs/user_guide/2_update_history/index.rst index fbb3c82c5..cefdf27b2 100644 --- a/docs/user_guide/2_update_history/index.rst +++ b/docs/user_guide/2_update_history/index.rst @@ -1,6 +1,18 @@ 更新历史 ======== +* **V1.1.0** + + **更新时间**:2024年3月28日 + + **更新内容**: + + - 新增以下算子章节内容 + + + :ref:`adam_w` + + :ref:`exec_fft` + + * **V1.0.0** **更新时间**:2024年2月6日 diff --git a/docs/user_guide/9_operators/index.rst b/docs/user_guide/9_operators/index.rst index 8102f26c6..bf9b37a28 100755 --- a/docs/user_guide/9_operators/index.rst +++ b/docs/user_guide/9_operators/index.rst @@ -21,6 +21,15 @@ mluOpAbs - ``i`` 表示一个多元组的索引,例如在4维时可以表示(n,c,h,w)。 - ``xi`` 和 ``yi`` 表示多元组中 ``i`` 索引处的元素。 + +.. _adam_w: + +mluOpAdamW +------------ +该算子是一种自适应学习率优化算法,是对 Adam 算法的一个改进版本,它主要是为了解决 Adam 算法中的权重衰减问题。 +该算子引入了一种新的权重衰减方式,将权重衰减添加到损失函数中,提高了优化器的性能和稳定性。 + + .. _active_rotated_filter_forward: mluOpActiveRotatedFilterForward @@ -730,7 +739,7 @@ mluOpSyncBatchNormBackwardElemt --------------------------------- 该算子用来计算输入的梯度,与 :ref:`sync_batchnorm_backward_reduce` 共同实现了sync_batchnorm_backward。 -.. _execFFT: +.. _exec_fft: mluOpExecFFT --------------- diff --git a/installer/centos7.5/SPECS/mluops-independent.spec b/installer/centos7.5/SPECS/mluops-independent.spec index 60a934919..770135164 100644 --- a/installer/centos7.5/SPECS/mluops-independent.spec +++ b/installer/centos7.5/SPECS/mluops-independent.spec @@ -5,7 +5,7 @@ Name: mluops Summary: The Machine Lerning Unit OPerators -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist} License: Cambricon Release License Vendor: Cambricon Inc. @@ -71,6 +71,8 @@ cp $RPM_SOURCE_DIR/neuware-env.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/ %postun -p /sbin/ldconfig %changelog +* Thu Mar 28 2024 Cambricon Software Team +- release mluops v1.1.0 * Tue Feb 6 2024 Cambricon Software Team - release mluops v1.0.0 * Mon Dec 18 2023 Cambricon Software Team diff --git a/installer/independent/debian/changelog b/installer/independent/debian/changelog index 374c11882..458f08e3e 100644 --- a/installer/independent/debian/changelog +++ b/installer/independent/debian/changelog @@ -1,3 +1,21 @@ +mluops (1.1.0-1.ubuntu16.04) xenial; urgency=medium + + * Release mluops v1.1.0 + + -- Cambricon Thu, 28 March 2024 00:00:00 +0100 + +mluops (1.0.0-1.ubuntu16.04) xenial; urgency=medium + + * Release mluops v1.0.0 + + -- Cambricon Tue, 6 Feb 2024 00:00:00 +0100 + +mluops (0.11.0-1.ubuntu16.04) xenial; urgency=medium + + * Release mluops v0.11.0 + + -- Cambricon Mon, 18 Dec 2023 00:00:00 +0100 + mluops (0.10.0-1.ubuntu16.04) xenial; urgency=medium * Release mluops v0.10.0 diff --git a/mlu_op.h b/mlu_op.h index e98b692a2..0e64d0f5a 100644 --- a/mlu_op.h +++ b/mlu_op.h @@ -28,7 +28,7 @@ ******************************************************************************/ #define MLUOP_MAJOR 1 -#define MLUOP_MINOR 0 +#define MLUOP_MINOR 1 #define MLUOP_PATCHLEVEL 0 /*********************************************************************************