/ Модель

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

Лицензия
Apache 2.0
Базовая модель
SeedVR2
Опубликована
4 окт 2026

SeedVR2-ConvRot-INT8-and-w4a8

Языковая модельВидео, текст → видео

Квантизированные варианты SeedVR2 для увеличения разрешения видео в ComfyUI с меньшими требованиями к памяти.

0скачиваний за 30 дней0лайковвеса обновлены11 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Это набор квантизированных весов SeedVR2 от автора репозитория ussoewwin для увеличения разрешения видео в ComfyUI с использованием TensorRT. В комплект входят варианты DiT на 3B и 7B параметров, включая базовые и Sharp-версии, в форматах ConvRot INT8 и W4A8; базовая модель — ByteDance-Seed/SeedVR2. W4A8 сокращает размер 7B-варианта с 15,35 до 4,44 ГБ, а заявленный пиковый расход видеопамяти составляет 5,69 ГиБ; для INT8 указан расход 8,53 ГиБ.

Модель принимает видео и предназначена для повышения его разрешения с запуском через узлы ComfyUI-SeedVR2-VideoUpscaler-with-TensorRT. В README приводятся сравнительные измерения траекторий и расхода памяти для разных режимов квантизации, но они относятся к указанной конфигурации тестирования. W4A8 поддерживается стандартным загрузчиком DiT в ComfyUI; загрузчик DisTorch2 с этим форматом несовместим. Репозиторий распространяется по лицензии Apache-2.0.

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

  • увеличение разрешения видео в ComfyUI
  • восстановление деталей при апскейле видео
  • запуск SeedVR2 на видеокартах с ограниченной видеопамятью

Ограничения

W4A8 требует стандартный загрузчик DiT в ComfyUI и не поддерживается загрузчиком DisTorch2. Указанные характеристики скорости и памяти зависят от конфигурации оборудования и тестирования.

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

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

Открыть на Hugging Face

SeedVR2 DiT — ConvRot INT8 & W4A8 Quantization (asym_w4a8_int8 & int8_tensorwise)

This repository provides the official ConvRot INT8 and ConvRot W4A8 (asym_w4a8_int8) quantized diffusion transformer (DiT) weights for SeedVR2 / ComfyUI-SeedVR2-VideoUpscaler-with-TensorRT.

It brings the original 15.35 GB FP16 7B DiT down to 4.44 GB (~71.1% memory & disk reduction) for W4A8, and 8.53 GiB VRAM footprint for INT8, enabling native low-bit inference directly inside ComfyUI with comprehensive VRAM savings.


Available Models & Checkpoint Specifications

Model CheckpointArchitecturePrecision / LayoutDisk SizePeak VRAMHugging Face Direct URL
seedvr2_7b_convrot_w4a8.safetensors7B DiT Baseasym_w4a8_int8 + ConvRot4.44 GB5.69 GiBDownload
seedvr2_7b_sharp_convrot_w4a8.safetensors7B DiT Sharpasym_w4a8_int8 + ConvRot4.44 GB5.69 GiBDownload
seedvr2_3b_convrot_w4a8.safetensors3B DiT Baseasym_w4a8_int8 + ConvRot2.21 GB5.69 GiBDownload
seedvr2_7b_convrot_int8.safetensors7B DiT Baseint8_tensorwise + ConvRot8.12 GB8.53 GiBDownload
seedvr2_7b_sharp_convrot_int8.safetensors7B DiT Sharpint8_tensorwise + ConvRot8.12 GB8.53 GiBDownload
seedvr2_3b_convrot_int8.safetensors3B DiT Baseint8_tensorwise + ConvRot4.08 GB5.69 GiBDownload

Technical Specifications (W4A8 Architecture)

