memory-optimization

Tag

Cards List
#memory-optimization

CommitKV: Lifecycle-Aware KV Cache Compression via Commit Transitions for Multi-Turn Agents

arXiv cs.LG · yesterday Cached

CommitKV proposes a lifecycle-aware KV cache compression method for multi-turn ReAct agents, distinguishing dormant tokens from completed ones via commit transitions to reduce memory use and speed up inference.

0 favorites 0 likes
#memory-optimization

I've added Maple-Preview to Mference, got 40 tps generation with 500MB of used RAM on Air M4

Reddit r/LocalLLaMA · 2d ago

The author adds Maple-Preview support to Mference, a tool that streams MoE experts from disk to run large models on low-RAM devices, achieving 40 tps with 500MB RAM on an Air M4.

0 favorites 0 likes
#memory-optimization

@v0xium: A great paper, it introduces ZeRO (Zero Redundancy Optimizer), which is a system of memory optimizations for efficient …

X AI KOLs Timeline · 4d ago Cached

Highlights a paper introducing ZeRO (Zero Redundancy Optimizer), a memory optimization system for efficiently training extremely large models on limited GPU memory.

0 favorites 0 likes
#memory-optimization

How i managed to run a 193B Parameter model using only 24gb of Ram

Reddit r/ArtificialInteligence · 6d ago

Describes Iris Ai, a system that routes queries across 8 specialized LLMs on consumer hardware, achieving large-model performance with low memory by keeping only one model active at a time and dynamic model swapping.

0 favorites 0 likes
#memory-optimization

AnchorKV: Anchor-Residual KV Cache Compression

arXiv cs.LG · 2026-08-05 Cached

AnchorKV is a new KV cache compression scheme that shrinks the cache by 20x without discarding any tokens, using anchor-residual representations to preserve 99% of full-cache accuracy at the 70B scale. The paper is a preprint under review.

0 favorites 0 likes
#memory-optimization

Gemma 4 on 500MB

Reddit r/LocalLLaMA · 2026-08-04

Discusses running Gemma 4 on a device with only 500MB of memory, likely through quantization or other optimization techniques.

0 favorites 0 likes
#memory-optimization

[Deepseek-V4-Flash-0731] Full 1M context on a single RTX5090 + DDR5 Desktop Setup with VLLM CPU/Ram Offloading, ~800 tps pp & 15+ tps decode [Agentic Coding]

Reddit r/LocalLLaMA · 2026-08-04

Technical write-up on running DeepSeek-V4-Flash-0731 with full 1M context on a single RTX 5090 + 256GB DDR5 desktop using vLLM with CPU/RAM offloading, achieving ~800 tps prefill and ~15 tps decode.

0 favorites 0 likes
#memory-optimization

Show HN: Run an 80B Qwen in 4.3 GB of RAM on a Mac, and a 35B on an iPhone

Hacker News Top · 2026-08-03

Demonstrates running an 80B Qwen model in just 4.3 GB of RAM on a Mac and a 35B model on an iPhone, showcasing extreme memory optimization for local LLM inference.

0 favorites 0 likes
#memory-optimization

@PyTorch: PyTorch 2.13 brings FlexAttention to Apple Silicon, cuts peak memory by up to 4× for large-vocabulary models with nn.Li…

X AI KOLs Following · 2026-07-31 Cached

PyTorch 2.13 release brings FlexAttention to Apple Silicon with up to 12x speedups and 4x peak memory reduction for large-vocabulary models via fused LinearCrossEntropyLoss, alongside updates to distributed training, compilation, and on-device inference.

0 favorites 0 likes
#memory-optimization

I tried running a 1.56TB MoE model on a 6GB RTX 4050 Laptop, Here’s the result

Reddit r/LocalLLaMA · 2026-07-29

Testing a 1.56TB Mixture-of-Experts model on a 6GB RTX 4050 laptop, requiring patched memory streaming with NVMe to achieve 0.106 tokens/s decode speed.

