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.6K stars), winutil (64.4K stars) and dive (54.6K stars). GitHub.Locker tracks 74 Optimization repositories with 938.6K stars combined. The fastest-growing on October 16 was solo_jev, with +149 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
solo_jev
0814wdwd/solo_jev · ★ 622SOLO reorders the rows and fields of a dataset so an LLM decision backend with prefix caching can reuse computation across requests, running a natural-language decision over every row while returning results in the original row order.
heretic
p-e-w/heretic · ★ 35.6KHeretic 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.
Winhance
memstechtips/Winhance · ★ 13.8KWinhance 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.
+74winutil
ChrisTitusTech/winutil · ★ 64.4KChris 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.
The all-time top
74 projects · by stars
- 67.6K
#1 · labmlai/annotated_deep_learning_paper_implementationsannotated_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.
- 64.4K
#2 · ChrisTitusTech/winutilwinutil
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.
- 54.6K
#3 · wagoodman/divedive
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.
- 4

ray
44.1Kray-project/ray · PythonRay 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.
- 5
llvm-project
41.1Kllvm/llvm-project · LLVMLLVM is an open-source toolkit for constructing highly optimized compilers, optimizers, and run-time environments; this repository holds its source code.
- 6

dspy
38.7Kstanfordnlp/dspy · PythonDSPy 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.
- 7
heretic
35.6Kp-e-w/heretic · PythonHeretic 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.
- 8
czkawka
34.3Kqarmin/czkawka · FluentCzkawka 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.
- 9

tuning_playbook
30.4Kgoogle-research/tuning_playbookA free, in-depth guide from five Google Research Brain Team researchers (plus a Harvard co-author) on systematically maximizing the performance of deep learning models — the 'Deep Learning Tuning Playbook'.
- 10

fasthttp
23.5Kvalyala/fasthttp · GoFastHTTP 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.
- 11

