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

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
tensor-compiler avatar

tensor-compiler/taco

0
View on GitHub↗
1,360 stars·198 forks·C++·7 viewstensor-compiler.org↗

Taco

Taco is a sparse tensor algebra compiler that translates high-level tensor index expressions into optimized machine code. It functions as a numerical code generator, producing specialized C kernels designed to execute complex multidimensional array operations efficiently on both CPU and GPU hardware.

The project distinguishes itself by allowing users to define custom tensor storage layouts by composing dimension-level formats, such as dense or compressed structures, to match the specific sparsity patterns of their datasets. By analyzing the mathematical structure of tensor operations at compile time, it automatically applies iteration-space transformations and kernel-level parallelization to minimize memory footprint and maximize execution speed.

Beyond its core compilation capabilities, the library supports a broad range of numerical processing tasks, including matrix-vector multiplication and various tensor contractions. It provides both a command-line interface for generating standalone kernels and a Python API for integrating high-performance tensor operations directly into numerical workflows.

Features

  • High-Performance Tensor Libraries - Provides a high-performance compiler for executing complex multidimensional array operations with support for custom storage formats and parallel execution.
  • Tensor Expression Compilers - Compiles complex tensor algebra expressions written in index notation into highly optimized machine code.
  • Sparse Tensor Representations - Performs high-performance mathematical operations on multidimensional arrays that contain mostly zero values.
  • Tensor Operation Compilers - Transforms complex mathematical index notation into highly optimized machine code for efficient execution on modern hardware.
  • C Code Generators - Generates specialized C kernels from high-level tensor index expressions to accelerate numerical data processing on CPUs and GPUs.
  • Tensor Contractions - Performs complex sparse and dense linear algebra calculations by compiling optimized kernels tailored to input data structure.
  • Tensor Parallelism - Executes complex mathematical operations across multiple processor cores or graphics hardware to speed up heavy data processing.
  • Iteration Space Optimizers - Optimizes data access patterns by automatically reordering loops and applying tiling strategies to match the underlying hardware memory hierarchy.
  • Standalone Kernel Generators - Generates standalone C code for specific tensor algebra operations using a command-line interface.
  • Parallel Processing - Executes intensive tensor algebra operations across multiple processor cores or graphics hardware to accelerate data analysis.
  • Index Notation Parsers - Translates high-level tensor index expressions into optimized machine code by analyzing the mathematical structure of the operation.
  • Table-Level Storage Formats - Allows defining custom tensor storage layouts by composing dimension-level formats to match specific data requirements.
  • Specialized Storage Formats - Supports various storage formats such as CSR, COO, or CSF to reduce memory consumption and improve data access patterns.
  • Sparsity-Aware Optimizers - Evaluates the sparsity patterns of input tensors at compile time to prune unnecessary computations and minimize memory footprint during execution.
  • Tensor Computation Graphs - Applies advanced mathematical transformations like loop reordering and parallel splitting to ensure efficient data calculations.
  • High-Performance Linear Algebra - Generates specialized high-performance C kernels for linear and tensor algebra tasks.
  • Dimension-Level Formats - Constructs complex sparse tensor storage layouts by nesting primitive data structures like dense arrays and compressed fibers.
  • Algebraic Lowering - Translates high-level tensor index expressions into optimized nested loop structures for efficient execution.
  • Parallel Kernel Generators - Distributes tensor computations across multiple processor cores or graphics hardware by injecting synchronization primitives into the generated machine code.

Star history

Star history chart for tensor-compiler/tacoStar history chart for tensor-compiler/taco

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

Curated searches featuring Taco

Hand-picked collections where Taco appears.
  • GPU acceleration libraries
  • Transformer Inference Optimization Kernels

Open-source alternatives to Taco

Similar open-source projects, ranked by how many features they share with Taco.
  • weiliu89/caffeweiliu89 avatar

    weiliu89/caffe

    4,800View on GitHub↗

    Caffe is a high-performance deep learning framework and convolutional neural network library designed for training and deploying neural networks. It functions as a GPU-accelerated machine learning engine with a core implemented in C++ to enable high-throughput tensor operations. The project utilizes a declarative configuration system where model architectures and hyperparameters are defined in external text files, separating the network design from the execution code. It includes a model serialization system to export trained weights and topologies into binary files for efficient deployment a

    C++
    View on GitHub↗4,800
  • apache/mxnetapache avatar

    apache/mxnet

    20,829View on GitHub↗

    This project is a deep learning framework designed for constructing, training, and deploying neural networks across diverse hardware environments. It functions as a high-performance tensor computation library that provides both imperative and symbolic programming interfaces, allowing developers to balance flexible, step-by-step model building with the efficiency of compiled computation graphs. The framework distinguishes itself through a hybrid execution engine that integrates declarative graph compilation with imperative runtime logic. It supports scalable, distributed training across multip

    C++mxnet
    View on GitHub↗20,829
  • arrayfire/arrayfirearrayfire avatar

    arrayfire/arrayfire

    4,888View on GitHub↗

    ArrayFire is a hardware-agnostic compute framework and JIT-compiled tensor engine designed for high-performance numerical computing. It serves as a GPU numerical computing library and parallel signal processing toolkit that abstracts hardware backends, allowing the same codebase to execute across various GPU architectures and CPUs. The project distinguishes itself through a JIT engine that uses expression compilation to fuse operations and minimize memory overhead. It employs a deferred execution graph to optimize computation chains and provides interoperability primitives to share data and e

    C++arrayfirecc-plus-plus
    View on GitHub↗4,888
  • deeplearning4j/deeplearning4jdeeplearning4j avatar

    deeplearning4j/deeplearning4j

    14,236View on GitHub↗

    Deeplearning4j is a JVM-based deep learning framework and tensor computing library. It provides a computational graph engine for defining and executing deep learning workflows and mathematical operations within the Java Virtual Machine. The project includes a dedicated importer for loading and running pretrained models exported from Keras, TensorFlow, and ONNX formats. Its tensor computing capabilities are driven by a modular native C++ math core to execute high-performance linear algebra operations. The framework covers neural network training, deep learning model inference, and the constru

    Java
    View on GitHub↗14,236
See all 30 alternatives to Taco→

Frequently asked questions

What does tensor-compiler/taco do?

Taco is a sparse tensor algebra compiler that translates high-level tensor index expressions into optimized machine code. It functions as a numerical code generator, producing specialized C kernels designed to execute complex multidimensional array operations efficiently on both CPU and GPU hardware.

What are the main features of tensor-compiler/taco?

The main features of tensor-compiler/taco are: High-Performance Tensor Libraries, Tensor Expression Compilers, Sparse Tensor Representations, Tensor Operation Compilers, C Code Generators, Tensor Contractions, Tensor Parallelism, Iteration Space Optimizers.

What are some open-source alternatives to tensor-compiler/taco?

Open-source alternatives to tensor-compiler/taco include: weiliu89/caffe — Caffe is a high-performance deep learning framework and convolutional neural network library designed for training and… apache/mxnet — This project is a deep learning framework designed for constructing, training, and deploying neural networks across… laurentmazare/tch-rs — This project is a Rust interface for the PyTorch C++ library, serving as a deep learning framework and tensor… arrayfire/arrayfire — ArrayFire is a hardware-agnostic compute framework and JIT-compiled tensor engine designed for high-performance… flashlight/flashlight — Flashlight is a standalone C++ machine learning library and tensor library used for building and training neural… deeplearning4j/deeplearning4j — Deeplearning4j is a JVM-based deep learning framework and tensor computing library. It provides a computational graph…