0 favorites 0 likes
#memory-optimization

The secret life of data in Valkey

Lobsters Hottest · 2026-07-26 Cached

Valkey uses different encodings like listpack and hashtable for its data types to balance memory and performance; understanding these internal structures can lead to significant memory savings.

0 favorites 0 likes
#memory-optimization

@dunik_7: he made 405-billion-parameter models run on a single 8GB gaming GPU. instead of turning it into a paid service, he open…

X AI KOLs Timeline · 2026-07-16 Cached

AirLLM is an open-source tool that enables running 405-billion-parameter models on a single 8GB gaming GPU by streaming layers, priced at free and Apache 2.0 licensed.

0 favorites 0 likes
#memory-optimization

@thesupermanmx: SAM ALTMAN HAS LOST IT. Google just shrunk 31GB of AI memory down to 4GB. They open-sourced a vector index that fits 10…

X AI KOLs Timeline · 2026-07-15 Cached

Google open-sourced a vector index that compresses 31GB of AI memory to 4GB, fitting 10 million documents and searching faster than FAISS, with zero training or GPU required.

0 favorites 0 likes
#memory-optimization

@brianbellx: I removed 423 GB from GLM‑5.2 without changing the model. 1,403 GB → 980 GB. 753B weights. Bit for bit exact. No quanti…

X AI KOLs Timeline · 2026-07-12 Cached

A technique to remove 423 GB from GLM-5.2 (753B weights) without quantization or retraining, achieving bit-exact compression by keeping weights compressed in VRAM.

0 favorites 0 likes
#memory-optimization

MosaicKV: Serving Long-Context LLM with Dynamic Two-D KV Cache Compression

arXiv cs.LG · 2026-07-02 Cached

MosaicKV introduces dynamic two-dimensional KV cache compression for long-context LLM serving, achieving up to 16x attention speedup and 3x memory reduction with minimal accuracy loss.

0 favorites 0 likes
#memory-optimization

RoPE-Aware Bit Allocation for KV-Cache Quantization

arXiv cs.LG · 2026-06-24 Cached

Proposes Block-GTQ, a RoPE-aware bit allocation method for key-value cache quantization that improves long-context performance and memory efficiency by allocating more bits to high-energy RoPE blocks.

0 favorites 0 likes
#memory-optimization

@thtrkim: Visual deep dive on FlashAttention by hand (drawn with Excalidraw) https://winterrykim.github.io/blog/2026/training-lm-…

X AI KOLs Timeline · 2026-06-23 Cached

A visual deep dive into FlashAttention, explaining memory optimization and operator fusion for efficient attention computation in language model training.

0 favorites 0 likes
#memory-optimization

Reverse Engineering the Qualcomm NPU Compiler

Lobsters Hottest · 2026-06-20 Cached

Reverse engineering the Qualcomm NPU compiler reveals undocumented VTCM memory management, MILP-based placement, automatic precision alteration, and a hidden analytical simulator (Hextimate) for edge deployment optimization.

0 favorites 0 likes
#memory-optimization

@FakeMaidenMaker: Incredible! This open-source project can significantly speed up and save VRAM for self-hosted large model inference. It has garnered 9.2K stars on GitHub, joined the PyTorch Foundation, and NVIDIA's Dynamo has integrated it. GitHub: https://github.com/LMC…

X AI KOLs Timeline · 2026-06-18 Cached

LMCache is a KV cache management layer that accelerates large model inference and reduces VRAM consumption by caching and reusing KV cache. It has received 9.2K stars and joined the PyTorch Foundation, and is integrated by NVIDIA Dynamo.

0 favorites 0 likes
#memory-optimization

NVFP4 kv cache quantization on sm120 will make 32GB VRAM systems very capable

Reddit r/LocalLLaMA · 2026-06-18

NVFP4 KV cache quantization on sm120 significantly improves memory efficiency for large language models, enabling 32GB VRAM systems to achieve ~60 tok/sec inference at 196k context size with Qwen3.6-27B.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback