← Back to Leaderboard
Lbytedance

bytedance/Lance

Native 3B-active model for image and video understanding, generation, and editing

Open-Weight ModelQuickstart ↓
Engineering Health (Methodology)
B · 52/100
Maintenance Activity
● Updated 4mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption14/25
Release Cadence6/20
License Clarity20/20
GPUCLI
Total Stars
★ 1,376
24h Growth
+0
7d Growth
+5
Forks
91

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

bytedance/Lance Star History (2026-05-16 - 2026-12-04) ALL-TIME STAR HISTORY (2026-05 – 2026-12) +1.4k in 202d · avg +7/day 1.5k 727 0 2026-05-16: ★ 12026-05-30: ★ 1,0232026-06-13: ★ 1,1792026-06-27: ★ 1,2352026-07-11: ★ 1,2612026-07-25: ★ 1,2802026-08-08: ★ 1,3002026-08-22: ★ 1,3122026-09-05: ★ 1,3252026-09-19: ★ 1,3392026-10-03: ★ 1,3422026-10-17: ★ 1,3522026-10-31: ★ 1,3592026-11-13: ★ 1,3642026-11-26: ★ 1,3712026-12-04: ★ 1,376 ★ 1.4k 2026-05 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Lance is a native unified image and video model with 3B active parameters, trained from scratch using a staged multitask recipe. The tasks share an inference interface, but deployment still involves checkpoint selection: generation and editing examples point to Lance_3B for images and Lance_3B_Video for video. inference_lance.sh exposes task and runtime settings for inference_lance.py, which defines task defaults. Built-in JSON examples can be replaced with custom JSON or JSONL inputs.

The runtime uses PyTorch and CUDA with FlashAttention, alongside Transformers 4.49.0 and Diffusers 0.29.1. The CLI exposes denoising steps, flow-matching timestep shift, classifier-free guidance for text, and a seed. For integration, use the task inputs and checkpoint paths as the starting contract. Optional T2V/I2V prompt rewriting is a separate API call, not a dependency of base inference.

Key Capabilities & Differentiators

The seven task modes cover text-to-image, text-to-video, image-to-video, image and video editing, and image and video understanding. Understanding examples include visual question answering, reasoning, and captioning for images, plus question answering and captioning for video. Generation training reached 768×768 for images and 480p at 12 FPS for video. The CLI caps video generation at 121 frames, while editing dimensions are determined by the input media rather than the generation size flags.

Lance scores 84.67 overall on DPG-Bench for image generation, with 93.38 on relations and 83.89 on global prompts. Sampling scripts for GenEval, DPG-Bench, GEdit, and VBench cover image generation, image editing, and video generation. Use those as evaluation starting points, then test understanding accuracy, motion, and edit consistency separately on your own inputs.

Trade-offs & Limitations

The shared task interface can simplify evaluation and integration when a workflow needs several visual tasks. It does not make Lance the strongest image generator: on DPG-Bench, its 84.67 overall is above Janus-Pro-7B's 84.19 but below Show-o2's 86.14 and the generation-only Qwen-Image's 88.32. That ranking says nothing about video editing, understanding quality, or serving cost, so compare alternatives on the task mix you actually need.

Three billion active parameters still come with a documented inference requirement of at least 40 GB VRAM. Training used up to 128 A100s, a separate figure that does not size inference. Treat Lance as a research checkpoint: output quality can vary with resolution, clip length, motion, and edit type. The code is Apache-2.0; verify the checkpoint and any redistributed assets separately before commercial use.

Hardware & Deployment Guide

Use Python 3.10+, CUDA 12.4+, and a GPU with at least 40 GB VRAM for the documented inference setup. The default install uses Python 3.11, PyTorch 2.8.0 with cu126, and FlashAttention 2.8.3; A100 testing also covers PyTorch 2.5.1 with cu124 and FlashAttention 2.6.3. On other GPUs, verify driver and package compatibility before staging the weights. If you use a third-party FlashAttention wheel, verify its provenance and build compatibility.

Download the Hugging Face snapshot into downloads/, select the checkpoint in inference_lance.sh, or launch lance_gradio.py on loopback for interactive testing. Once installed, base inference can run locally without the optional rewrite endpoint. Project updates added vLLM-Omni integration on June 3, 2026, and fine-tuning code on June 17, 2026; neither should be treated as proof of production readiness.

Task interface: One CLI dispatches seven tasks across image and video understanding, generation, and editing.
Checkpoint selection: The examples use Lance_3B for image generation and editing, and Lance_3B_Video for video generation and editing.
Generation controls: The CLI exposes denoising steps, flow-matching timestep shift, text guidance, and seed; video generation accepts up to 121 frames.
Evaluation tooling: benchmarks/ includes sampling scripts for GenEval, DPG-Bench, GEdit, and VBench.
Training workflow: Lance was trained from scratch using a staged multitask recipe; fine-tuning code and dataset guides are available.
Serving options: Run local jobs through the CLI, test interactively with Gradio, or evaluate the vLLM-Omni integration for serving.
Best For

Research teams with suitable GPUs that want a shared interface for evaluating image and video understanding, generation, and editing, with scripts for batch tests and code for fine-tuning.

Skip If

You need inference on GPUs below 40 GB VRAM, consistent production quality for longer or higher-resolution video, or only still-image generation and a dedicated model performs better on your prompts.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

GPUCLI
conda create -n Lance python=3.11 -y
conda activate Lance
pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu126
pip install -r requirements.txt
pip install flash-attn==2.8.3 --no-build-isolation

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Lance ★1.4k+5PythonApache-2.0Native 3B-active model for image and video understanding, generation, and editin
HunyuanVideo12.9k+39Python—A dual-stream-to-single-stream Transformer for self-hosted text-to-video generat
whisper114.1k+548PythonMITLocal encoder-decoder Transformer for multilingual speech transcription and tran
lingbot-map19.5k+365PythonApache-2.0A Geometric Context Transformer for streaming 3D reconstruction from video

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/bytedance/Lance.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

bytedance/Lance Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Lance

How should I integrate Lance into an existing pipeline?

Start with inference_lance.sh, set TASK_NAME and MODEL_PATH, and pass your JSON or JSONL inputs via CONFIG_PATH. Use the matching example in config/examples/ to check the input format. The vLLM-Omni recipe is the next place to look if you need serving rather than script-driven jobs; validate task coverage for your workload.

What hardware should I budget for, and what affects runtime?

Plan for an NVIDIA GPU with at least 40 GB of VRAM for the documented inference setup. Start from a tested A100 software combination and measure peak memory and runtime for your actual resolution, frame count, denoising steps, and concurrency. The 3B active parameter count is not a VRAM estimate, and the 128-A100 figure describes training rather than inference.

Can I self-host Lance for commercial use without sending media to an external service?

The code repository is Apache-2.0, which permits commercial use subject to its terms. Check the separately downloaded checkpoint and any media or data you redistribute before shipping. Base inference can run locally after setup with prompt rewriting disabled. If you enable rewriting, the configured endpoint receives text for T2V and text plus the input image for I2V, so check data-handling rules first.

When should I evaluate Lance instead of another unified model or a dedicated image generator?

On DPG-Bench, Lance scores 84.67 overall, versus 84.19 for Janus-Pro-7B, 86.14 for Show-o2, and 88.32 for the generation-only Qwen-Image. Evaluate Lance when video and editing matter alongside image generation. If still-image quality is the only objective, include stronger image generators in a head-to-head test on your own prompts.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining bytedance/Lance? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature bytedance/Lance on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare