flash-attention-minimal VS Halide

Compare flash-attention-minimal vs Halide and see what are their differences.

flash-attention-minimal

Flash Attention in ~100 lines of CUDA (forward pass only) (by tspeterkim)

Halide

a language for fast, portable data-parallel computation (by halide)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
flash-attention-minimal Halide
2 43
423 5,721
- 0.7%
5.7 9.5
about 1 month ago 7 days ago
Cuda C++
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

flash-attention-minimal

Posts with mentions or reviews of flash-attention-minimal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • Google's First Tensor Processing Unit: Architecture
    2 projects | news.ycombinator.com | 31 Mar 2024
    Vulcan is a driver-level API. It competes with DirectX and OpenGL.

    CUDA is a language you write kernels. It competes with OpenAI's Triton language.

    Here's what CUDA looks like: https://github.com/tspeterkim/flash-attention-minimal/blob/m...

    This is what Triton looks like: https://triton-lang.org/main/getting-started/tutorials/06-fu...

    By contrast Vulcan looks like this: https://github.com/KhronosGroup/Vulkan-Samples/blob/main/sam...

    (It's true to some extent that maybe you could use Vulcan shaders to write deep learning kernels, maybe? I'm not aware of anyone doing it though)

  • Show HN: Flash Attention in ~100 lines of CUDA
    2 projects | news.ycombinator.com | 16 Mar 2024

Halide

Posts with mentions or reviews of Halide. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-16.

What are some alternatives?

When comparing flash-attention-minimal and Halide you can also consider the following projects:

taichi - Productive, portable, and performant GPU programming in Python.

futhark - :boom::computer::boom: A data-parallel functional programming language

Image-Convolutaion-OpenCL

TensorOperations.jl - Julia package for tensor contractions and related operations

triton - Development repository for the Triton language and compiler

ponyc - Pony is an open-source, actor-model, capabilities-secure, high performance programming language

qoi - The “Quite OK Image Format” for fast, lossless image compression

png-decoder - A pure-Rust, no_std compatible PNG decoder

maxas - Assembler for NVIDIA Maxwell architecture

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

smhasher - Hash function quality and speed tests

TensorComprehensions - A domain specific language to express machine learning workloads.