feat(sensenova): add vLLM-Omni rollout - #393
Open
CjhHa1 wants to merge 11 commits into
Open
Conversation
Vendor the NEO-Unify model definitions and add trainside FlowGRPO rollout/replay so SenseNova U1.5 can be trained with deterministic pixel-space trajectories.
Load the complete interleaved MoT layer in fp32 so frozen understanding and trainable generation parameters satisfy FSDP2's per-group dtype contract while compute remains bf16.
Keep deterministic Euler updates in the BF16 trajectory dtype so 512px CFG rollouts remain tensor-identical to the official 50-step implementation while stochastic log-probability math stays fp32.
Normalize stochastic transitions into unit-noise coordinates, match official CFG reduction semantics, move prefix caches with conditions, and remove redundant per-branch and batch work while expanding contract tests.
Serve SenseNova U1.5 rollouts through the first compatible vLLM-Omni release while preserving driver noise, FlowGRPO trajectories, replay caches, and full-weight synchronization.
The v0.22 runtime removed the old HI3 cache classes, so guard their lookup before installing the legacy compatibility patch.
vLLM-Omni warms the unified pipeline through an image-edit request whose active CFG branches do not always include an unconditional cache.
Document llguidance's effective runtime requirement and keep the wheel pin scoped to the repository's supported x86_64 environment.
CjhHa1
requested review from
celve,
haonan3,
leviking98z-rgb and
zzhuoxin1508
as code owners
August 25, 2026 09:20
Keep the SenseNova model index entries while adopting the upstream HunyuanVideo-1.0 naming cleanup and rollout fixes.
Store only replay-required trajectory positions, share same-prompt prefix caches, and reject full-weight buckets that the vLLM loader would silently skip.
Avoid applying UniRL's old audio-video position shift on vLLM-Omni 0.22, whose native Thinker already computes interleaved positions.
9 tasks
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vllm/vllm-omni0.22) with an explicit CUDA 12.9 wheel and documented glibc floorDepends on #389, which adds the SenseNova-U1.5 training-side model and replay implementation. Until #389 merges, this PR intentionally includes those stacked commits; GitHub will drop them from this diff afterward.
Related Issue
N/A
Test Plan
python3 -m pytest -q tests/models/test_sensenova_u1.py tests/rollout/test_sensenova_vllm_omni.py(13 passed)python3 -m unirl.train_diffusion --config-name=diffusion/sensenova_u1_5/sensenova_u1_5_vllmomni_full_ipc --cfg job --resolvepre-commit run --all-filesSenseNova-U1.5-8B-MoT-Preview, vLLM-Omni 0.22.0+cu129, 1 GPU, 4 denoise steps, one SDE step, and a synthetic two-sample prompt batch: 2 images, sparse trajectory(2, 3, 16, 3072)with indices[1, 2, 4], SDE log-prob(2, 1), shared CPU/pickle-safe prefix cachesCompatibility / Risk
vllmextra moves from 0.20 to 0.22 and selects the explicit CUDA 12.9 x86_64 wheel.llguidancewheel raises the effective glibc floor to 2.31; this is documented inINSTALL.md.Reviewer Notes
RLSenseNovaU1Pipelinefirst.trajectory_indicesare carried through the shared vLLM-Omni response builder intoLatentSegment.indicesfor trainer replay.Checklist