# Repository Briefing: jerryliang24/Simple-Omni-Compression
> Source: https://repoforai.com/repo/jerryliang24/Simple-Omni-Compression (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/jerryliang24/Simple-Omni-Compression
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Multi-language
- **License**: See repository
- **Engineering Health**: B (53/100 · Maintenance 35/35 · Adoption 1/25 · Releases 11/20 · License 6/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, GPU, Local AI
- **Momentum**: 35 ★ total (+4 24h / +4 7d) · 0 forks
- **When to Use**: Best for: Research teams evaluating token retention, answer quality, and inference cost on local Qwen Omni workloads, provided they can obtain a complete implementation. Skip if: You need a release-pinned production integration, verified runtime compatibility, or a commercially cleared bundle of code, weights, and media.

## Overview
```text
### Architecture & Core Mechanics
Simple Omni Compression (SOC) is an inference-time compression layer, not a trainer. It allocates uniform token budgets across time, selects salient and diverse audio-visual tokens, and uses the question to refine visual selection. Custom Triton kernels and vLLM integration are intended to turn the smaller token set into actual runtime savings.

The experiment design separates dataset preprocessing (`dataset/`), compression methods (`methods/`), and media and model adapters (`utils/`) behind `run_SOC.py`. The supplied root tree contains only `README.md` and `assets/`, however. That leaves the implementation, compression insertion points, and vLLM compatibility unverified. The named modules describe the intended division of responsibilities, not an established plugin API.

### Key Capabilities & Differentiators
The listed models are Qwen2.5-Omni-3B, Qwen2.5-Omni-7B, and Qwen3-Omni-30B-A3B-Instruct. Seven named benchmarks cover audio-visual question answering and extend evaluation to long-form generation and multi-turn dialogue: Daily-Omni, AVUT, WorldSense, Video-MME, LVOmniBench, LongVALE, and LongShOT. This list does not establish support for every model–dataset pairing.

The specific performance point is a reported 1.66× inference speedup on LongShOT at 35% token retention. The comparison covers six compression baselines, but the available evidence does not break down quality or speed across models and datasets. The specified `profiling.py` interface takes `--method` and `--ratio` and covers latency, FLOPs, throughput, and GPU memory, allowing those measures to be checked separately if the implementation is available.

### Trade-offs & Limitations
The direct alternatives are FastV, SparseVLM, DyCoke, OmniZip, OmniPrune, and OmniPack. SOC's design keeps the model weights unchanged and shifts work to token selection and inference integration. Uniform temporal budgets preserve allocation across the timeline, but may spend tokens on quiet intervals while constraining dense ones. Compare task quality and end-to-end latency at the same retention ratio: selection and runtime overhead can change how much of the theoretical saving is realized.

The OmniPack baseline is a paper-based reproduction, so its numbers should not be attributed to the official implementation. Code availability and licensing are separate adoption gates: original SOC code is identified as Apache 2.0, but metadata lists no license and the linked license file is not visible in the supplied tree. Verify the exact revision and the separate terms for weights and media before commercial deployment.

### Hardware & Deployment Guide
The intended deployment is a local GPU CLI workflow. The setup path uses `uv` and `scripts/setup_env.sh`, with Python 3.13 and PyTorch 2.11.0 CUDA 13 wheels as defaults. Check driver and wheel compatibility before provisioning. Initial downloads require model and benchmark access; LongShOT preparation also needs `yt-dlp` and FFmpeg, while LongVALE uses test annotations and video archives.

Once a complete revision is available, use `--dry-run` to inspect the resolved protocol, then try a bounded run such as Daily-Omni with `--limit 10`. Configure local model and data locations with `--model` and `--data_root`. Size the GPU using the selected model, input length, token ratio, and concurrency rather than an assumed VRAM minimum. No release is listed, and the supplied tree does not expose `scripts/setup_env.sh`, `download.py`, or `run_SOC.py`; runnable deployment from this snapshot is unverified.
```

## Key Capabilities
```text
- Token allocation: Uniform temporal budgets distribute retention across the timeline; selection balances salience and diversity.
- Visual refinement: The question guides visual token selection in a separate refinement step.
- Execution path: Custom Triton kernels and vLLM integration target realized inference gains, not just lower token counts.
- Measured result: 1.66× reported inference speedup on LongShOT at 35% token retention.
- Experiment controls: `run_SOC.py` exposes `--dataset`, `--method`, and `--ratio`; `--dry-run` resolves the protocol without loading weights or data.
- Evidence gap: The supplied tree contains only `README.md` and `assets/`, leaving the runner, profiler, and setup script unverified.
```

## Quick Start / Clone
```bash
git clone https://github.com/jerryliang24/Simple-Omni-Compression.git
cd Simple-Omni-Compression
```
