Skip to content

Releases: oneapi-src/oneDNN

v2.7.1

21 Oct 22:48
Compare
Choose a tag to compare

This is a patch release containing the following changes to v2.7:

  • Fixed performance regression for batch normalization primitive in TBB and threadpool configurations (cd953e4)
  • Improved grouped convolution performance on Xe Architecture GPUs (d7a781e, cb1f3fe, 4e84474, 7ba3c40)
  • Fixed runtime error in int8 reorder on Intel GPUs (53532a9)
  • Reverted MEMFD allocator in Xbyak to avoid segfaults in high load scenarios (3e29ae2)
  • Fixed a defect with incorrect caching of BRGEMM-based matmul primitive implementations with trivial dimensions (87cd979)
  • Improved depthwise convolution performance with per-tensor binary post-ops for Intel CPUs (f430a5a)
  • Extended threadpool API to manage maximum concurrency (8a1e959, 64e5594)
  • Fixed potential integer overflow in BRGEMM-based convolution implementation (25ccee3)
  • Fixed performance regression in concat primitive with any format on Intel CPUs (2a60ade, feb614d)
  • Fixed compile-time warnings in matmul_perf example (b5faa77)
  • Fixed 'insufficient registers in requested bundle' runtime error in convolution primitive on Xe Architecture GPUs (4c9d46a)
  • Addressed performance regression for certain convolution cases on Xe Architecture GPUs (f28b58a, 18764fb)
  • Added support for Intel DPC++/C++ Compiler 2023 (c3781c6, a1a8952, 9bc87e6, e3b1987)
  • Fixed int8 matmul and inner product performance regression on Xe Architecture GPUs (3693fbf, c8adc17)
  • Fixed accuracy issue for convolution, inner product and matmul primitives with tanh post-op on Xe Architecture GPUs (88b4e57, 83ce6d2, 6224dc6, 10f0d0a)
  • Suppressed spurious build warnings with GCC 11 (44255a8)

v2.6.3

21 Oct 19:37
Compare
Choose a tag to compare

This is a patch release containing the following changes to v2.6.2:

  • Fixed potential integer overflow in BRGEMM-based convolution implementation (deb5595)
  • Fixed a defect with incorrect caching of BRGEMM-based matmul primitive implementations with trivial dimensions (305bed5)
  • Extended benchdnn performance benchmarking capabilities on GPU with device-side performance measurement mode (ba86325)
  • Fixed segfault in pooling primitive on CPUs (689d874)

graph-v0.7

14 Oct 20:21
Compare
Choose a tag to compare
graph-v0.7 Pre-release
Pre-release

This is the Beta Update release for oneDNN Graph API based on oneDNN v2.7 release.

Functionality

  • Added operations Select, LogicalAnd, LogicalOr, LogicalXor, LogicalNot, Greater, GreaterEqual, Equal, NoeEqual, Less, and LessEqual.
  • Added boolean data type to support logical operations.
  • Added support for passing compilation context to the compile API. This feature allows passing additional information, like tensor shape context, for the backend to generate better kernel code.
  • Introduced convolution block fusion via oneDNN Graph Compiler.
  • Experimental: Introduced dynamic shapes support for multi-level perceptron (MLP) block via oneDNN Graph Compiler.

Known Issues and Limitations

  • The weight’s opaque layout can be queried only from a compiled partition, which requires that input tensor shapes must be known at compilation time.
  • MHA and MLP fusion are not activated on machines without Intel AVX-512 support.

Thanks to the Contributors

This release contains contributions from the project core teams as well as Jiong Gong, Chunyuan Wu, Sanchit Jain, Yiqiang Li, Yunfei Mao, Kiefer Kuah and others.

graph-v0.6

14 Oct 15:05
Compare
Choose a tag to compare
graph-v0.6 Pre-release
Pre-release

This is the Beta release for oneDNN Graph based on oneDNN v2.7 release.

