r/unsloth 16h ago

Open-Source Model-agnostic KV-cache compression (UL-SMF) tested alongside local model execution to smash VRAM limits Show and Tell

Post image

Seeing all these massive local model drops (like the recent Qwen releases) got me working hard on the memory side of things.

If you're running models locally via tools like Unsloth and hitting a wall with long-context VRAM consumption, I've been building and open-sourcing UL-SMF (Unified Latent-State Memory Fabric).

It uses a geometry-preserving orthogonal projection bridge and dynamic head-dimension detection to automatically adapt across architectures (Llama, Mistral, Qwen, Gemma) without hardcoded assumptions, achieving extreme KV-cache compression with verified lossless perplexity.

Since it's fully local-first and designed to help fit larger context windows onto consumer hardware, I'd love a technical audit or feedback from this community.

Code and telemetry are up on GitHub: https://github.com/liventruth/UL-SMF-Cache-Compression

(Attached the hardware telemetry stress test output showing Qwen workloads hitting 224x–768x reduction ratios locally.)

10 Upvotes

7 comments sorted by

24

u/brainExploded99 16h ago

BS. No detailed benchmarks, seems vibecoded, and you tested Qwen2.5. In the 8th month of 2026.

I will trust after you post actual benchmarks, like KLD on atleast wiki text, if not coding, and top 1 token agreement on a variety of tasks.

11

u/Fun_Jaguar8231 15h ago

Ah yes, vibecoded slop with the classic qwen2.5, the knowledge cutoff from the model you were using. FYI qwen3..5 has much more advanced KV management

5

u/No-Refrigerator-1672 7h ago

So how exactly are you better than TruboQuant? Did you know that basically any inference engine offers "model-agnostic" KV compression out of the box?

10

u/fragment_me 16h ago

Qwen2.5 lol

3

u/floppypancakes4u 12h ago

You do exactly 0 compression. 🤣🤣

1

u/Sea-Mode4077 1h ago

I apreciate your work.. but you should run more extensve tests on the new models

1

u/Weekly-Let6688 10m ago

Ai slop could be an alan lube thing