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.
Hot right now
Most stars gained in a day · Nov 30
heretic
p-e-w/heretic · ★ 44.2KHeretic 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.
+336halo
whitecircle/halo · ★ 1.3KHalo 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.
+170optimizerDuck
itsfatduck/optimizerDuck · ★ 12.6KA 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.
+146experiential
experientiallabs/experiential · ★ 20.1KExperiential 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.
The all-time top
72 projects · by stars
- 67.8K
#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.
- 67K
#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.7K
#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.3Kray-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
heretic
44.2Kp-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.
- 6
llvm-project
41.5Kllvm/llvm-project · LLVMLLVM is an open-source toolkit for constructing highly optimized compilers, optimizers, and run-time environments; this repository holds its source code.
- 7

dspy
39.3Kstanfordnlp/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.
- 8

czkawka
35.6Kqarmin/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

slim
23.5Kslimtoolkit/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.
- 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
svgo
22.8Ksvg/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.
- 12

Atlas
22.3KAtlas-OS/Atlas · PowerShellAtlas 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.
- 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

experiential
20.1Kexperientiallabs/experiential · PythonExperiential 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.
- 15

SkillOpt
19.3Kmicrosoft/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

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

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.
- 18
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++.
- 19

Modern-CPP-Programming
16.3Kfederico-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.
- 20

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

scipy
15.2Kscipy/scipy · PythonSciPy (pronounced 'Sigh Pie') is an open-source Python library for mathematics, science, and engineering.
- 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.
- 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.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.
- 25

primitive
13.6Kfogleman/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.
- 26

scalene
13.6Kplasma-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.
- 27

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

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.
Deploy on Railway - 32

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.
- 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.).
- 34
pi-autoresearch
8.3Kdavebcn87/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.
- 35

pxpipe
8Kteamchong/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.
- 36
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.
- 37

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

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.
- 39
darwin-skill
7Kalchaincyf/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.
- 40

hermes-agent-self-evolution
5.8KNousResearch/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.
- 41

fast-ruby
5.7Kfastruby/fast-ruby · HTMLA collection of common Ruby idioms, each paired with a benchmark, showing which way of writing the same code runs faster.
- 42

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

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

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

inference-optimisation-skill
2.9Ksybil-solutions/inference-optimisation-skill · PythonIt 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.
- 46

spinel
2.3Kmatz/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.
- 47

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

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

mcd-saver-strategist
1.3Khujjun/mcd-saver-strategist · Pythonmcd-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).
- 50

halo
1.3Kwhitecircle/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.
- 51

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

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

quantjourney-bt
669QuantJourneyOrg/quantjourney-bt · PythonQuantJourney 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.
- 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.
- 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.
- 56

mcopt
545noahdunnagan/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.
- 57
ir
523dstogov/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.
- 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.
- 59

tspvis
465jhackshaw/tspvis · JavaScriptA 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.
- 60

noise
452qlabs-eng/noise · PythonNoise is a benchmark/speedrun for pretraining a transformer without ever running backpropagation, testing whether other credit-assignment algorithms can match or beat backprop.
- 61

benjamin-plus-skill
339JetBrains/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.
- 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.
- 63

Hyperloom
281AMD-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.
- 64

imp
260deepfates/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.
- 65

ComfyUI-H3VAE_TRT
253lihaoyun6/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.
- 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.
- 67

InstinctFlash
197General-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.
- 68

RingOut
195jackpoison-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.
- 69
explaindb
191explaindb/explaindb · HTMLExplainDB 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.
- 70

learned_index_lab
166gilnett/learned_index_lab · RustIt 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.
- 71
toolrush
158OnlyTerp/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.
- 72

cumcm-c-problem-lfs
146liufanshan11/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.
Related topics
Often tagged together
- open-source5,461
- performance644
- developer-tools2,879
- linux4,256
- python2,386
- windows3,581
- mit3,173
- cli2,316
- macos3,658
- benchmark465
- research693
- cross-platform2,653
- library1,341
- machine-learning767
- ai2,006
- tool1,369
- apache-2.01,441
- gpu798
- llm1,590
- ai-agents1,513
- command-line-tool739
- quantization192
- agent884
- deep-learning582