Topics / #optimization

Optimization projects on GitHub

Performance tuning and mathematical optimization

As of , the most-starred Optimization projects on GitHub are annotated_deep_learning_paper_implementations (67.8K stars), winutil (67K stars) and dive (54.7K stars). GitHub.Locker tracks 72 Optimization repositories with 886.3K stars combined. The fastest-growing on November 30 was heretic, with +384 stars in a day.

72Projects
886.3KStars in total
+1.6KStars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

72 projects · by stars

  1. #1 · labmlai/annotated_deep_learning_paper_implementations

    annotated_deep_learning_paper_implementations

    A collection of 60+ PyTorch implementations of deep learning papers, each annotated with side-by-side explanatory notes so you can read the code and the math/explanation together.

    67.8K
  2. #2 · ChrisTitusTech/winutil

    winutil

    Chris Titus Tech's Windows Utility (WinUtil) is a curated compilation of Windows system tasks: it streamlines installs, debloats with tweaks, troubleshoots, and configures Windows updates.

    67K
  3. #3 · wagoodman/dive

    dive

    dive is a CLI tool that breaks a Docker or OCI image into its layers, shows what each layer contains, and points out where the image wastes space so you can shrink it.

    54.7K
  1. 4

    ray

    44.3Kray-project/ray · Python

    Ray is an open-source framework for scaling AI and Python applications: a core distributed runtime plus a set of AI libraries that simplify ML compute.

  2. 5

    heretic

    44.2Kp-e-w/heretic · Python

    Heretic is a command-line tool that automatically removes censorship (safety alignment) from transformer-based language models using directional ablation combined with an Optuna-powered parameter optimizer, without any training.

  3. 6

    llvm-project

    41.5Kllvm/llvm-project · LLVM

    LLVM is an open-source toolkit for constructing highly optimized compilers, optimizers, and run-time environments; this repository holds its source code.

  4. 7

    dspy

    39.3Kstanfordnlp/dspy · Python

    DSPy is a Python framework for programming — rather than prompting — language models: you build modular AI systems in code, and its algorithms automatically optimize the prompts and weights.

  5. 8

    czkawka

    35.6Kqarmin/czkawka · Fluent

    Czkawka is a multi-functional Rust app for finding and cleaning duplicate files, empty folders, similar images/videos/music, broken files, temporary files and more on your disk.

  6. 9

    slim

    23.5Kslimtoolkit/slim · Go

    SlimToolkit (formerly DockerSlim) is a free, open-source CLI toolkit that inspects, optimizes and debugs container images. It can shrink an image by up to 30x without you changing anything in your Dockerfile — and makes the result more secure too.

  7. 10

    fasthttp

    23.5Kvalyala/fasthttp · Go

    FastHTTP is a fast HTTP server and client library for Go, tuned for high performance: zero memory allocations in hot paths and up to 10x the speed of net/http.

  8. 11

    svgo

    22.8Ksvg/svgo · JavaScript

    SVGO (SVG Optimizer) is a Node.js library and command-line application that optimizes SVG files — cutting away redundant information so they weigh less while rendering the same.

  9. 12

    Atlas

    22.3KAtlas-OS/Atlas · PowerShell

    Atlas is an open-source modification for Windows that optimizes an existing install for performance, privacy and usability: it strips telemetry, debloats the system and applies tweaks — no custom ISO involved.

  10. 13

    react-scan

    21.9Kaidenybai/react-scan · TypeScript

    React Scan is a dev tool that automatically detects performance issues in your React app: it highlights exactly the components you need to optimize, requires no code changes, and stays accessible through a toolbar on the page.

  11. 14

    experiential

    20.1Kexperientiallabs/experiential · Python

    Experiential is an open source gateway and router for agent workflows that lets you use hosted, BYOK, and local models through one OpenAI-compatible API, control who can spend how much on which models, and turn production traffic into a custom optimized router or your own fine-tuned model.

  12. 15

    SkillOpt

    19.3Kmicrosoft/SkillOpt · Python

    A text-space optimizer that trains reusable natural-language skills for frozen LLM agents without touching model weights. The trained skill ships as a compact markdown file (typically 300–2,000 tokens) that adds zero inference-time model calls at deployment.

  13. 16

    million

    17.7Kaidenybai/million · TypeScript

    Million.js is an extremely fast and lightweight optimizing compiler for React that makes components up to 70% faster by speeding up reconciliation.

  14. 17

    Front-End-Performance-Checklist

    17.4Kthedaviddias/Front-End-Performance-Checklist

    It's an exhaustive performance checklist for front-end developers: things you should check, or at least be aware of, when building a website — for personal and professional projects alike.

  15. 18

    codon

    16.9Kexaloop/codon · Python

    Codon is a high-performance Python implementation that compiles your code straight to native machine code — typically 10-100x faster than vanilla Python on a single thread, on par with C/C++.

  16. 19

    Modern-CPP-Programming

    16.3Kfederico-busato/Modern-CPP-Programming · HTML

    A free, open-access Modern C++ Programming course by Federico Busato covering standards from C++03 to C++26 — from language basics to advanced features, tools and optimization.

  17. 20

    Nuitka

    15.2KNuitka/Nuitka · Python

    Nuitka is a Python compiler, written in Python itself, that translates Python code into C and then compiles it into an executable or extension module.

  18. 21

    scipy

    15.2Kscipy/scipy · Python

    SciPy (pronounced 'Sigh Pie') is an open-source Python library for mathematics, science, and engineering.

  19. 22

    Winhance

    15Kmemstechtips/Winhance · C#

    Winhance is a free Windows enhancement utility that debloats, optimizes and customizes Windows 10 and 11, combining app management, privacy and performance tweaks, and theming in one GUI app.

  20. 23

    ants

    14.5Kpanjf2000/ants · Go

    ants is a goroutine pool library for Go: it manages and recycles a massive number of goroutines with a fixed capacity, letting you limit how many run concurrently in your program.

  21. 24

    or-tools

    14.4Kgoogle/or-tools · C++

    OR-Tools is Google's open-source software suite for combinatorial optimization: solvers and algorithms for problems like scheduling, routing, packing, and resource allocation.

  22. 25

    primitive

    13.6Kfogleman/primitive · Go

    It recreates a target image out of geometric primitives: the algorithm keeps adding one shape at a time, each chosen to minimize the difference from the original, until the result is recognizable yet artistic and abstract.

  23. 26

    scalene

    13.6Kplasma-umass/scalene · Python

    Scalene is a high-performance CPU, GPU, and memory profiler for Python. It is also the first profiler to add AI-powered optimization proposals, via providers like OpenAI, Azure, Bedrock, or local Ollama models.

  24. 27

    deep-learning-drizzle

    13Kkmario23/deep-learning-drizzle · HTML

    A curated index that collects links to full video lectures and course materials for Deep Learning, Reinforcement Learning, Machine Learning, Computer Vision and NLP courses taught at top universities worldwide.

  25. 28

    optimizerDuck

    12.6Kitsfatduck/optimizerDuck · C#

    A free, open-source Windows optimization app that gathers performance tweaks, privacy settings, bloatware removal and cleanup tools in one place, so you don't have to dig through the Registry, Group Policy or PowerShell.

  26. 29

    BenchmarkDotNet

    11.5Kdotnet/BenchmarkDotNet · C#

    BenchmarkDotNet is a .NET library that turns ordinary methods into reliable, repeatable performance benchmarks and reports detailed statistics about the results.

  27. 30

    STL

    11.2Kmicrosoft/STL · C++

    Microsoft's official implementation of the C++ Standard Library (the STL), which ships as part of the MSVC toolset and the Visual Studio IDE. This repo hosts its source code and development.

  28. 31

    thumbor

    10.5Kthumbor/thumbor · Python

    Thumbor is an open-source HTTP image service that crops, resizes, transforms and optimizes photos on-demand, using AI for smart face/feature-based cropping.

    Deploy on Railway
  29. 32

    critical

    10.3Kaddyosmani/critical · JavaScript

    It extracts the above-the-fold (critical-path) CSS from your HTML pages, inlines it into the document, and loads the rest asynchronously so the browser can paint the first screen without waiting for the full stylesheet.

  30. 33

    meshoptimizer

    8.9Kzeux/meshoptimizer · C++

    meshoptimizer is a C/C++ library of algorithms that optimize 3D meshes so they render faster on the GPU and take up less storage (vertex cache, overdraw, vertex fetch, quantization, simplification, etc.).

  31. 34

    pi-autoresearch

    8.3Kdavebcn87/pi-autoresearch · TypeScript

    pi-autoresearch is an extension for pi, a terminal-based AI coding agent, that runs autonomous optimization loops: it tries a code change, benchmarks it, keeps the change if it's an improvement, reverts it if it isn't, and repeats indefinitely.

  32. 35

    pxpipe

    8Kteamchong/pxpipe · TypeScript

    pxpipe is a local proxy that cuts Claude Code's (and other LLM clients') input token usage by rendering bulky context — system prompts, tool docs, and conversation history — as compact PNG images instead of raw text, since an image's token cost depends on its pixel size, not the amount of text packed into it.

  33. 36

    closure-compiler

    7.7Kgoogle/closure-compiler · JavaScript

    A tool for making JavaScript download and run faster — a true compiler for JavaScript: it compiles JavaScript to better JavaScript, parsing your code, removing dead code and rewriting and minimizing what is left.

  34. 37

    ANE

    7.3Kmaderix/ANE · Objective-C

    ANE is a research project that trains neural networks directly on Apple's Neural Engine using reverse-engineered private APIs, instead of CoreML's inference-only path.

  35. 38

    turboquant_plus

    7KTheTom/turboquant_plus · Python

    TurboQuant+ is the research home for TurboQuant (ICLR 2026), a KV cache compression method for transformer LLMs. It shrinks the KV cache 3.8-6.4x using PolarQuant plus Walsh-Hadamard rotation, and this repo holds the Python reference implementation, validation papers and benchmark data.

  36. 39

    darwin-skill

    7Kalchaincyf/darwin-skill · HTML

    Darwin.skill is a system that evolves Claude Code Agent Skills through an automated evaluate-improve-test-keep-or-revert loop, inspired by Andrej Karpathy's autoresearch project.

  37. 40

    hermes-agent-self-evolution

    5.8KNousResearch/hermes-agent-self-evolution · Python

    It is an evolutionary self-improvement system for Hermes Agent that uses DSPy and GEPA (Genetic-Pareto Prompt Evolution) to automatically optimize the agent's skills, tool descriptions, system prompts, and code, producing measurably better versions through reflective evolutionary search.

  38. 41

    fast-ruby

    5.7Kfastruby/fast-ruby · HTML

    A collection of common Ruby idioms, each paired with a benchmark, showing which way of writing the same code runs faster.

  39. 42

    xquad

    5.6KQuipNetwork/xquad · Python

    XQuad is a hardware-agnostic toolchain for expressing and running quadratic optimization problems (QUBO / Ising / discrete) across quantum annealers and classical solvers, acting as a common intermediate representation you write once and retarget to any supported backend.

  40. 43

    original_performance_takehome

    4.2Kanthropics/original_performance_takehome · Python

    This is Anthropic's original performance take-home interview challenge, open-sourced for anyone to try. The goal is to optimize a simulated-machine program so it runs in as few clock cycles as possible, starting from a slow baseline of 18532 cycles.

  41. 44

    TurboDiffusion

    3.9Kthu-ml/TurboDiffusion · Python

    TurboDiffusion is a video generation acceleration framework that speeds up end-to-end video diffusion generation by 100-200x on a single RTX 5090 while keeping video quality, using SageAttention, Sparse-Linear Attention (SLA), and rCM timestep distillation.

  42. 45

    inference-optimisation-skill

    2.9Ksybil-solutions/inference-optimisation-skill · Python

    It is an agent skill that hill-climbs the speed of a local LLM server: decode, speculative decoding, prefill, KV cache, startup and time to first token, on any hardware and quantization. It works with Claude Code and any agent that loads SKILL.md-style skills.

  43. 46

    spinel

    2.3Kmatz/spinel · C

    Spinel is a Ruby ahead-of-time compiler that turns Ruby source code into standalone native executables by inferring types across the whole program and generating optimized C code.

  44. 47

    dqn-adaptive-cpu-scheduler

    1.5Kaaawangyh/dqn-adaptive-cpu-scheduler · Python

    This is a research-grade repository that implements an adaptive CPU task scheduler trained with a Deep Q-Network (DQN). It includes a simulator of multi-core CPUs with DVFS and a thermal-aware reward, plus training, evaluation, and plotting pipelines.

  45. 48

    hexstellar

    1.4Kbrayonpi/hexstellar · Python

    HexStellar lets an AI agent hand off hard computational problems — optimization, quantum computing, scientific computing, and decision intelligence — to a managed service called Cortex, which executes them and returns structured, verifiable results with certainty labels and receipts.

  46. 49

    mcd-saver-strategist

    1.3Khujjun/mcd-saver-strategist · Python

    mcd-saver-strategist (aka 'Mai Men Sheng Qian Jing Suan Shi') is an AI Agent Skill built on the McDonald's China MCP server that pulls a store's full menu and every available coupon, then runs a deterministic algorithm to find the cheapest valid order combo — for example turning a 47 yuan Big Mac meal into 21.9 yuan (53% off).

  47. 50

    halo

    1.3Kwhitecircle/halo · Python

    Halo is an open-source framework from White Circle for training large language and multimodal models: pre-training, SFT, preference optimization, and fully asynchronous multi-turn RL in one codebase, from a single GPU up to multi-node clusters.

  48. 51

    AntOmniEvo

    1.2Kant-research/AntOmniEvo · Python

    AntOmniEvo is an auto-evolution framework: you give it your system's tunable artifacts (skills, prompts, workflow configs, or code) plus a way to score them, and it runs a concurrent evolution loop where a coding-agent 'Proposer' rewrites those files to produce better-performing candidates.

  49. 52

    cpu-performance-engineering

    1.2Kusamahz/cpu-performance-engineering · Python

    A curated reading path for CPU performance engineering: it walks you from what one instruction does on a modern core to serving ML inference on CPUs, ordered so each piece makes the next one legible.

  50. 53

    quantjourney-bt

    669QuantJourneyOrg/quantjourney-bt · Python

    QuantJourney Backtester is a Python-native backtesting engine for reproducible portfolio research. It turns strategy ideas into auditable research packets: signals become target weights or orders, orders become simulated fills, and NAV is reconstructed from the resulting portfolio state.

  51. 54

    DeepGEMM-Ascend

    642deepseek-ai/DeepGEMM-Ascend · C++

    DeepGEMM-Ascend is a port of DeepSeek's DeepGEMM matrix-multiplication kernel library to Huawei Ascend NPUs, fully API-compatible with the original and supporting BF16, FP8, and FP4 GEMM along with MQA logits and MegaMoE operators.

  52. 55

    Jet

    563CubeCoders/Jet · C++

    Jet is a tiny, dependency-free, fixed-function 3D software rasteriser in C++17, built for embedded chips with little CPU and RAM like the ESP32 and STM32; it also runs on desktop PCs and Raspberry Pi.

  53. 56

    mcopt

    545noahdunnagan/mcopt · Java

    mcopt is a Minecraft mod that adds a native Metal renderer for Minecraft: Java Edition, aimed specifically at making the game run faster on Apple Silicon Macs.

  54. 57

    ir

    523dstogov/ir · C

    IR is a lightweight framework for building JIT compilers in medium-size projects. It gives you an intermediate representation, an API to construct it, and passes for optimization, scheduling, register allocation and machine code generation that can be executed directly in memory.

  55. 58

    rebalancer

    484meta/rebalancer · C++

    Rebalancer is a domain-specific language and library for defining and solving assignment problems, like putting objects into containers under constraints and goals.

  56. 59

    tspvis

    465jhackshaw/tspvis · JavaScript

    A web app that visualizes and controls algorithms for the traveling salesman problem (TSP), built mainly as an educational tool. It is open source under the MIT license.

  57. 60

    noise

    452qlabs-eng/noise · Python

    Noise is a benchmark/speedrun for pretraining a transformer without ever running backpropagation, testing whether other credit-assignment algorithms can match or beat backprop.

  58. 61

    benjamin-plus-skill

    339JetBrains/benjamin-plus-skill · Shell

    Benjamin-Plus is a token-efficiency skill for coding agents: it teaches five habits around looking things up and waiting (not what the agent builds), measured to cut cost by up to 18% with quality unchanged.

  59. 62

    BlazingFastDotnet

    316EgorBo/BlazingFastDotnet · C#

    It is a curated SKILL.md file packed with tips and tricks for tuning .NET 10.0-11.0 workloads, meant to be pasted into an AI coding agent when you need to optimize performance-critical code, mostly for benchmark scenarios.

  60. 63

    Hyperloom

    281AMD-AGI/Hyperloom · Python

    A multi-agent harness that autonomously optimizes LLM inference on AMD Instinct GPUs: it profiles your workload, searches framework and GPU-kernel optimizations, validates every candidate end to end, and saves proven results into a recipe knowledge base.

  61. 64

    imp

    260deepfates/imp · Elixir

    Imp is a full port of DSPy to the BEAM: an Elixir framework for building and automatically improving language-model programs. You declare a step's inputs and outputs as a typed signature, and an optimizer tunes its prompts or examples against labeled data.

  62. 65

    ComfyUI-H3VAE_TRT

    253lihaoyun6/ComfyUI-H3VAE_TRT · Python

    A ComfyUI custom node that runs the MiniMax-H3 VAE as a compiled TensorRT engine instead of the regular one, making it up to 1.7x faster.

  63. 66

    Game-Optimizer-CPUs-Threads-Optimizer

    214charlie754/Game-Optimizer-CPUs-Threads-Optimizer · C++

    Game Optimizer is a Windows tray app that pins a chosen game (and its child processes) to the correct CPU cache complex using the Windows CPU Sets API, instead of using affinity masks, disabling SMT, or changing BIOS settings.

  64. 67

    InstinctFlash

    197General-Instinct/InstinctFlash · Python

    InstinctFlash is a high-performance serving runtime for robotics foundation models - it loads checkpoints like GR00T, Cosmos3, pi0.5, LingBot-VA/VLA and DreamZero, applies acceleration (FP8, fused Triton kernels, caching) and serves them over Python or WebSocket, reporting up to 33.78x speedup on Jetson Thor.

  65. 68

    RingOut

    195jackpoison-prog/RingOut · C

    RingOut is a native PC port of a GameCube fighting game (disc ID GRSEAF), made by static recompilation rather than emulation: the original PowerPC executable is translated ahead of time into C, compiled for x86-64, and run as native code inside a Dolphin-derived runtime that handles graphics, audio, input and hardware emulation around it.

  66. 69

    explaindb

    191explaindb/explaindb · HTML

    ExplainDB is teaching material for a database systems course: a collection of Jupyter notebooks paired with a small Python DBMS (the system/ package) written to be readable, used alongside Prof. Jens Dittrich's 'Database Systems 2024/25' lecture at Saarland University.

  67. 70

    learned_index_lab

    166gilnett/learned_index_lab · Rust

    It is a pure Rust, zero-dependency implementation of the PGM-index (Piecewise Geometric Model learned index) along with a benchmark suite that compares it against a standard BTreeMap, flat slice binary search, and a cache-conscious Eytzinger layout.

  68. 71

    toolrush

    158OnlyTerp/toolrush · Python

    ToolRush is a low-overhead execution layer plugin for Hermes Agent (Nous Research's agent harness) that eliminates the latency overhead of tool calls like file reads, searches, and terminal commands while keeping the same tools, outputs, and safety gates.

  69. 72

    cumcm-c-problem-lfs

    146liufanshan11/cumcm-c-problem-lfs · TeX

    A skill for AI agents that handles Problem C of CUMCM, China's national undergraduate math-modeling contest: a full modeling-and-paper production workflow distilled from 2018–2025 official C-problem papers, expert commentary and grading standards.

Often tagged together