Skip to content
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)

48K 27 3
Koratahiu
adv-optm

A family of highly efficient, lightweight yet powerful optimizers.

21K 39 5
yangluo7
came-pytorch

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

9K 100 9
orieg
expanse-trie

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

6K 5 0
zhuhanqing
apollo-torch

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

6K 369 20
bugraoezdemir
micro-reader

Memory-bounded pixel reader for microscopy files: read exactly the region you ask for, from CZI, ND2, LIF, OIR, VSI, OME-TIFF, whole-slide and high-content screening plate formats, behind one File / Image interface.

5K 1 0
bugraoezdemir
micro-reader-codecs

Memory-bounded pixel reader for microscopy files: read exactly the region you ask for, from CZI, ND2, LIF, OIR, VSI, OME-TIFF, whole-slide and high-content screening plate formats, behind one File / Image interface.

4K 1 0
yanfeiwong
adafactor8bit

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

2K 3 0
lucalullo
codadapt

Experimental tabular machine-learning algorithm based on adaptive coded memory and shared multi-resolution encoding.

1K 0 0
andrey-savov
savov-compact-tree

Compact tree representation in storage implemented in Python3 and C

1K 0 0
bugraoezdemir
micro-reader-core

Memory-bounded pixel reader for microscopy files: read exactly the region you ask for, from CZI, ND2, LIF, OIR, VSI, OME-TIFF, whole-slide and high-content screening plate formats, behind one File / Image interface.

1K 1 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"

1K 395 36
BennyThadikaran
fast-csv-loader

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

987 9 3
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.

764 287 13
xaedro-ai
hakuli

Memory-efficient PyTorch optimizer for full-parameter LLM training and fine-tuning. Low-rank optimizer state, no SVD.

679 0 0
flatwire-io
flatwire

Streaming JSON serialization that keeps memory flat and time linear - stream large collections element-by-element.

576 1 0
fabriziomusacchio
zenreg

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

433 2 0
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.

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

403 3 0
gg320324492-lgtm
gigaxml

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

386 0 0
forhaoliu
ringattention

Large Context Attention

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

186 1 0
csukuangfj
optimized-transducer

Memory efficient transducer loss computation

165 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).

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