Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Inference Optimization Python Packages

Python packages with the GitHub topic inference-optimization. Sorted by monthly downloads, with stars and forks.
Siddhant-K-code
llmtracefx

Evidence-first tools to measure, verify, and optimize LLM inference across local GPUs and OpenAI-compatible APIs.

13K 16 1
Andreas-Hum
tinydistill

Distil an LLM classification prompt into a small, fast model that runs on a CPU

5K 0 0
Thiggel
economize

Composable efficiency techniques (speculative decoding, early exit, quantization, sparsity, KV compression) for Hugging Face models

3K 3 0
brontoguana
krasis

Krasis is a Hybrid LLM runtime which focuses on efficient running of larger models on consumer grade VRAM limited hardware

3K 532 32
Prajwal7-2002
infersize

Analytical performance modeling, VRAM capacity planning, speculative decoding sizing, and hardware roofline prediction for LLM serving.

2K 2 0
Zwannfrederick
argus-cache

Hardware-aware LLM inference optimization: efficient CPU/GPU resource management, reduced redundant computation, and minimized data movement.

1K 0 0
tanavc1
llm-autotune

39% faster TTFT, 67% less KV cache, zero config — autotune optimises local LLMs on Ollama, LM Studio, and MLX

1K 37 3
Just1truc
kernel-lens

Compile PyTorch models with custom @triton.jit kernels into ONNX Runtime and TensorRT C++ plugins

1K 8 0
cookiesheep
univis

Layer-wise A/B for LLMs: find the first layer where two runs diverge (MetaX C500 / NVIDIA / CPU), plus redundancy profiling

1K 1 0
YuhuaBillChen
justfit-llm

Run Qwen3.8-27B with its full 256K context on a 24 GB Mac. Long-context local LLM serving for Apple silicon, built on Inco AI's Splash. OpenAI-compatible API.

1K 14 0
BenevolentJoker-JohnL
sollol

Intelligent Load Balancer for Ollama Clusters - Adaptive Parallelism + VRAM-Aware GPU Routing + Ray/Dask/llama.cpp Distribution

1K 6 5
EfficientContext
contextpilot

Accelerating Long Context LLM Inference with Accuracy-Preserving Context Optimization in SGLang, vLLM, llama.cpp, OpenClaw, RAG, and Agentic AI.

983 145 8
Prajwal7-2002
quantbench-engine

First-principles LLM quantization engine, bit-packing runtimes, 2:4 sparsity, and Quality-vs-Speed Pareto evaluation benchmark.

931 1 0
lnexenl
flashim

FlashIM: fast, quantized, multi-platform inference for image matching

898 1 0
Mattral
flashspec

Lossless speculative decoding for HuggingFace causal language models, with a static-cache CUDA-graph fast path.

820 17 0
Prajwal7-2002
sched-sim

High-fidelity discrete-event simulator for LLM serving schedulers (FCFS, SJF, Chunked Prefill, Radix Prefix Caching, SLO-Aware, Disaggregated).

808 3 0
aifeifei798
harmonic-llm

Training-free amplitude outlier suppression for Transformer Q/O projections, with a measured cost.

696 0 0
Alberto-Codes
turboquant-vllm

TurboQuant KV cache compression plugin for vLLM — asymmetric K/V, 8 models validated, consumer GPUs

670 51 7
msaleme
ace-experiment-framework

Contract and claim-boundary tooling for empirical AI-system experiments. Turns retained evidence into falsifiable, condition-specific decisions.

639 2 0
Jauhenka
inferencefit

Benchmark LLMs on your own workloads. Find the best balance of quality, cost, latency, and reliability. Open-source and agent-ready.

569 0 0
ManuelSLemos
rabbitllm

Run 70B+ LLMs on a single 4GB GPU — no quantization required.

484 95 21
nicolasambin
lazycontroller

A drop-in replacement for the openai Python client that sends structured-output calls to a fast decision model first, and to the LLM you already use whenever that model isn't confident or the call isn't a decision.

473 0 0
sarkarbikram90
airun-profiler

An open-source AI infrastructure profiler that connects AI workload telemetry to physical infrastructure behavior and economics.

469 3 0
fabriziopfannl
llm-autobatch

Automatic micro-batching for HTTP LLM calls and local PyTorch inference, backed by a Rust core.

446 4 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology