awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
uxlfoundation avatar

uxlfoundation/oneDNN

0
View on GitHub↗
4,009 stars·1,148 forks·C++·Apache-2.0·23 viewsuxlfoundation.github.io/oneDNN↗

OneDNN

oneDNN is a library for deep learning acceleration that provides optimized building blocks for neural network training and inference. It manages tensor computation across CPU and GPU hardware, enabling the execution of high-performance primitives for model training and neural network inference optimization.

The project distinguishes itself through hardware-specific kernel optimization and the use of just-in-time compilation to target specific processor instruction sets. It supports quantized neural network execution using both static and dynamic quantization to reduce memory usage and increase throughput.

The library covers a broad range of capabilities, including deep learning primitives such as convolutions, matrix multiplication, and recurrent neural network execution. It implements advanced performance optimizations including operation fusion, computation graph optimization, and memory format management. Integration is provided via a stable C ABI and C++ wrapper, with support for SYCL, OpenCL, and external linear algebra libraries.

The system includes observability tools for hardware performance profiling, primitive benchmarking, and verbose execution logging.

Features

  • Deep Learning Acceleration - Provides optimized basic building blocks for neural networks to accelerate tensor operations across CPU and GPU hardware.
  • High-Performance Scientific Computing - Runs optimized high-performance scientific computing primitives such as convolutions and LSTM operations using pre-computed state.
  • Accelerated Normalization Layers - Provides high-performance implementations of batch, group, layer, and local response normalization to accelerate training.
  • Activation Functions - Implements non-linear activation functions such as PReLU and Softmax to be applied element-wise to tensors.
  • Backward Propagation Primitives - Calculates operation gradients using source or destination tensors to update weights during neural network training.
  • Batch Normalization - Calculates forward and backward normalization on multi-dimensional tensors using mean and variance to stabilize training.
  • Convolutional Operations - Executes high-performance forward, backward, and weight update passes for multi-dimensional convolutions, including grouped and dilated variants.
  • Deep Network Training - Implements high-performance primitives for calculating gradients and performing backward propagation during deep network training.
  • Just-In-Time Kernel Compilers - Uses just-in-time compilation to target specific processor instruction sets and maximize hardware-specific execution speed.
  • Graph Fusions - Groups individual primitives into high-level graphs to automatically apply backend-aware operation fusions for better performance.
  • Kernel Optimizers - Optimizes the dispatch of JIT-generated kernels by preferring specific CPU instruction set features for maximum performance.
  • Convolution Layers - Implements convolutional and transposed convolutional layers for processing spatial data in forward and training modes.
  • Tensor Memory Management - Manages tensor memory layouts, data shapes, and device allocations across different hardware engines.
  • Hardware-Aware Graph Partitioning - Analyzes operations and decomposes them into optimized sub-graphs and partitions to maximize efficiency on specific hardware.
  • Low Precision Inference - Executes deep learning operations using reduced-precision numerical types to increase throughput and reduce memory usage.
  • Static Quantization - Maps quantized integers to floating-point values during primitive execution using pre-defined scales and zero-points.
  • Dynamic Quantization - Computes scaling factors on the fly for groups of elements during inference to reduce precision and increase throughput.
  • Primitive Accelerators - Provides tuned acceleration routines for basic neural network operations across CPU and GPU hardware.
  • Inference Optimizations - Increases inference throughput and reduces memory bandwidth through operation fusion and low-precision numerical types.
  • Quantized Neural Network Execution - Runs integer-based deep learning operations using scaling factors and zero points to reduce memory usage and increase speed.
  • Recurrent Neural Networks - Provides high-performance primitives for processing sequential data using RNN, LSTM, GRU, and AUGRU architectures.
  • Sparse Computing Kernels - Utilizes sparse memory formats and specialized kernels to reduce memory footprint and skip zero-value computations.
  • Memory Layout Optimizations - Configures model memory formats and data layouts to maximize throughput on tensor cores and other accelerators.
  • GPU Kernel Primitives - Implements highly tuned GPU kernels for fundamental deep learning operations like convolutions and matrix multiplications.
  • Runtime Hardware Optimizers - Automatically detects host processor capabilities at runtime to select the most efficient instruction sets for acceleration.
  • Tensor Layout Optimizations - Restructures multi-dimensional tensor layouts to align with physical memory and maximize hardware processing unit throughput.
  • CPU Instruction Optimizations - Targets specific processor instruction sets like AVX-512 and AMX to maximize execution speed through low-level optimizations.
  • CPU Primitive Execution - Runs deep learning operations on various processor architectures using just-in-time code generation for the detected instruction set.
  • Device-Specific Memory Allocators - Provides specialized allocators for managing tensors in discrete device memory spaces and facilitating host-to-device transfers.
  • ISA-Level Binary Generation - Lowers computation logic to hardware ISA level and generates specialized binary code based on tensor metadata.
  • Runtime GPU Kernel Compilation Libraries - Compiles kernels online using just-in-time compilation to enable dynamic specialization for the detected hardware.
  • Tensor Computation Graphs - Represents sequences of mathematical operations as directed graphs of tensors to optimize execution flow and dependencies.
  • Matrix Multiplication Primitives - Executes matrix-matrix multiplication using floating-point, quantized, or sparse memory encodings across various data types.
  • Kernel Implementation Selection - Selects between direct, Winograd, or implicit GEMM implementations to balance performance, memory, and numerical accuracy.
  • Depthwise Separable Convolutions - Implements optimized depthwise separable convolutions by fusing depthwise and pointwise operations to accelerate separable convolution stacks.
  • Dequantizing Runtimes - Implements on-the-fly conversion of integer weights back to floating-point format during computation.
  • Dropout Regularization - Integrates dropout regularization directly into the primitive output buffer to prevent overfitting during neural network training.
  • Mixture-of-Experts Inference Optimizers - Uses grouped memory formats and grouped GEMM to optimize variable-size batching for Mixture-of-Experts model inference.
  • Primitive State Caching - Stores and reuses previously created execution primitives to avoid the overhead of repeated initialization.
  • Operator Fusions - Reduces inference overhead by fusing neural network primitives with subsequent post-operations into single kernels.
  • Optimized Partition Execution - oneDNN runs compiled binary code using bound data buffers and streams to process multi-dimensional tensors on a target engine.
  • Quantization Granularity Settings - Provides configuration options to define the scope of quantization, ranging from global tensors to block-wise masks.
  • Primitive Execution Configurations - Adjusts operational behavior through math modes and accumulation precision to balance performance and accuracy.
  • Parameter Definitions - Defines specific quantization settings and parameters required for performing integer-based inference.
  • Transposed Convolutions - Implements transposed convolutions to expand input data and reconstruct spatial resolution during upsampling.
  • Tensor Caches - Stores reordered weights and folded scales in memory to eliminate redundant computations across hardware engines.
  • Binary Footprint Reduction - Implements build-time optimizations to limit available primitives and decrease the overall size of the compiled binary.
  • Thread Scaling - Distributes computational workloads across multiple CPU cores using threadpool-based threading models to maximize utilization.
  • GPU Memory Optimizations - Optimizes memory throughput by managing format propagation and reordering data between CPU and GPU engines.
  • Task Dependencies - Synchronizes execution between primitives using events or in-order streams to prevent data races in hardware-accelerated tasks.
  • Hardware Runtime Configurations - Defines the threading model and offload runtime to match the target hardware environment.
  • Inference Buffer Management - Manages the allocation and sizing of short-term memory buffers for intermediate deep learning calculations.
  • Unified Memory Managers - Implements unified memory management for high-performance data transfer between host and device memory spaces.
  • Micro-Kernel Compositions - Enables the composition of sequential micro-kernels to implement specialized operations with manual control over threading and blocking.
  • Microkernel Execution Control - Provides manual control over threading and blocking logic on CPUs via microkernel interfaces to maximize hardware customization.
  • Custom Operator APIs - Provides low-level APIs to compose sequential block-level operations and tailor threading logic for specific applications.
  • Heterogeneous Hardware Runtimes - Shares data and execution contexts with external runtimes to coordinate workloads across heterogeneous CPU and GPU cores.
  • Normalization and Activation Fusions - Fuses normalization, binary addition, and activation into a single operation to increase training speed and reduce memory overhead.
  • Sequential Operation Fusion - Combines primitives with element-wise operations into single kernels to eliminate intermediate memory writes and reduce overhead.
  • Calculation Precision Configurations - Provides settings for managing numerical precision and significant digits during mathematical computations to balance speed and accuracy.
  • Element-wise Array Operations - Applies high-performance arithmetic, comparison, or selection operators between two tensors element-wise.
  • Floating-Point Precision Conversions - Converts floating-point data to narrower types during computation to increase speed while maintaining original storage precision.
  • Tensor Manipulations - Performs complex tensor transformations including binary operations, concatenation, reduction, and reordering of data shapes.
  • Numerical Result Determinism - Guarantees that multiple executions of the same operation return bit-wise identical results for debugging and validation.
  • Operation Benchmarkers - Measures the execution time of specific deep learning primitives to verify optimization gains.
  • Performance Analysis - Uses performance profilers and verbose logging to analyze internal operations and identify algorithmic bottlenecks.
  • Performance Profiling - Measures execution time and efficiency of primitives to identify and resolve performance bottlenecks.