Functionality

  • Introduced FP32, BF16, FP16, and INT8 inference support on GPU.
  • Introduced FP32 and BF16 training support on GPU.
  • Introduced support for floating point math mode at graph construction phase. The mode allows the implementation to use low precision datatype for computations when possible.
  • Added graph::finalize() function to indicate that the user has finished adding operations into the graph and the graph is ready for partitioning.
  • Added operations AbsBackprop, Mish, MishBackprop, and LeakyReLU.
  • Updated API and operation definitions to comply with oneDNN Graph Specification 1.0-beta.

Usability

  • Integrated Graph component headers, source and build system into oneDNN:
    • Headers moved to include/oneapi/dnnl.
    • Source moved to src/graph.
    • Graph functionality is included into single shared object or dynamic library produced by the build system.
  • Aligned API with oneDNN:
    • Shared common dnnl::engine and dnnl::stream. The original dnnl::graph::engine and dnnl::graph::stream API were removed.
    • Added a new make_engine_with_allocator() API to create dnnl::engine with dnnl::graph::allocator.
    • A few common basic types were shared between oneDNN and oneDNN Graph, including dnnl_status_t, dnnl_data_type_t, and dnnl_dims_t, etc.
  • Introduced ONEDNN_BUILD_GRAPH build option to manage Graph component build.

Validation

  • Introduced ONEDNN_GRAPH_DUMP environment variable that serialized library graph and subgraph into JSON files.
  • Added the initial version of benchdnn graph driver which can be used to benchmark the performance with a dumped graph JSON file.

Breaking changes

  • Removed operations HardTanh, Index, Pow, etc. Please check the operation kind list for details.

Known Issues and Limitations

  • Graph Compiler component is not included with this release. It will be reinstated in oneDNN Graph Beta Update release.
  • The weight’s opaque layout can be queried only from a compiled partition, which requires that input tensor shapes must be known at compilation time.
  • Build option ONEDNN_BUILD_GRAPH is not compatible with some of the build options supported by the build system including ONEDNN_GPU_RUNTIME=OCL, ONEDNN_ENABLE_WORKLOAD=INFERENCE, ONEDNN_ENABLE_PRIMITIVE, and others.

Thanks to the Contributors

This release contains contributions from the project core teams as well as Jiong Gong, Chunyuan Wu, Sanchit Jain, Yiqiang Li, Yunfei Mao, Kiefer Kuah and others.

v2.7

27 Sep 22:17
Compare
Choose a tag to compare

Performance Optimizations

  • Intel Architecture Processors
    • Improved performance for future Intel Xeon Scalable processors (code name Sapphire Rapids).
    • Introduced performance optimizations for bf16 floating point math mode on Intel Xeon Scalable processors (code name Sapphire Rapids). The bf16 math mode allows oneDNN to use bf16 arithmetic and Intel AMX instructions in computations on fp32 data.
  • Intel Graphics Products
    • Improved performance for future Xe Architecture graphics (code name Ponte Vecchio).
    • Introduced performance optimizations for tf32 floating point math mode on future Xe Architecture graphics (code name Ponte Vecchio). The tf32 math mode allows oneDNN to use tf32 arithmetic in computations on fp32 data.
    • Improved performance for Intel Arc graphics (formerly Alchemist and DG2) and Intel Data Center GPU Flex Series (formerly Arctic Sound-M)
  • AArch64-based Processors
    • Improved convolution and binary primitive performance for processors with SVE 512 support.
    • Improved shuffle and eltwise primitives performance for processors with SVE 256 and SVE 128 support.
    • Improved PReLU, batch normalization, and pooling primitives performance via Compute Library for the Arm Architecture (ACL).
    • Improved performance of inner product, matmul, convolution, and batch norm primitives with post-ops via ACL.
  • PowerPC64-based Processors
    • Introduced performance optimizations for int8 and bfloat16 GEMM.

Functionality

  • Introduced runtime output scales support in all primitives.
  • Introduced scales support in concat primitive.
  • Extended floating point math mode API with tf32 data type option.
  • Extended eltwise primitive with support for hardsigmoid algorithm.
  • Extended layer normalization primitive with support for mixed source and destination data types.
  • Extended depthwise post-op with support for arbitrary padding size. The implementation is available only on Intel processors.
  • Added limited fp64 data type support in convolution primitive. Optimized implementation is available for future Xe Architecture graphics (code name Ponte Vecchio).
  • Extended int8 convolution and deconvolution implementations on GPUs with arbitrary destination data type support.
  • Extended batch normalization primitive with dnnl_fuse_norm_add_relu flag that allows to fuse sum and relu operations. The implementation is available for Intel GPUs.
  • Extended GPU deconvolution primitive implementation with support for output scales and zero points.
  • Introduced threadpool threading support for AArch64-based processors.
  • Introduced Unified Shared Memory (USM) support for SYCL backend on NVIDIA GPUs.
  • Introduced initial support for AMD GPUs via MIOpen library. Supported primitives include Local Response Normalization (LRN), softmax, and eltwise.

Usability

  • Added matmul_perf example that benchmarks matmul primitive for all supported data types.
  • Introduced annotations for JIT kernels to allow profilers like Linux perf to correctly label JIT code.
  • Extended verbose logs converter with RNN primitive support.
  • Added verbose output for dnnl_*gemm* calls.
  • Removed Level Zero headers from the list of build time dependencies.
  • Adjusted NVIDIA GPU implementation to comply with oneDNN numerical behavior. Implicit downconvert to fp16 and tf32 are now managed via math mode API.

Validation

  • Added benchdnn driver for validation of internal BRGEMM implementation.
  • Improved benchdnn reference implementation performance with threadpool threading model.
  • Extended benchdnn performance benchmarking capabilities on GPU with device-side performance measurement mode (mode=po).

Deprecated Functionality

  • Support for SYCL 1.2.1 (aka SYCL 2017 standard) is deprecated and will be removed in the future releases.
  • Static output scales are deprecated and will be removed in the next release.
  • Convolution Winograd algorithm implementation for int8 data type is deprecated and will be removed in the next release.

Breaking Changes

  • Changed formula for AUGRU RNN cell to align with Tensorflow. See proposal for details.

Thanks to the Contributors

This release contains contributions from the project core team as well as Aidan Belton @AidanBeltonS, @akshatasangelkar, Alex Bojan @lb991, Crefeda Rodrigues @cfRod, Damian Szwichtenberg @dszwicht, Diana Bite @diaena, Divakar Mariyanna @bmdivakar, Emilio Cota @cota, Gordon Fossum @austinpagan, Hugh Delaney @hdelan, Jacek Czaja @jczaja, @jakpiase, Jonathan Deakin @jondea, Kentaro Kawakami @kawakami-k, Kotha Sowmya @Sowmyakotha1999, Louie Tsai @louie-tsai, Mark Ryan @markdryan, MITSUNARI Shigeo @herumi, Mona Minakshi @monaminakshi, @NaNAGISaSA, Nathan John Sircombe @nSircombe, Peter Caday @petercad, @pgorlani, Sreekanth Yalachigere @sreekanth-yalachigere, Tadej Ciglarič @t4c1, and Thiago Macieira @thiagomacieira. We would also like to thank everyone who asked questions and reported issues.

v2.7-rc

16 Sep 17:31
Compare
Choose a tag to compare
v2.7-rc Pre-release
Pre-release

This is a release candidate for oneDNN v2.7. Please provide feedback and submit defect reports via Github issues.

