Skip to content

Commit

Permalink
[Doc](mlu-ops): update release note (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrelYy authored Mar 29, 2024
1 parent b9f2d33 commit 0d745d4
Show file tree
Hide file tree
Showing 11 changed files with 102 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mluops_all_system_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mluops_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.property
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
24 changes: 24 additions & 0 deletions docs/api_guide/update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions docs/release_notes/mlu_ops.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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
-----------------

Expand Down
12 changes: 12 additions & 0 deletions docs/user_guide/2_update_history/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
更新历史
========

* **V1.1.0**

**更新时间**:2024年3月28日

**更新内容**:

- 新增以下算子章节内容

+ :ref:`adam_w`
+ :ref:`exec_fft`


* **V1.0.0**

**更新时间**:2024年2月6日
Expand Down
11 changes: 10 additions & 1 deletion docs/user_guide/9_operators/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ mluOpAbs
- ``i`` 表示一个多元组的索引,例如在4维时可以表示(n,c,h,w)。
- ``xi`` 和 ``yi`` 表示多元组中 ``i`` 索引处的元素。


.. _adam_w:

mluOpAdamW
------------
该算子是一种自适应学习率优化算法,是对 Adam 算法的一个改进版本,它主要是为了解决 Adam 算法中的权重衰减问题。
该算子引入了一种新的权重衰减方式,将权重衰减添加到损失函数中,提高了优化器的性能和稳定性。


.. _active_rotated_filter_forward:

mluOpActiveRotatedFilterForward
Expand Down Expand Up @@ -730,7 +739,7 @@ mluOpSyncBatchNormBackwardElemt
---------------------------------
该算子用来计算输入的梯度,与 :ref:`sync_batchnorm_backward_reduce` 共同实现了sync_batchnorm_backward。

.. _execFFT:
.. _exec_fft:

mluOpExecFFT
---------------
Expand Down
4 changes: 3 additions & 1 deletion installer/centos7.5/SPECS/mluops-independent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 <[email protected]>
- release mluops v1.1.0
* Tue Feb 6 2024 Cambricon Software Team <[email protected]>
- release mluops v1.0.0
* Mon Dec 18 2023 Cambricon Software Team <[email protected]>
Expand Down
18 changes: 18 additions & 0 deletions installer/independent/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
mluops (1.1.0-1.ubuntu16.04) xenial; urgency=medium

* Release mluops v1.1.0

-- Cambricon <[email protected]> Thu, 28 March 2024 00:00:00 +0100

mluops (1.0.0-1.ubuntu16.04) xenial; urgency=medium

* Release mluops v1.0.0

-- Cambricon <[email protected]> Tue, 6 Feb 2024 00:00:00 +0100

mluops (0.11.0-1.ubuntu16.04) xenial; urgency=medium

* Release mluops v0.11.0

-- Cambricon <[email protected]> Mon, 18 Dec 2023 00:00:00 +0100

mluops (0.10.0-1.ubuntu16.04) xenial; urgency=medium

* Release mluops v0.10.0
Expand Down
2 changes: 1 addition & 1 deletion mlu_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
******************************************************************************/

#define MLUOP_MAJOR 1
#define MLUOP_MINOR 0
#define MLUOP_MINOR 1
#define MLUOP_PATCHLEVEL 0

/*********************************************************************************
Expand Down

0 comments on commit 0d745d4

Please sign in to comment.