PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Memory Efficient Python Packages

Python packages with the GitHub topic memory-efficient. Sorted by monthly downloads, with stars and forks.
ikegami-yukino
madoka

Memory-efficient Count-Min Sketch Counter (based on Madoka C++ library)

39K 27 3
Koratahiu
adv-optm

A family of highly efficient, lightweight yet powerful optimizers.

16K 38 5
orieg
expanse-trie

256-ary radix trie and Judy arrays in Rust — drop-in libjudy C ABI, MIT/Apache-2.0

12K 4 0
yangluo7
came-pytorch

[ACL 2023] The official implementation of "CAME: Confidence-guided Adaptive Memory Optimization"

8K 100 9
gg320324492-lgtm
gigaxml

Extract structured data from multi-gigabyte XML files with bounded memory, as a command line tool and a desktop application.

2K 0 0
zhuhanqing
apollo-torch

APOLLO: SGD-like Memory, AdamW-level Performance; MLSys'25 Oustanding Paper Honorable Mention

2K 365 20
yanfeiwong
adafactor8bit

Memory-efficient PyTorch optimizers with Adaptive Log-Space quantization, fused CUDA kernels, and Adafactor, CAME, APOLLO support.

2K 3 0
andrey-savov
savov-compact-tree

Compact tree representation in storage implemented in Python3 and C

2K 0 0
hareramray
neurostream

Run transformers larger than memory. Weights stream from NVMe at neuron-block granularity under a hard RAM/VRAM ceiling - 142 GB across 3 shards on an 8 GB GPU. GGUF, MoE selective expert fetch, Triton fused dequant-GEMV kernels.

1K 1 0
BennyThadikaran
fast-csv-loader

A fast and memory efficient way to load large CSV files (Timeseries data) in Pandas.

760 9 3
fabriziomusacchio
zenreg

ZenReg is a Python-based high-throughput, memory-efficient pipeline for N-dimensional image registration, designed for large microscopy and imaging datasets.

743 2 0
lucidrains
memory-efficient-attention-pytorch

Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"

667 395 36
flatwire-io
flatwire

Streaming JSON serialization that keeps memory flat and time linear - one identical API across Python, Node, .NET, Rust, Go, and Java.

603 1 0
DAMO-NLP-SG
inf-cl

[CVPR 2025 Highlight] The official CLIP training codebase of Inf-CL: "Breaking the Memory Barrier: Near Infinite Batch Size Scaling for Contrastive Loss". A super memory-efficiency CLIP training scheme.

542 288 13
raghavenderreddygrudhanti
faceflash

Face search engine: 100% recall at 96x less memory than HNSW. Register photos, identify people from camera/video/images. AVX-512 + Rust. No GPU needed.

485 20 4
luiz826
diet-pandas

Automated memory optimization for Pandas DataFrames. Reduces memory by 50-80% and loads CSV 5-10x faster. Drop-in replacement that returns standard DataFrames - works with sklearn, matplotlib, and all your favorite libraries. Safe, fast, and zero refactoring required.

297 3 0
csukuangfj
optimized-transducer

Memory efficient transducer loss computation

199 71 11
AlcAI-Haven
fastflash-attention

Drop-in exact bf16 flash-attention for CUDA with a deterministic backward, tuned for Blackwell (sm_120 / RTX 5090).

133 2 0
forhaoliu
ringattention

Large Context Attention

130 774 52
ikegami-yukino
morris-counter

Memory-efficient probabilistic counter namely Morris Counter

29 5 2
SVECTOR-CORPORATION
ssma

Structured State Matrix Architecture (SSMA) is a high-performance framework designed for efficient sequence modeling, combining structured state space models with adaptive attention mechanisms.

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