movieroll-vllm-omni
Run MovieRoll through the vLLM-Omni adapter in `vllm_omni_movieroll/` — build its pinned virtual environment, assemble a model directory, set the two environment variables the engine depends on, run offline or serve `/v1/videos`, pick a deploy YAML and a parallel layout (tensor parallel, Ulysses, ring, CFG parallel, HSDP, PS-VAE), override sampling parameters safely, and compare against native MovieRoll in the same venv. Use it whenever someone wants MovieRoll under vLLM-Omni, hits plugin discovery or a request-timeout problem there, needs to choose or debug a deploy configuration, sees a 400 from the compute-budget guard, or asks how the adapter's output compares with the original repository.
- Star
- 505
- 分类
- 运维与云
- 最近提交
- 2026年11月17日
agent/movieroll-vllm-omni/SKILL.md
在 GitHub 上查看MovieRoll under vLLM-Omni
A Chinese version of this document is SKILL_CN.md; the references/ files are English only.
| File | When to read it |
|---|---|
references/setup.md | once per machine: the venv and why its pins are unusual, SageAttention, the model directory, movieroll_overrides, and the two environment variables |
references/run.md | every run: discovery, offline and serving entry points, request fields, the eight deploy YAMLs, parallelism and its refusals, framework limits, comparing with native, failure table |
The adapter lives in vllm_omni_movieroll/ (its own README is vllm_omni_movieroll/README.md). It is written
framework-native — vLLM layers, vLLM-Omni's loader and parallelism — and registers itself as a plugin.
The three things that cause most lost time
- Discovery comes from installed package metadata. The entry points only exist once
pip install --no-deps -e vllm_omni_movierollhas run in that venv. Putting the directory onPYTHONPATHdoes nothing, and the symptom is an unknown model architecture or/v1/videosrefusing with "No final video output stage". VLLM_OMNI_DLO_DP_WAVE_TIMEOUTmust be exported before the engine starts. Its default is 600 seconds, and on timeout the executor stops every worker, not just the request.source vllm_omni_movieroll/examples/movieroll_env.shfirst; setting it later has no effect, because vLLM-Omni's executor reads it once, when the first engine of the process starts (MovieRoll's compute-budget guard reads it again at pipeline construction). The same file also pinsOMP_NUM_THREADS, without which post-processing crawls.- vLLM-Omni needs its own venv, and its pins are deliberate (cu129 torch, torchcodec 0.16, llguidance 1.6). When comparing with native, compare only against native inside the same venv — a different torch changes the bf16 CPU random stream and therefore the initial noise.
Procedure
- Classify the request. First run on this machine →
references/setup.md. Already set up →references/run.md. A failure → find the message in the failure table; nearly every refusal is deliberate and states its own fix. - Confirm the venv, the editable install and the environment variables. A successful
import vllm_omni_movierollis not enough (it also works fromPYTHONPATH):movierollmust be listed byimportlib.metadata.entry_points(group="vllm_omni.general_plugins")in that venv, and the timeout must be in the environment of the process that will start the engine. - Confirm the model directory and the chain. One directory is one chain; a request cannot switch. Each
directory is built from one MovieRoll model folder (
download_movieroll.py --model ckpts/movieroll/base,distilled/t2vordistilled/i2v); image-to-video belongs on the one built fromdistilled/i2v, which runs without context noise. - Do the frame arithmetic:
16k+1(17, 81, 241, 721, 1441), at least 17 for distilled and i2v. Without a size, a video (image-to-video included) is 480x864. Start vLLM-Omni's shared example scripts throughrun_example.py; started directly they cannot see the plugin's defaults and use Wan2.2's preset. - Pick a deploy YAML from the table in
references/run.md, or build a layout and check it:tensor_parallel_size x ulysses_degreemust divide 16; ring and allgather are mutually exclusive; CFG parallel needs a base directory with guidance on (use_cfg); PS-VAE needsvae_patch_parallel_size == world_size. No shipped YAML enables PS-VAE — add it if you want it. - Expect the compute-budget guard on long requests: a 400 a few minutes in, with the value to set. That is the designed behaviour, and the answer is a higher timeout, fewer frames or more GPUs.
- Report the command, where the output landed, and the real outcome.
Hard rules
- Sampling parameters are the released evaluation values. A model folder's own differences (the
image-to-video folder's context noise) reach
movieroll_overridesinmodel_index.jsonwhen the directory is built. Change anything else only on request, only throughmovieroll_overrides(whitelisted, inmodel_index.jsonor a deploy YAML — never in a request), and say what you changed. Base guidance is one of those settings:use_cfgturns it on or off, AnnealCFG'scfg_min/cfg_maxset its strength, and a request'sguidance_scaleis ignored, as is anegative_promptsent to a model without guidance (distilled, oruse_cfg: false); both only log a warning. Raisingkv_recompute_thresholdcan push a window past the 120-frame position grid. - Do not edit
movieroll/to make the adapter work. - Prefer the framework's efficiency defaults. Do not add code that emulates native MovieRoll's rounding to chase decibels.
- Do not work around a refusal. Each one in
references/run.mdis either wrong for a rolling-window model (batch > 1, LoRA, TeaCache, pipeline parallelism, VAE tiling) or measured to be worse (FP8 at 15 dB). - Mind the output range. The pipeline hands vLLM-Omni
[-1, 1]media; whatOmnireturns foroutput_type="pt"is already mapped to[0, 1], like native--output-type pt. Check the range of what you compare before any metric. - This release ships no tests; the available checks are the request validation, a short real run, and a same-venv comparison with native.
Working loop
- [ ] 1. Setup or run? Read the matching reference
- [ ] 2. Confirm venv, editable install, movieroll_env.sh, model directory
- [ ] 3. Frame count = 16k+1; topology divides 16 heads; PS-VAE == world size
- [ ] 4. Launch; read the first output for a refusal or a budget 400
- [ ] 5. Report command, artefacts, outcome
相似的 Skill
canary
GAgarrytan/gstack143k近 7 天新增 598 个 star
observability-and-instrumentation
ADaddyosmani/agent-skills122k近 7 天新增 1,667 个 star
paperclip-board
PApaperclipai/paperclip119k近 7 天新增 1,966 个 star
ruview-configure
RUruvnet/RuView106k近 7 天新增 739 个 star