memory-optimization

Tag

Cards List
#memory-optimization

rust-glancer: An alternative LSP for Rust with focus on low memory usage

Lobsters Hottest ↗ · 2026-08-21 Cached

Introducing rust-glancer, an alternative Language Server Protocol implementation for Rust focused on low memory usage, featuring immediate indexing after restart and better performance on older hardware.

0 favorites 0 likes
#memory-optimization

WhiteMatter: All-to-All Cross-Layer Connections via KV Mixing

arXiv cs.CL ↗ · 2026-08-20 Cached

WhiteMatter introduces all-to-all cross-layer connections in Transformers via KV mixing, reducing memory footprint and improving performance over standard architectures in pretraining experiments.

0 favorites 0 likes
#memory-optimization

Show HN: Shoehorn – Quantize any model down to run on your machine

Hacker News Top ↗ · 2026-08-18 Cached

Shoehorn is a developer tool that quantizes language models to perfectly fit within a machine's available memory, achieving up to 99.99% memory usage efficiency for local inference.

0 favorites 0 likes
#memory-optimization

Trained an diffusion model that runs on 264KB of RAM [P]

Reddit r/MachineLearning ↗ · 2026-08-18

An individual trained a diffusion model to generate 32x32 pixel images on a Shrike lite microcontroller with only 264KB RAM, experimenting with FPGA acceleration that hit memory bottlenecks, resulting in noisy but sometimes interesting outputs.

0 favorites 0 likes
#memory-optimization

KV Cache Compression Through the Lens of Transform Coding

arXiv cs.LG ↗ · 2026-08-17 Cached

The paper proposes Attention-Aware Transform Coding (AATC) for compressing KV caches in large language models, achieving near-lossless accuracy at around 5.8x compression by minimizing distortion through attention mechanisms.

0 favorites 0 likes
#memory-optimization

Nanbeige4.2-3B on Apple Silicon: Fixing Deployment Bugs and Decreasing Looped Transformer Memory Overhead

arXiv cs.AI ↗ · 2026-08-17 Cached

This paper addresses deployment bugs in the Nanbeige4.2-3B Looped Transformer model on Apple Silicon and introduces a memory-efficient chunked-prefill strategy to enable agentic tasks.

0 favorites 0 likes
#memory-optimization

Joint Optimization of Memory and Computing Frequency for Energy-Efficient DNN Inference

arXiv cs.AI ↗ · 2026-08-17 Cached

This paper proposes a joint optimization of memory and computing frequency for energy-efficient DNN inference on mobile devices, achieving up to 10.4% energy reduction compared to other methods.

0 favorites 0 likes
#memory-optimization

Thought-Aware KV Cache Compaction for Reasoning via Adaptive Attention Matching

arXiv cs.CL ↗ · 2026-08-14 Cached

This paper introduces Thought-Aware Attention Matching (TAM), a method for compressing KV caches during long chain-of-thought reasoning by segmenting reasoning traces, adaptively allocating compression budgets, and protecting pivotal tokens. Experiments on AIME 2024 and MATH-500 with Qwen3-4B show significant memory reduction while maintaining accuracy.

0 favorites 0 likes
#memory-optimization

LazyTrain: Limited-resource Allocation toward Zero-waste Yield Optimization in Large Language Model Training

arXiv cs.CL ↗ · 2026-08-13 Cached

LazyTrain is a research system that optimizes LLM training on limited hardware by formulating checkpoint selection, activation placement, recomputation, and CPU-GPU-NVMe communication overlap as a mixed-integer scheduling problem, achieving ~1.24x TFLOPS improvement over matched baselines.

0 favorites 0 likes
#memory-optimization

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

arXiv cs.LG ↗ · 2026-08-11 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 ↗ · 2026-08-10

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 ↗ · 2026-08-08 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 ↗ · 2026-08-06

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
← Previous
Next →
← Back to home

Submit Feedback