LLM Compression
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- ai
Direzione di ricerca
This is a design proposal with no named files or entry points in this repository. The payload only names external artifacts: the SamsungLabs/LittleBit repository, its LittleBitLinear layer, and littlebit_config.json. Start by reading the reference repository to understand the checkpoint format and the QAT requirement. Done would need a maintainer-agreed scope for which checkpoints and runtime path are supported, which the issue does not yet define.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Running capable models locally on everyday machines is constrained by memory capacity and memory bandwidth—especially when hosting larger models alongside active context, embeddings, or local agent workloads. Higher-precision or standard 4-bit weights often exceed available local VRAM or unified/system RAM budgets.
Integrating sub-1-bit latent-factorized compression (SamsungLabs/LittleBit) would help by:
- Shrinking model weight memory footprints (targeting 1.0 down to sub-1-bit / 0.1 bits per weight) via low-rank latent factorization and binarized factors with learned magnitude scales.
- Leveraging LittleBit-2 (
--use_itq/ Joint-ITQ latent geometry alignment) during initialization to improve quality retention at aggressive compression ratios without adding inference-time overhead. - Making larger model families (e.g., Llama, Qwen, Gemma, Phi, OPT) more feasible on resource-constrained local hardware.
Proposal
- Checkpoint & Layer Compatibility: Support loading/running compressed checkpoints using
LittleBitLinear/littlebit_config.json(plus explicit fallback parameters for legacy checkpoints that lacklittlebit_config.json). - Runtime / Execution Path: Wire up a clean execution or conversion path for local inference (and document whether checkpoints require QAT artifacts vs. pre-compressed weights, along with optional residual factorization support).
- Configuration & Presets: Add configuration options to select compressed variants, bit-width/initialization settings (such as ITQ-aligned checkpoints), and clear error/fallback behavior when unsupported.
- Benchmarks & Docs: Document supported architectures, memory footprint vs. quality/latency trade-offs, and licensing constraints.
Alternatives
- Cloud APIs for larger models: Avoids local memory limits, but requires network access and gives up local execution/privacy.
- Smaller parameter-count models at standard bit-widths: Uses less memory, but sacrifices model capacity/reasoning compared to compressing larger models.
- Existing 2-bit / 4-bit quantizations alone: Helpful baseline, but still requires substantially more memory than sub-1-bit factorized representations.
Trade-offs & Considerations
- Quality & QAT Requirement: Extreme sub-1-bit compression relies on Quantization-Aware Training (QAT) and can trade off accuracy/perplexity at very low bit rates; evaluation across target tasks is essential before defaulting to aggressive bit budgets.
- Inference & Kernel Readiness: Because
SamsungLabs/LittleBitfocuses on QAT/evaluation withLittleBitLinearrather than out-of-the-box integration into every inference engine, production/runtime serving may require dedicated packing or kernel support. - License Check: Note that
SamsungLabs/LittleBitis released under a non-commercial license (CC BY-NC 4.0), so commercial vs. personal/research use should be accounted for.
Additional Context
- Reference repository: https://github.com/SamsungLabs/LittleBit
- Happy to help test builds, run local benchmarks, and report memory and throughput numbers.
- Lingua principale
- TypeScript
- Stelle
- 3.8k
- Fork
- 360
- Merge medio
- 8h 10m
- PR unite (30g)
- 540
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simplexai-labs/linger
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
simplexai-labs/linger#904 ·
I maintainer di solito rispondono entro 1 giorno
-
Local model JIT load waits ~22 s for a concurrency probe that always ends unmeasured and is never cachedForse già presa @oldwinter53 l’ha presa oggi. Apertabug
simplexai-labs/linger#896 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(agents): let an Agent choose runtime, model and reasoning effort when it creates an AgentAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#888 ·
I maintainer di solito rispondono entro 1 giorno
-
Hand-patches to the protected runtime are silently discarded on upgrade, with no supported overrideAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#883 ·
I maintainer di solito rispondono entro 1 giorno
-
Daily memory report silently never runs: 5-minute step ceiling plus a stuck in-memory #scheduled setAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
simplexai-labs/linger#881 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di simplexai-labs/linger
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MetaMask/eth-phishing-detect#317371 ·
I maintainer di solito rispondono entro 1 giorno
-
android:player ios:player
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
erkamyaman/rust-anything#963 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ZdruzenieSTROM/webstrom-frontend#934 ·
I maintainer di solito rispondono entro 1 giorno
-
bug(worker): detector run is marked failed and never retried when span download failsForse già presa @jagrutgarg l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
traceroot-ai/traceroot#3434 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno