5 Commits

Author SHA1 Message Date
mteehan 188aaa44a1 Move NF4 Gemma encoder into app/, patch ltx_pipelines at runtime 2026-06-03 19:14:47 -04:00
mteehan ab580a2004 Add video generation API with job tracking and model loading 2026-06-03 18:58:11 -04:00
mteehan 726b60dc29 Add .env.example, Makefile; fix fp8_scaled_mm quantization policy
- Use build_policy(checkpoint_path) for fp8_scaled_mm
- Add .env.example template
- Add Makefile with common targets (install, api, docs, clean, lint)
2026-06-01 19:46:36 -04:00
mteehan a33a3a593d Fix API to match actual ltx-pipelines 1.1.5 interface
- Use DistilledPipeline constructor (not from_config)
- Use ImageConditioningInput namedtuple for image conditioning
- Use LoraPathStrengthAndSDOps for LoRA config
- Use QuantizationPolicy with fp8_cast sd_ops directly
- Update spatial_upsampler to required x2-1.1 model
- Update gemma_root to google/gemma-3-12b-it-qat-q4_0-unquantized
- Handle video output as Iterator[torch.Tensor] from pipeline
- Flesh out README with all model download commands, endpoint docs, env vars, frame/resolution tables
2026-06-01 19:37:16 -04:00
mteehan 2d50679ec0 Initial commit: Revids REST API for LTX-2.3 image-to-video generation
- FastAPI with job polling: POST /generate, GET /jobs/{id}, /download, /health
- SQLite job persistence (aiosqlite), background task processing
- LTX-2.3 DistilledPipeline via native ltx-pipelines (editable install from submodule)
- Configurable model paths, LoRA support, FP8 quantization via env vars
- Single-concurrency GPU lock for safe inference
- LTX-2 as git submodule under libs/
2026-05-31 06:03:08 -04:00