FastVideo icon indicating copy to clipboard operation
FastVideo copied to clipboard

[Feature] Cookbook: adding OpenAI API serving recipes for the other model families

Open YZJF opened this issue 2 months ago • 4 comments

Motivation

Hi all! Thanks Aryan for walking us through the cookbook today, it was super helpful for getting started! I'd like to take ownership of adding OpenAI API serving recipes for the other model families. I'll follow the existing server recipe as a reference and extend it to Wan, LTX, and the rest, then open a PR. I'll start with Wan since I can test it on my A100s. If anyone is already working on part of this, let me know so we don't overlap! @aryan5v

Related resources

No response

YZJF avatar Sep 25 '26 23:09 YZJF

Welcome to FastVideo! Thanks for opening your first issue.

To help us investigate, please include:

  • FastVideo version: pip show fastvideo
  • GPU: nvidia-smi output (GPU model, driver, CUDA version)
  • Python version: python --version
  • OS: e.g., Ubuntu 22.04

If this is a bug, a minimal reproduction script helps us fix it faster.

Useful links:

github-actions[bot] avatar Sep 25 '26 23:09 github-actions[bot]

Status update from the serving-coverage lane. PR #1990 is open for review; it is not merged, and no formal review has been submitted.

Added

  • 12 source-backed serving baselines: Wan2.2 I2V A14B; HunyuanVideo 1.5 T2V/I2V 480p; Kandinsky 6 Pro and Pro-distill TI2VA; LTX2 Distilled REST; FLUX.1-dev, FLUX.2-dev, FLUX.2-klein-4B and SD3.5 Medium; Stable Audio Open 1.0; MMAudio large-44k-v2.
  • Five video cookbook manifests, plus a REST deployment alongside the existing LTX2 streaming deployment.
  • A media-aware audio contract: t2a/v2a publish media_type: audio/wav, write audio/<id>.wav, return WAV from sync/content routes, accept audio_start_in_s/audio_end_in_s, materialize video references for MMAudio, and reject video geometry fields instead of ignoring them.
  • Python, Node and cURL audio clients that branch on media_type.
  • docs/cookbook/serving-coverage.md: runtime surface, all baselines, registry families without a baseline, and a separate hardware-evidence audit.

Hardware evidence handoff

The audit records only identities and capacities stated by a recipe or support doc. It separates dedicated VRAM from unified/system memory and marks host RAM, MIG/vGPU partitions, exact board variants and most non-FastH3 devices as unknown. It is not a capacity estimate and does not replace the shared catalog.

Confirmed device identities in current recipes: H100 80 GB, GB200, B200, RTX 5090 32 GB, RTX PRO 6000 96 GB, RTX 4090 24 GB, DGX Spark GB10 128 GB unified, Apple M4 Max 16/36 GB unified, Apple M1 Pro 16 GB unified. The Wan, Hunyuan, Kandinsky, FLUX and SD3.5 serving baselines record GPU counts only, not a tested device, so they remain unvalidated for hardware fit.

Missing from recipe evidence: AMD/ROCm device identity, Intel, explicit host RAM for offload, MIG/vGPU partitioning, H100 SXM/PCIe form factor, GB200/GB300 board variants, and whether the 16 GB and 36 GB M4 Max records are the same system configuration. These are handed to Lane A for the catalog and to Lane C for lookup behavior.

Remaining gaps

  • Image and audio manifests are not added yet: the shared runtime workload contract still exposes only t2v/i2v. Adding t2i/t2a/v2a is Lane A's schema work, then Lane C can present it; a duplicated UI path would fork the contract.
  • No maintained baseline yet for Wan2.1 T2V 14B, Kandinsky5, Cosmos/2.5, GEN3C, Helios, LingBot, MatrixGame interactive, or super-resolution.
  • MatrixGame still needs a session/streaming adapter; treating it as text-to-video would misrepresent the input contract.
  • CI checks for declarations, stale outputs, schema drift and incompatible selections are not in this PR.

Evidence boundary

The new rows are source-backed declarations. No GPU generation was run for these family baselines, and no hardware-fit claim is made. The only real FastMetal run remains the previously reported M1 Pro 16 GB, 1.3B, 256x256, 17-frame result; 5B generation is still outstanding.

aryan5v avatar Oct 20 '26 01:10 aryan5v

Serving coverage milestone update from the cookbook lane (no review/merge submitted):

  • PR #1990 now carries 14 maintained serving baselines: Wan2.1 T2V 14B, Wan2.2 I2V A14B, HunyuanVideo 1.5 T2V/I2V 480p, Kandinsky 6 TI2VA and distilled, Kandinsky 5 T2V Lite, LTX2 Distilled REST, FLUX.1-dev, FLUX.2-dev, FLUX.2-klein, SD3.5 Medium, Stable Audio Open, and MMAudio large-44k-v2. Seven video cookbook manifests are included.
  • Audio jobs now publish media_type: audio/wav, use audio_start_in_s/audio_end_in_s, and ship Python/Node/cURL clients. Media URL downloads are bounded by the serve argument server.media_reference_max_bytes (2 GiB default); local/cluster URLs remain supported, and server-owned input copies are cleaned up after workers stop.
  • FLUX.1 omitted sampling fields now resolve through FluxSamplingParam; the earlier generic 50-step/guidance-1.0 defaults are fixed and tested.
  • docs/cookbook/serving-coverage.md records all baselines, registry families still without a maintained serving config, and hardware evidence boundaries. Rows are source-backed declarations, not GPU-verified runs; no new GPU generation is claimed.

Still open before full-lane completion: image/audio cookbook manifests and the shared t2i/t2a/v2a workload contract are staged in a stacked follow-up branch; Cosmos/Cosmos 2.5, GEN3C, Helios, HyWorld, LingBot, MatrixGame, super-resolution and adapter families remain uncovered; deterministic OpenAPI export/compatibility docs are staged separately; #1802 still needs the 5B end-to-end evidence already requested, and #1960 needs a current Buildkite failure diagnosis. Happy to take concrete review direction on scoping the remaining batches.

aryan5v avatar Oct 20 '26 03:10 aryan5v

Done.

The serving recipes for the other families landed via #1906 (Wan) and #1999 (video/image/audio coverage plus the shared hardware catalog). docs/cookbook/serving-coverage.md now lists the maintained baselines: Wan2.1/2.2, HunyuanVideo 1.5, Kandinsky 5/6, LTX2, FLUX.1/2, SD3.5, FastH3, Stable Audio and MMAudio.

Reopen if a family is still missing.

— fv-superagent · fourteen serving baselines later, the cookbook no longer stops at Wan · run by aryan5v

fv-superagent avatar Nov 17 '26 18:11 fv-superagent