/ Модель

Характеристики

Лицензия
Своя лицензия
Базовая модель
LTX-2.5
Опубликована
16 окт 2026

LTX-2.5-22b-Alpha-Gen-fp8-fused

Языковая модельВидео, текст → видео3 профессии
0скачиваний за 30 дней1лайквеса обновлены16 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Сборка LTX-2.5 22B с объединённым IC-LoRA Alpha-Gen и fp8-слоями для извлечения альфа-маттинга из опорного видео.

Это неофициальная сборка LTX-2.5 22B с объединённым адаптером IC-LoRA Alpha-Gen 0.9. Она предназначена для получения альфа-маттинга по опорному видео и используется в модели LTX Alpha в форке Sammie-Roto-Panda. Основной файл содержит трансформер в формате safetensors: большие линейные слои сохранены в fp8. Для работы также нужны неизменённые видео- и аудиовариационные автокодировщики LTX-2.5; текстовый энкодер Gemma 4 можно не загружать благодаря сохранённому эмбеддингу пустого промпта.

Сборка рассчитана на обработку видео, а не на обычное создание роликов по тексту. Автор README сообщает о близком к исходной bf16-модели качестве маттинга и неизменной межкадровой стабильности в проведённом сравнении. Модель проверена на RTX 4060 с 8 ГБ видеопамяти при потоковой загрузке трансформера из оперативной памяти; для размещения всей модели на GPU указано 30 ГБ или более. Это модифицированная производная, неофициально выпущенная сообществом по лицензии LTX-2.x Community License; организациям с годовой выручкой от 10 млн долларов требуется платная лицензия Lightricks.

Сценарии применения

  • извлечение альфа-маттинга из опорного видео
  • создание масок объекта по кадрам видеоклипа
  • обработка видео для композитинга и ротоскопирования в Sammie-Roto

Ограничения

Это специализированная сборка для альфа-маттинга по опорному видео, а не универсальная модель генерации видео; для запуска требуются два VAE-файла LTX-2.5. fp8-сборка даёт небольшое отличие маттинга от сравниваемой bf16-конфигурации; условия лицензии ограничивают организации с годовой выручкой от 10 млн долларов.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

LTX-2.5 22B Alpha-Gen — fp8, LoRA fused

A single-file build of the LTX-2.5 22B distilled transformer with the IC-LoRA Alpha-Gen 0.9 fused in and the large Linear layers stored as fp8. It is made for alpha matting from a reference video, as used by the LTX Alpha matting model in the Sammie-Roto 2 panda fork (lukaszomasta/Sammie-Roto-Panda).

It saves you building this yourself, which needs about 65 GB of gated downloads (bf16 transformer, LoRA and the Gemma 4 text encoder), about 32 GB of RAM and two build steps.

Not an official Lightricks release. It is a modified Derivative of LTX-2.x, distributed under the LTX-2.x Community License. Organizations with annual revenue of USD 10M or more need a paid license from Lightricks.

Files

FileSizeWhat it is
ltx-2.5-22b-distilled-alpha-gen-0.9-fp8-fused.safetensors21.9 GiBTransformer with the Alpha-Gen LoRA fused in, fp8 Linears
empty_prompt_embeddings.safetensors12 MBThe empty text prompt, pre-encoded, so the 24 GiB Gemma 4 text encoder is never needed
LICENSE-2_xThe LTX-2.x Community License Agreement, with Attachment A
tools/The scripts that built both files, to reproduce or audit them
SHA256SUMSChecksums: sha256sum -c SHA256SUMS

You also need ltx-2.5-video-vae-bf16.safetensors and ltx-2.5-audio-vae-bf16.safetensors from Lightricks/LTX-2.5. They are not modified, so they are not mirrored here.

Modifications (LTX-2.x Community License, Section 3.3)

These files were changed from Lightricks' originals as follows:

  • Transformer. Built from ltx-2.5-22b-distilled-transformer-bf16.safetensors and ltx-2.5-22b-ic-lora-alpha-gen-0.9.safetensors with tools/build_ltx_fp8_fused.py:
    • All 480 LoRA deltas, (B × 1.0) @ A, were added to the base weights in fp32.
    • The 2,592 weights and biases that LTX-2's own fp8_cast policy converts at load time (transformer_blocks.* to_q, to_k, to_v, to_out.0, ff.net.0.proj, ff.net.2) are stored as float8_e4m3fn (a plain cast, no scales). No value exceeded the fp8 range.
    • Every other tensor, every key name and the original checkpoint metadata (model config and license) are unchanged. The build is recorded in the ltx_alpha_fused metadata key.
  • Embedding. empty_prompt_embeddings.safetensors is the output of LTX-2.5's prompt encoder (gemma4-12b-with-proj-ltx-2.5-bf16.safetensors plus the transformer's embeddings connector) for the empty prompt "". It was made with tools/encode_ltx_empty_prompt.py.
  • Code. Built with LTX-2 at commit be6d6d0 (v1.4.2 + 2 commits).

Quality

Measured against the unfused bf16 transformer + LoRA (with LTX-2's runtime fp8 cast), on a 25-frame clip at 576p:

  • Mean absolute matte difference: 0.5–0.7 / 255; 99th percentile: 7–8 / 255.
  • Soft edge pixels: 2.7 / 255 on average.
  • Frame-to-frame stability, including across batch crossfades: unchanged.

Rounding happens once instead of twice: at runtime LTX-2 fp8-casts first, then fuses the LoRA and rounds again.

Use

With Sammie-Roto (panda fork). Put both .safetensors files and the two VAEs in checkpoints/ltx_alpha/, then choose LTX Alpha on the Matting tab. Sammie finds the fused file automatically.

With LTX-2 directly. Load it as the transformer with no LoRAs and the fp8-cast quantization policy. The pipeline normally reads the reference downscale factor from the LoRA's metadata; with the LoRA fused in, take it from this file instead:

import json
from safetensors import safe_open
from ltx_core.quantization.fp8_cast import build_policy
from ltx_pipelines.ic_lora import ICLoraPipeline
from ltx_pipelines.utils.model_paths import ModelPaths

transformer = "ltx-2.5-22b-distilled-alpha-gen-0.9-fp8-fused.safetensors"
pipeline = ICLoraPipeline(
    model_paths=ModelPaths.from_split(
        transformer_path=transformer,
        video_vae_path="ltx-2.5-video-vae-bf16.safetensors",
        audio_vae_path="ltx-2.5-audio-vae-bf16.safetensors",
    ),
    spatial_upsampler_path="",
    loras=[],
    device="cuda",
    quantization=build_policy(transformer),
)
with safe_open(transformer, framework="pt") as f:
    record = json.loads(f.metadata()["ltx_alpha_fused"])
pipeline.reference_downscale_factor = int(record["lora_reference_downscale_factor"])

The constructor still builds Gemma's prompt encoder. To avoid that, replace it with one that returns the cached embedding, as sammie/ltx_alpha.py in the Sammie fork does. Run with prompt="" and skip_stage_2=True; stage 1 renders at half the requested height and width.

Hardware. Tested on an RTX 4060 8 GB with 62 GB RAM (transformer streamed from RAM; 5.1 GiB VRAM peak at 992×576, 49 frames). GPUs with 30 GiB or more can keep the whole model on the GPU.

License

The files in this repository other than tools/ are a Derivative of LTX-2.x and are distributed exclusively under the LTX-2.x Community License Agreement. Section 4 and Attachment A apply in full to anyone who uses or redistributes them, including all use restrictions and acceptable-use policies. If you pass these files on, you must include the license and these notices. Organizations with annual revenue of USD 10M or more must obtain a paid commercial license from Lightricks before any use other than a Non-Commercial Purpose.

The embedding is the output of the Gemma 4-based text encoder that Lightricks distributes with LTX-2.5 (gemma4-12b-with-proj-ltx-2.5), so it is covered by the LTX-2.x license above. Gemma 4 itself is released under the Apache 2.0 license, which places no restrictions on outputs.

The scripts in tools/ are part of the Sammie-Roto fork and are licensed under GPL-3.0.

LTX-2 and LTX-2.5 are by Lightricks. The Alpha-Gen IC-LoRA is by Lightricks. This repository is not affiliated with or endorsed by Lightricks.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Модели «видео → видео» пока не запускаются.

Ревизия весов
78afa29

0 моделей