ParameterSpecification
Base ArchitecturesSeedVR2 7B / 3B NaDiT (ByteDance Seed)
Quantization FormatComfyUI Native asym_w4a8_int8 (AsymW4A8Int8Layout)
Weight PrecisionINT4 packed into torch.int8 storage ([out_features, in_features // 2])
Orthogonal RotationConvRot normalized Hadamard transform ($H_{256} \cdot H_{256}^T = I$)
ConvRot Group Size256 channels
Weight Group Size16 channels
Scale Hierarchy2-Level: Per-channel scale (FP32) $\times$ Per-group relative scale (FP8 e4m3fn)
Quantized Layers (7B)288 Core Transformer Block Attention & MLP 2D Projection Weights
Preserved Layers (7B)842 Sensitive Layers strictly kept in FP16 (Norms, Biases, RoPE, Embeddings, Output Heads)
VRAM Reduction (7B)~71.1% weight footprint reduction

Trajectory Comparison & Empirical Benchmarks

Extensive multi-seed trajectory benchmarking across 25 deterministic seeds (42 to 99999) using benchmark/seedvr2_w4a8_traj_compare.py and seedvr2_int8_traj_compare.py:

Multi-Seed Summary (25 Seeds)

Model & Quantization ModeInference Wall TimePeak VRAMLatent Cosine (Mean)Latent Cosine RangeSame-Image VerdictBifurcation Count
7B ConvRot INT824.51s8.53 GiB0.998920.99870 ~ 0.9990225/250/25
7B ConvRot W4A814.32s5.69 GiB0.986720.98579 ~ 0.9875925/250/25
7B Sharp ConvRot INT824.50s8.53 GiB0.997660.99707 ~ 0.9979625/250/25
7B Sharp ConvRot W4A811.18s5.69 GiB0.976820.97505 ~ 0.97789N/A (High Sharpness)0/25
3B ConvRot INT89.55s5.69 GiB0.997240.99679 ~ 0.9975025/250/25
3B ConvRot W4A89.02s5.69 GiB0.970930.96981 ~ 0.97230N/A0/25
Baseline FP16 7B129.41s16.04 GiB1.000001.00000Reference0
  • Zero Mode Collapse / Bifurcation: All seeds exhibit 0/25 bifurcation, indicating strict trajectory alignment without semantic collapse or runaway trajectories.
  • Speed & Memory: 7B W4A8 achieves a ~9.0x speedup (14.32s vs 129.41s) and cuts resident VRAM down to 5.69 GiB on consumer RTX hardware.

Mathematical Formulation: ConvRot & 2-Level Hierarchical Scaling

1. ConvRot Orthogonal Hadamard Rotation

DiT linear layers typically suffer from extreme activation and weight channel outliers that cause catastrophic precision degradation when truncated to 4 bits. ConvRot resolves this offline by applying an orthogonal Hadamard transformation matrix $H \in \mathbb{R}^{256 \times 256}$ along the reduction channel dimension $K$:

$$H_4 = \begin{pmatrix} 1 & 1 & 1 & -1 \ 1 & 1 & -1 & 1 \ 1 & -1 & 1 & 1 \ -1 & 1 & 1 & 1 \end{pmatrix}, \quad H_{256} = \frac{1}{\sqrt{256}} \left( H_4 \otimes H_4 \otimes H_4 \otimes H_4 \right)$$

$$W_{rot} = W_{grouped} \cdot H_{256}^T$$

Because $H$ is orthogonal ($H \cdot H^T = I$), the dot product with the rotated activation $X_{rot} = X \cdot H$ is mathematically invariant:

$$X_{rot} \cdot W_{rot}^T = (X \cdot H)(W \cdot H^T)^T = X \cdot H \cdot H^T \cdot W^T = X \cdot W^T$$

2. Hierarchical Scaling & Group Quantization

  1. Per-Channel Scale ($s_{channel}$): $$s_{channel} = \max_{j} |W_{rot, \cdot, j}| \in \mathbb{R}^{out_features} \quad (\text{FP32})$$ $$W_{norm} = \frac{W_{rot}}{s_{channel}}$$

  2. Per-Group Relative Scale ($s_{rel}$): Over blocks of $group_size = 16$: $$s_{rel} = \frac{\max_{k \in group} |W_{norm, \cdot, k}|}{7.0} \in \mathbb{R}^{out_features \times (in_features / 16)} \quad (\text{torch.float8_e4m3fn})$$

  3. INT4 Quantization & Packing: $$q = \text{clamp}\left( \text{round}\left( \frac{W_{norm}}{s_{rel}} \right), -8, 7 \right) \in \text{INT8}$$ Packed into bytes (even column into low nibble, odd column into high nibble).


ComfyUI Native VRAM-Saving Integration

Unlike naive loader implementations that dequantize weights into FP16 upon loading, this model runs through ComfyUI's native comfy.ops.mixed_precision_ops and comfy_kitchen.tensor.w4a8_int8:

  • Injected directly at DiT construction time (create_object on torch.device("meta")).
  • comfy.ops._load_quantized_module populates QuantizedTensor directly on the target GPU.
  • Matmuls execute through native Tensor Core INT8 / dequant GEMM without intermediate full FP16 weight expansion in VRAM.

Installation & Usage in ComfyUI

1. Model Placement

Place the downloaded .safetensors file into your ComfyUI models directory:

ComfyUI/
└── models/
    └── SEEDVR2/
        ├── seedvr2_7b_convrot_w4a8.safetensors
        ├── seedvr2_7b_sharp_convrot_w4a8.safetensors
        ├── seedvr2_3b_convrot_w4a8.safetensors
        ├── seedvr2_7b_convrot_int8.safetensors
        └── seedvr2_3b_convrot_int8.safetensors

2. ComfyUI Node Setup

In the custom node repository ComfyUI-SeedVR2-VideoUpscaler-with-TensorRT:

  1. In the standard SeedVR2 (Down)Load DiT Model node, select your desired model (e.g. seedvr2_7b_convrot_w4a8.safetensors).
  2. Connect to the SeedVR2 Video Upscaler node.
  3. Run inference — enjoy substantial VRAM reductions with preserved FP16 precision on sensitive layers.

Important Compatibility Note: W4A8 models are strictly supported via the standard DiT loader (SeedVR2 (Down)Load DiT Model). The DisTorch2 loader (SeedVR2 (Down)Load DiT Model with Distorch2) does not support W4A8 models due to blockwise CPU RAM streaming and weight-dispatch constraints specific to asymmetric 4-bit packed weights. For DisTorch2 offloading, use the ConvRot INT8 models.


Acknowledgements & References

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

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

GPU в ailist

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

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

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

Ревизия весов
b9b6668

0 моделей