Performance Optimizations

  • Intel Architecture Processors
    • Improved performance for future Intel Xeon Scalable processors (code name Sapphire Rapids).
    • Introduced performance optimizations for bf16 floating point math mode on Intel Xeon Scalable processors (code name Sapphire Rapids). The bf16 math mode allows oneDNN to use bf16 arithmetic and Intel AMX instructions in computations on fp32 data.
  • Intel Graphics Products
    • Improved performance for future Xe Architecture graphics (code name Ponte Vecchio).
    • Introduced performance optimizations for tf32 floating point math mode on future Xe Architecture graphics (code name Ponte Vecchio). The tf32 math mode allows oneDNN to use tf32 arithmetic in computations on fp32 data.
    • Improved performance for Intel Arc graphics (formerly Alchemist and DG2) and Intel Data Center GPU Flex Series (formerly Arctic Sound-M)
  • AArch64-based Processors
    • Improved convolution and binary primitive performance for processors with SVE 512 support.
    • Improved eltwise and shuffle primitives performance for processors with SVE 256 and SVE 128 support.
    • Improved PReLU, batch normalization, and pooling primitives performance via Compute Library for the Arm Architecture (ACL).
    • Improved performance of inner product, matmul, convolution, and batch norm primitives with post-ops via ACL.
  • PowerPC64-based Processors
    • Introduced performance optimizations for int8 and bfloat16 GEMM.

Functionality

  • Introduced runtime output scales support in all primitives.
  • Introduced scales support in concat primitive.
  • Extended floating point math mode API with tf32 data type option.
  • Extended eltwise primitive with support for hardsigmoid algorithm.
  • Extended layer normalization primitive with support for mixed source and destination data types.
  • Extended depthwise post-op with support for arbitrary padding size. The implementation is available only on Intel processors.
  • Added limited fp64 data type support in convolution primitive. Optimized implementation is available for future Xe Architecture graphics (code name Ponte Vecchio).
  • Extended int8 convolution and deconvolution implementations on GPUs with arbitrary destination data type support.
  • Extended batch normalization primitive with dnnl_fuse_norm_add_relu flag that allows to fuse sum and relu operations. The implementation is available for Intel GPUs.
  • Extended GPU deconvolution primitive implementation with support for output scales and zero points.
  • Introduced threadpool threading support for AArch64-based processors.
  • Introduced Unified Shared Memory (USM) support for SYCL backend on NVIDIA GPUs.
  • Introduced initial support for AMD GPUs via MIOpen library. Supported primitives include Local Response Normalization (LRN), softmax, and eltwise.

Usability

  • Introduced annotations for JIT kernels to allow profilers like Linux perf to correctly label JIT code.
  • Extended verbose logs converter with RNN primitive support.
  • Added verbose output for dnnl_*gemm* calls.
  • Removed Level Zero headers from the list of build time dependencies.
  • Adjusted NVIDIA GPU implementation to comply with oneDNN numerical behavior. Implicit downconvert to fp16 and tf32 are now managed via math mode API.

Validation

  • Added benchdnn driver for validation of internal BRGEMM implementation.
  • Improved benchdnn reference implementation performance with threadpool threading model.
  • Extended benchdnn performance benchmarking capabilities on GPU with device-side performance measurement mode (mode=po).

Deprecated Functionality

  • Support for SYCL 1.2.1 (aka SYCL 2017 standard) is deprecated and will be removed in the future releases.
  • Static output scales are deprecated and will be removed in the next release.
  • Convolution Winograd algorithm implementation for int8 data type is deprecated and will be removed in the next release.

Breaking Changes

  • Changed formula for AUGRU RNN cell to align with Tensorflow. See proposal for details.

Thanks to the Contributors

This release contains contributions from the project core team as well as Aidan Belton @AidanBeltonS, @akshatasangelkar, Alex Bojan @lb991, Crefeda Rodrigues @cfRod, Damian Szwichtenberg @dszwicht, Diana Bite @diaena, Divakar Mariyanna @bmdivakar, Emilio Cota @cota, Gordon Fossum @austinpagan, Hugh Delaney @hdelan, Jacek Czaja @jczaja, @jakpiase, Jonathan Deakin @jondea, Kentaro Kawakami @kawakami-k, Kotha Sowmya @Sowmyakotha1999, Louie Tsai @louie-tsai, Mark Ryan @markdryan, MITSUNARI Shigeo @herumi, Mona Minakshi @monaminakshi, @NaNAGISaSA, Nathan John Sircombe @nSircombe, Peter Caday @petercad, @pgorlani, Sreekanth Yalachigere @sreekanth-yalachigere, Tadej Ciglarič @t4c1, and Thiago Macieira @thiagomacieira. We would also like to thank everyone who asked questions and reported issues.

