# Repository Briefing: sfumato-ai/tela
> Source: https://repoforai.com/repo/sfumato-ai/tela (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/sfumato-ai/tela
- **Official Docs / Website**: https://huggingface.co/sfumato-ai/MiniMax-H3-INT4
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: C++
- **License**: See repository
- **Engineering Health**: B+ (73/100 · Maintenance 35/35 · Adoption 12/25 · Releases 20/20 · License 6/20)
- **Latest Release**: v0.4.0 (2026-12-03) — https://github.com/sfumato-ai/tela/releases
- **Review Snapshot**: 2026-12-03 (Note: v0.4.0 on 2026-12-03 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: Self-Hosted, Local AI, GPU, CLI, API
- **Momentum**: 137 ★ total (+21 24h / +137 7d) · 15 forks
- **When to Use**: Best for: Automating repeatable MiniMax-H3 still-image and audiovisual jobs on self-hosted NVIDIA GPUs, with precision and memory modes validated against representative inputs. Skip if: You need visual node authoring, a broad model catalog, a non-NVIDIA backend, or a guarantee that every workload fits a 6 or 16 GiB GPU.

## Overview
```text
### Architecture & Core Mechanics
tela is a model-family-specific inference engine built in C++20 and CUDA. A single executable exposes predictable CLI flags and a persistent HTTP server without a Python runtime. Rather than execute a general-purpose node graph, it provides dedicated paths for MiniMax-H3 Ref2VA, FL2VA, H3-Image, and pi-H3.

To reduce GPU residency, 2 MiB-aligned pinned host-memory rings can stream diffusion transformer (DiT) blocks, Qwen3-VL, the video VAE, and reference LoRAs. Checkpoint loading selects runtime precision, with explicit overrides such as `--quant dit=nvfp4a8`. Extension points are model-specific: Kohya `lora_unet_*` adapters, a selectable image VAE, and the pi-H3 `--dwd-adapter` add functionality without a general node plugin layer.

### Key Capabilities & Differentiators
MiniMax-H3-Image renders native 3552×4736 stills from text or with reference conditioning. An RTX 4090 reference-conditioned W4A8 example reported 16.0 s for the DiT and about 22 s end to end. With `--image-vae auto`, the Ostris VAE can replace the official image VAE when installed, with automatic fallback. FL2VA handles synchronized speech; a separate four-step pi-H3 DWD example bypassed the video VAE and took about 1 min 51 s for a 15.1 s clip.

For longer video, MultiDiffusion uses overlapping temporal windows, with `average` blending for guided generation and `pin` to carry clean history across unguided windows. At 0.92 MP on an RTX 4090, peak VRAM stayed near 17,423 MiB from 10.1 to 60 seconds, but compute still grew with the number of windows. Spark sparse attention, TeaCache step skipping, and TileShare are available as workload-specific optimizations.

### Trade-offs & Limitations
Compared with ComfyUI 0.45, tela trades visual graph composition for a narrower MiniMax-H3 runtime that is easier to invoke from scripts. In the RTX 4090 duration-scaling table, cold load was 1.13 s for tela W4A8 with Spark versus 4.41 s for ComfyUI dense INT8. Those configurations differ in both precision and attention mode, so this is not a same-mode throughput comparison.

Quantization and streaming solve different memory problems: checkpoint size is not peak VRAM, and host streaming adds transfer and host-memory costs. In the RTX PRO 6000 tests, NVFP4 sped up the listed Ref2VA DiT runs by 1.12–1.15× against same-GPU INT8, but some stills showed substantial pixel-level divergence from the INT8 reference. Treat similarity metrics as a comparison to that baseline, not a perceptual quality verdict. Also resolve the unspecified license terms before commercial use or redistribution.

### Hardware & Deployment Guide
Prebuilt Linux and Windows binaries include `sm_86`, `sm_89`, and `sm_120` targets and require an NVIDIA driver compatible with CUDA 12.8 or later plus `ffmpeg` on `PATH`. Run `tela doctor`, then stage the appropriate checkpoint and auxiliary assets for local CLI jobs or a self-hosted HTTP service. A source build uses `native/`, CUDA Toolkit 12.8+, CMake 3.28+, Ninja, and a compatible host compiler: GCC 13 or 15 on Linux, or MSVC 2022 on Windows.

Release v0.3.0 added native 16.82 MP stills and calibrated high-resolution W4A8. v0.3.1 added runtime performance telemetry and profiling support, and v0.3.2 added Blackwell NVFP4/NVFP4A8 for `sm_120` and `sm_121`, along with CLI and portable-release fixes. The prebuilt target list names `sm_120` but not `sm_121`; verify the release artifact for the target GPU before rollout.
```

## Key Capabilities
```text
- Integration: A Python-free C++20/CUDA executable exposes a CLI and a persistent HTTP server.
- Precision: The 11.8 GB INT4 checkpoint supports W4A8; the 12.5 GB Blackwell NVFP4 checkpoint also supports `dit=nvfp4a8` with MXFP8 activations.
- Low-VRAM path: Pinned host-memory rings stream model blocks; one Ref2VA character-swap example peaked at 6.0 GiB.
- Temporal scaling: `--window-frames 141` held peak VRAM near 17,423 MiB from 10.1 to 60 seconds in the 0.92 MP RTX 4090 benchmark.
- Native stills: MiniMax-H3-Image generates 3552×4736 images with reference conditioning, Kohya LoRA support, and an optional Ostris VAE.
- Audiovisual inference: FL2VA supports synchronized speech generation, while the pi-H3 DWD adapter provides a path that bypasses the video VAE.
```

## Quick Start / Clone
```bash
# Download tela-linux-x86_64.tar.gz or tela-windows-x86_64.zip from GitHub Releases
tar -xzf tela-linux-x86_64.tar.gz -C ~/.local
export PATH="$HOME/.local/bin:$PATH"
tela doctor
```
