marlin

Matrix multiplier

An optimized FP16xINT4 matrix multiplication kernel for large language models

FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.

GitHub

655 stars
15 watching
52 forks
Language: Python
last commit: about 2 years ago
4bitkernelllmquantization

Related projects:

RepositoryDescriptionStars
microsoft/deepspeed-miiA Python library designed to accelerate model inference with high-throughput and low latency capabilities1,924
jalawson/ulinalgA small size matrix handling module with linear algebra operations for MicroPython (Python3)32
davidstutz/matlab-mnist-two-layer-perceptronA Matlab implementation of a two-layer perceptron to recognize handwritten digits from the MNIST dataset.60
google/gemmlowpA small C++ library for low-precision matrix multiplication1,782
janbednarik/micropython-matrix8x8A Python driver for an 8x8 LED Matrix display using I2C communication15
microsoft/bitblasA library to support efficient mixed-precision matrix multiplications on GPUs for deep learning model deployment445
mratsim/laserA high-performance computing library providing optimized primitives for tensor and matrix operations281
jjjkkkjjj/matftA Numpy-like library in Swift for multi-dimensional array and matrix operations135
iyassou/umatrixA library providing basic matrix arithmetic operations and functions for the MicroPython language.15
intel/neural-compressorTools and techniques for optimizing large language models on various frameworks and hardware platforms.2,257
versilov/matrexA fast and efficient matrix library for Elixir/Erlang with C implementation using CBLAS.479
akabe/slapA linear algebra library with type-based static size checking for matrix operations.88
tlk00/bitmagicA C++ library for compact data structures and algorithms optimized for memory efficiency and high performance413
uncomplicate/neanderthalA Clojure library providing optimized native libraries for fast matrix and linear algebra computations on CPU and GPU.1,079
numpi/hm-toolboxA toolbox implementing arithmetic operations for HODLR and HSS matrices in MATLAB.44