v2.6.2

09 Sep 22:36
Compare
Choose a tag to compare

This is a patch release containing the following changes to v2.6.1:

  • Removed unused variables (2500b0f, b4e0032)
  • Fixed correctness issue in fp32 convolution implementation for cases with large spatial size (207af06)
  • Fixed correctness issue in bfloat16 matmul implementation for processors with Intel AMX support (404b762)
  • Fixed correctness issue in int8 reorder implementation with zero points (b340cba)
  • Improved int8 matmul and inner product primitives performance with small matrices for processors with Intel AMX support (73b7572, 58b386a)
  • Improved int8 convolution performance for processors with Intel DL Boost support (f35a62f)
  • Aligned AUGRU formula with Tensorflow definition (e47c6c5, 4ba0a57, b311e24)
  • Suppressed 'unvectorized loop' warning for Intel C/C++ Compiler (3932d04)

graph-v0.5.2

12 Aug 20:38
Compare
Choose a tag to compare
graph-v0.5.2 Pre-release
Pre-release

This is a patch release containing the following changes to graph-v0.5.1:

  • Deprecated quantized ReLU fusion patterns (85405a9)

v2.6.1

12 Jul 22:20
Compare
Choose a tag to compare

This is a patch release containing the following changes to v2.6:

  • Extended depthwise convolution post-op with support for arbitrary filter size, stride, and padding (79b019b)
  • Improved GEMM performance with threadpool threading on system with Intel AVX2 instruction set (2be0060)
  • Fixed runtime error in GPU reduction primitive for specific tensor sizes (efbf9b5)
  • Improved convolution performance on GPUs with Xe-HPG IP (f8de0c9, c1fb8ac)
  • Updated ITT API to 3.22.5 (9b18676)
  • Fixed correctness issues in reorder implementation for non-x64 systems (9961b86, 1020631, 8b960df, ef1d9fa, 8edd859, 39edcf6, 3e0a0d9, 1dff625, 8661958)
  • Fixed handling on inf and -inf values in eltwise log algorithm (732cbdd, 3fd0f2e)
  • Improved depthwise convolution performance on GPUs with Xe-HPG IP (7a6fe1d)
  • Addressed fails in test_isa_hints gtest on GPUs (78c1c68)
  • Fixed issues with bfloat16 GEMM producing NaNs in certain cases on GPUs with Xe-HPC IP (5d65970)
  • Changed default layout to blocked for depthwise convolutions to avoid spurious reorders (78f231b)
  • Addressed issue with incorrect values in padded areas for convolution with post-ops on GPUs (2e4ad3a)
  • Fixed build issues with -Werror=odr option (27668dd)
  • Addressed issues detected by clang USAN in BRGEMM kernel (2bbaa30, 9b3826f, b59b027)

graph-v0.5.1

28 Jun 16:48
Compare
Choose a tag to compare
graph-v0.5.1 Pre-release
Pre-release

This is a patch release containing the following changes to graph-v0.5:

  • Fixed the layout propagation of Reshape and Transpose operators in oneDNN backend (3b681d4, 09863f9)
  • Enabled scalar Divide + MatMul fusion in oneDNN backend (d4c7dc6)
  • Enabled Convolution + LeakyReLU fusion in oneDNN backend (b0f4dbb, c8fb4c1, e15979e)
  • Improved the document of fusion patterns (b9a5238)
  • Fixed operands swapping for binary operators (a07bfda, d2567d7)
  • Worked around a false positive build issue in GCC11 for compiler backend (17a40d0)