Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,650 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning AI

This repository contains notes and code examples related to AI/ML, with a focus on understanding the fundamentals of large language models, inference engines, and hardware acceleration.

In-progress


Table of Contents

Notes

Code


Notes

Model Architectures

Model Formats & Quantization

Attention & Embeddings

Inference & Decoding

Training & Fine-tuning

Hardware & Acceleration

GPU

NPU / Other

Audio & Speech

Vision & Multimodal

Agents & Applications


Code

Fundamentals

Exploration code for core AI/ML concepts, libraries, and frameworks.

Project Description
GGML GGML C++ library exploration
Llama.cpp Llama.cpp library exploration (inference, finetuning)
Python Python ML examples
Rust Rust ML examples (llm-chains, tch-rs, etc.)
vLLM vLLM exploration
OpenVINO OpenVINO Python examples
OpenVINO C++ OpenVINO C++ examples
PyTorch PyTorch & pybind examples
SIMD SIMD instruction exploration
SIMD Assembly Low-level SIMD assembly
SVE ARM SVE exploration
NEON ARM NEON examples
AMX Intel AMX exploration
VNNI VNNI instruction exploration
BLAS OpenBLAS exploration
ROCm AMD ROCm examples
SYCL SYCL examples
KleidiAI KleidiAI examples
Grammars LLaGuidance grammar exploration
Tokenization Tokenization examples
Data Structures ML-relevant data structures
Image Processing Image processing examples
WASM WebAssembly NN examples
Whisper Whisper.cpp exploration
Templates Minja template engine

GPU Code

GPU compute exploration across multiple APIs.

Project Description
CUDA CUDA examples in C++
OpenCL OpenCL examples
Vulkan Vulkan examples
Kompute Kompute (Vulkan compute) examples
Metal Metal examples
ROCm AMD ROCm/HIP examples
WebGPU WebGPU examples
XRT XRT examples

NPU Code

Neural Processing Unit exploration (Hailo).

Project Description
Hailo Hailo-10H AI accelerator, Raspberry Pi AI HAT+

Audio Code

Audio processing and speech-to-text.

Project Description
Silero VAD Silero Voice Activity Detection
Whisper.cpp Whisper.cpp submodule


Notes Index

For a complete list of all notes, see the notes directory.

About

Notes and exploration code for learning about AI/ML

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages