Termsslug: matrix-multiplication

Matrix Multiplication

矩阵乘法

Matrix multiplication, one of the core compute kernels in deep learning and high-performance computing.

Curated Intelligence

3 items · Page 1/1
Hacker News AIT2·Tools
58 pts
Writing Your Own Kernel Optimiser Instead of Trusting the Compiler

The article argues for hand-writing kernels instead of relying on a clever optimising compiler when performance matters, making data flow explicitly match the hardware. It notes that both compiler and hand optimisation hide key decisions such as cache residency and loop vectorisation, and backs the approach with benchmarks matching matmul results.

Hacker News AIT2·Tools
68 pts
Developer Builds Neural Network Using DOOM Game Mechanics for Digit Recognition

A developer constructed a functional neural network using DOOM's game mechanics, such as voodoo dolls, conveyor belts, and lava. The system simulates matrix multiplication and attention mechanisms to accurately recognize handwritten digits in Colab, matching NumPy reference results exactly. This project demonstrates the feasibility of implementing complex computational logic within game engines, offering both educational value and technical novelty.

Hugging Face BlogT1·Tools
35 pts
Tutorial on 8-bit Matrix Multiplication for Transformers

This article is an introductory tutorial explaining how to implement 8-bit matrix multiplication using the transformers, accelerate, and bitsandbytes libraries. Its core purpose is to reduce memory footprint and improve inference efficiency in large-scale Transformer models. Lacking specific performance benchmarks or algorithmic breakthroughs, its primary value lies in providing a reusable engineering guide.