slim
23.4Kslimtoolkit/slim · GoSlimToolkit (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.
- 12
svgo
22.7Ksvg/svgo · JavaScriptSVGO (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.
- 13
react-scan
21.9Kaidenybai/react-scan · TypeScriptReact 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.
- 14

Atlas
21.9KAtlas-OS/Atlas · BatchfileAtlas 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.
- 15

SkillOpt
18.5Kmicrosoft/SkillOpt · PythonA 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.
- 16

DeepLearning
17.8KMikoto10032/DeepLearning · Jupyter NotebookA Chinese-language deep learning tutorial — a huge curated collection of links to courses, books, lecture notes, surveys and code, taking you from math basics through CNNs, GANs, RNNs and GNNs to Kaggle practice and interview prep.
- 17

million
17.7Kaidenybai/million · TypeScriptMillion.js is an extremely fast and lightweight optimizing compiler for React that makes components up to 70% faster by speeding up reconciliation.
- 18

Front-End-Performance-Checklist
17.4Kthedaviddias/Front-End-Performance-ChecklistIt'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.
- 19
codon
16.9Kexaloop/codon · PythonCodon 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++.
- 20

Modern-CPP-Programming
16.2Kfederico-busato/Modern-CPP-Programming · HTMLA 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.
- 21

Nuitka
15.2KNuitka/Nuitka · PythonNuitka is a Python compiler, written in Python itself, that translates Python code into C and then compiles it into an executable or extension module.
- 22

scipy
15.1Kscipy/scipy · PythonSciPy (pronounced 'Sigh Pie') is an open-source Python library for mathematics, science, and engineering.
- 23

ants
14.5Kpanjf2000/ants · Goants 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.
- 24

or-tools
14.2Kgoogle/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.
- 25

prepack
14.1Kfacebookarchive/prepack · JavaScriptPrepack is a partial evaluator for JavaScript that rewrites a JS bundle into code that executes more efficiently, especially useful for initialization-heavy code.
- 26
Winhance
13.8Kmemstechtips/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.
- 27

primitive
13.5Kfogleman/primitive · GoIt 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.
- 28

scalene
13.5Kplasma-umass/scalene · PythonScalene 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.
- 29

UglifyJS
13.4Kmishoo/UglifyJS · JavaScriptUglifyJS is a toolkit for JavaScript that parses, minifies, compresses, mangles, and beautifies code, mainly used to shrink JS files for production.
- 30

deep-learning-drizzle
13Kkmario23/deep-learning-drizzle · HTMLA 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.
- 31

VasSonic
11.8KTencent/VasSonic · JavaVasSonic (Sonic for short) is a lightweight, high-performance hybrid framework from Tencent's VAS team that speeds up the first screen of websites loaded in hybrid apps on Android and iOS.
- 32

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.
- 33

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.
- 34

go-perfbook
10.9Kdgryski/go-perfbookIt is a free, work-in-progress book documenting best practices for writing high-performance Go code, covering both general optimization techniques and Go-specific ones.
- 35

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

optimizerDuck
10.5Kitsfatduck/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.
- 37

critical
10.3Kaddyosmani/critical · JavaScriptIt 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.
- 38

tpot
10.1KEpistasisLab/tpot · Jupyter NotebookTPOT, the Tree-based Pipeline Optimization Tool, is a Python AutoML library that uses genetic programming to automatically optimize machine learning pipelines for your data; the README calls it your Data Science Assistant.
- 39
pi-autoresearch
8.2Kdavebcn87/pi-autoresearch · TypeScriptpi-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.
- 40
closure-compiler
7.7Kgoogle/closure-compiler · JavaScriptA 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.
- 41

pxpipe
7.5Kteamchong/pxpipe · TypeScriptpxpipe 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.
- 42

ANE
7.3Kmaderix/ANE · Objective-CANE 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.
- 43

turboquant_plus
7KTheTom/turboquant_plus · PythonTurboQuant+ 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.
- 44
darwin-skill
6.4Kalchaincyf/darwin-skill · HTMLDarwin.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.
- 45

xquad
5.6KQuipNetwork/xquad · PythonXQuad 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.
- 46

hermes-agent-self-evolution
5.5KNousResearch/hermes-agent-self-evolution · PythonIt 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.
- 47

original_performance_takehome
4.2Kanthropics/original_performance_takehome · PythonThis 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.
- 48

TurboDiffusion
3.9Kthu-ml/TurboDiffusion · PythonTurboDiffusion 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.
- 49
TOTK-Mods-collection
3.1Khoverbike1/TOTK-Mods-collection · ShellA community repository of mods for The Legend of Zelda: Tears of the Kingdom (TOTK), put together for playing the game on a real Switch or in Switch emulators.
- 50

ReBarUEFI
2.6KxCuri0/ReBarUEFI · CReBarUEFI is a UEFI DXE driver that enables Resizable BAR on systems whose firmware doesn't support it officially — a free performance boost, mostly noticeable in games.
- 51

spinel
2.2Kmatz/spinel · CSpinel 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.
- 52

dqn-adaptive-cpu-scheduler
1.5Kaaawangyh/dqn-adaptive-cpu-scheduler · PythonThis 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.
- 53

hexstellar
1.4Kbrayonpi/hexstellar · PythonHexStellar 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.
- 54

AntOmniEvo
1.2Kant-research/AntOmniEvo · PythonAntOmniEvo 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.
- 55

cpu-performance-engineering
1.2Kusamahz/cpu-performance-engineering · PythonA 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.
- 56

halo
825whitecircle/halo · PythonHalo 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.
- 57
solo_jev
6220814wdwd/solo_jev · PythonSOLO reorders the rows and fields of a dataset so an LLM decision backend with prefix caching can reuse computation across requests, running a natural-language decision over every row while returning results in the original row order.
- 58

DeepGEMM-Ascend
583deepseek-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.
- 59

Jet
533CubeCoders/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.
- 60
ir
509dstogov/ir · CIR 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.
- 61

mcopt
471noahdunnagan/mcopt · Javamcopt 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.
- 62
rebalancer
461facebook/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.
- 63

benjamin-plus-skill
330JetBrains/benjamin-plus-skill · ShellBenjamin-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.
- 64

EvoVLM
319zzzz7788990213-ops/EvoVLM · PythonEvoVLM is a research project that runs LLM-guided, multi-objective evolutionary search over vision-language inference programs. It targets the accuracy-latency trade-off on scientific chart understanding while keeping model weights frozen.
- 65

imp
254deepfates/imp · ElixirImp 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.
- 66

ComfyUI-H3VAE_TRT
254lihaoyun6/ComfyUI-H3VAE_TRT · PythonA 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.
- 67

Hyperloom
241AMD-AGI/Hyperloom · PythonA 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.
- 68

Game-Optimizer-CPUs-Threads-Optimizer
211charlie754/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.
- 69

InstinctFlash
200General-Instinct/InstinctFlash · PythonInstinctFlash 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.
- 70

explaindb
167explaindb/explaindb · Jupyter NotebookExplainDB 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.
- 71

RingOut
163jackpoison-prog/RingOut · CRingOut 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.
- 72
toolrush
157OnlyTerp/toolrush · PythonToolRush 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.
- 73

cumcm-c-problem-lfs
148liufanshan11/cumcm-c-problem-lfs · TeXA 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.
- 74

Singeli
136mlochbaum/Singeli · BQNSingeli is a domain-specific language for building high-performance algorithms, including SIMD code. It provides flexible abstractions over code that maps to individual CPU instructions, and it compiles your programs down to C.
Related topics
Often tagged together