Star history

Star history chart for uxlfoundation/onednnStar history chart for uxlfoundation/onednn

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with OneDNN

These projects share indexed features with OneDNN. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • oneapi-src/onednnoneapi-src avatar

    oneapi-src/oneDNN

    4,007View on GitHub↗

    oneDNN is a cross-architecture compute library and hardware acceleration framework designed as a oneAPI deep learning library. It functions as a neural network inference engine that provides optimized primitives to accelerate deep learning operations across diverse CPU and GPU architectures. The project distinguishes itself through a combination of just-in-time instruction generation based on detected processor features and microarchitecture-specific tuning. It utilizes graph-based operation compilation to minimize overhead and manages layout-aware tensors to optimize data access patterns acr

    C++
    View on GitHub↗4,007
  • tingsongyu/pytorch_tutorialTingsongYu avatar

    TingsongYu/PyTorch_Tutorial

    8,018View on GitHub↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Python
    View on GitHub↗8,018
  • morvanzhou/tensorflow-tutorialMorvanZhou avatar

    MorvanZhou/Tensorflow-Tutorial

    4,334View on GitHub↗

    This project is a collection of educational resources and reference implementations for neural network development using TensorFlow. It serves as a comprehensive learning course, machine learning curriculum, and practical implementation guide for building deep learning architectures. The codebase provides instructional materials and examples covering a wide range of model types, including convolutional neural networks for image classification, recurrent networks and long short-term memory cells for sequential data, and autoencoders for generative modeling. It also includes implementations for

    Pythonautoencoderclassificationcnn
    View on GitHub↗4,334
  • nvidia/isaac-gr00tNVIDIA avatar

    NVIDIA/Isaac-GR00T

    6,222View on GitHub↗
    Jupyter Notebook
    View on GitHub↗6,222
Compare all 30 related projects→

Frequently asked questions

What does uxlfoundation/onednn do?

oneDNN is a library for deep learning acceleration that provides optimized building blocks for neural network training and inference. It manages tensor computation across CPU and GPU hardware, enabling the execution of high-performance primitives for model training and neural network inference optimization.

What are the main features of uxlfoundation/onednn?

The main features of uxlfoundation/onednn are: Deep Learning Acceleration, High-Performance Scientific Computing, Accelerated Normalization Layers, Activation Functions, Backward Propagation Primitives, Batch Normalization, Convolutional Operations, Deep Network Training.

Which projects share features with uxlfoundation/onednn?

Projects with overlapping indexed features include: oneapi-src/onednn — oneDNN is a cross-architecture compute library and hardware acceleration framework designed as a oneAPI deep learning… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… morvanzhou/tensorflow-tutorial — This project is a collection of educational resources and reference implementations for neural network development… nvidia/isaac-gr00t. dusty-nv/jetson-inference — jetson-inference is a set of libraries and tools for executing optimized deep learning models on embedded GPU… nervanasystems/neon — Neon is a deep learning framework and hardware-abstraction machine learning stack used for designing, training, and…