惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
有赞技术团队
有赞技术团队
博客园_首页
H
Help Net Security
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
V
Visual Studio Blog
The Cloudflare Blog
腾讯CDC
Jina AI
Jina AI
Last Week in AI
Last Week in AI
月光博客
月光博客
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
爱范儿
爱范儿
N
Netflix TechBlog - Medium
F
Fortinet All Blogs

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - sipsalabs/ultracompress: Extreme compression inf...
mounnar · 2026-05-09 · via Hacker News: Show HN

Compression infrastructure for trained transformers. Single 32GB consumer GPU. 1.7B → 405B parameters. Dense and MoE.

UltraCompress takes any HuggingFace transformer checkpoint and produces a .uc artifact at sub-1.5% perplexity degradation, on a single consumer GPU, regardless of whether the source model fits in GPU memory.

The 9-architecture matrix as of 2026-05-07:

Model Params Type Baseline PPL Compressed PPL PPL_r
Qwen3-1.7B 1.7B dense 16.116 16.263 1.0091
Mistral-7B-v0.3 7.2B dense 6.443 6.525 1.0126
Llama-3.1-8B 8.0B dense 8.265 8.324 1.0071
Llama-3.1-70B 70B dense 6.118 6.173 1.0090
Hermes-3-Llama-3.1-405B 405B dense 4.910 4.945 1.0071
Qwen3-235B-A22B 235B MoE 128 8.095 8.125 1.0038
Mixtral-8x22B-v0.1 141B MoE 8 5.145 5.176 1.0061
Mixtral-8x7B-v0.1 46.7B MoE 8 6.004 6.026 1.0037
Phi-3.5-MoE-instruct 42B MoE 16 6.513 6.521 1.0013

Mean PPL_r: 1.0066. All 9 PASS the ≤1.013 stretch goal.


Install

pip install ultracompress

Compress (single command, single GPU)

uc compress \
  --hf-id Qwen/Qwen3-8B \
  --bpw 5 \
  --rank 32 \
  --device cuda:0 \
  --output ./qwen3-8b.uc

Streams the source model from disk one decoder layer at a time. Caches teacher hidden states. Trains a per-layer V18-C correction. Writes a single .uc directory of layer-shaped artifacts. Peak VRAM bounded by one decoder layer + activations.

Load and run

import ultracompress as uc
from transformers import AutoModelForCausalLM

skeleton = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B", torch_dtype="float16")
compressed = uc.load("./qwen3-8b.uc", skeleton)
out = compressed.generate(input_ids, max_new_tokens=128)

What's supported

  • Architectures: Qwen3, Qwen2/2.5, Mistral, Llama, Mixtral, Phi-3, Phi-MoE, Qwen3-MoE.
  • Scale: from 1.7B to 405B dense; from 42B to 235B MoE; tested on a single 32GB GPU end-to-end.
  • Hardware: any CUDA GPU with at least 16 GB VRAM. Tested on RTX 5090 (32 GB).
  • Calibration: 64 prompts × 1024 tokens FineWeb-edu by default; bring your own corpus with --calibration-tokens path.pt.

Method (high level)

  1. Stream-compress (Phase 1) — load each decoder layer one at a time from local safetensors shards, run a teacher forward pass to cache the next-layer hidden state on CPU, free the layer.
  2. Per-layer V18-C training (Phase 2) — for each layer in turn: load weights, apply 5-bit GSQ scalar quantization, wrap each Linear with a low-rank V18-C correction (y = (alpha * Wq + V@U) @ x + b), train rank-32 corrections via hidden-MSE for 200 steps with SVD warm-start.
  3. Streaming-teacher PPL — baseline-quality measurement uses the same per-layer streaming pipeline so the comparison is exact.

For the full pipeline see scripts/overlay/stream_compress_e2e.py.

License

Apache 2.0. Patent provisionals 64/049,511 and 64/049,517 filed at the USPTO 2026-04-25.

Contact

founder@sipsalabs.com — Sipsa Labs, Inc.