Skip to content

Ryanontheinside/feat/vae compile#684

Draft
ryanontheinside wants to merge 2 commits intomainfrom
ryanontheinside/feat/vae-compile
Draft

Ryanontheinside/feat/vae compile#684
ryanontheinside wants to merge 2 commits intomainfrom
ryanontheinside/feat/vae-compile

Conversation

@ryanontheinside
Copy link
Collaborator

VAE Compile

This PR adds torch compile support for VAEs, which in v2v, offers a roughly equal advantage to compiling the full model (~20% e2e).

VACE Conditioning (with compiled VAE)

Metric No Compile Compiled
Chunk 0 2.38s (3.77 fps) 1.53s (7.84 fps)
Chunk 1 (steady) 1.15s (10.46 fps) 0.95s (12.66 fps)
Chunk 2 (steady) 1.17s (10.22 fps) 0.96s (12.51 fps)
Steady-state avg FPS ~10.3 ~12.6

V2V, no VACE (with compiled VAE, compilation on first chunk)

Metric No Compile Compiled
Pipeline init 9.41s 80.85s
Chunk 0 1.82s (7.2 fps) 10.60s (1.5 fps)
Chunk 1 0.84s (14.3 fps) 9.43s (1.3 fps)
Chunks 2-9 avg 1.04s (11.5 fps) 0.92s (13.0 fps)
Steady-state avg (1+) 1.02s (11.9 fps) 1.87s (11.7 fps)

Signed-off-by: RyanOnTheInside <7623207+ryanontheinside@users.noreply.github.com>

# Conflicts:
#	src/scope/core/pipelines/longlive/pipeline.py
#	src/scope/core/pipelines/longlive/schema.py
#	src/scope/server/pipeline_manager.py
Signed-off-by: RyanOnTheInside <7623207+ryanontheinside@users.noreply.github.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 13, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d7823047-63fa-4ea8-b178-c5dc719799bd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ryanontheinside/feat/vae-compile
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

🚀 fal.ai Preview Deployment

App ID daydream/scope-pr-684--preview
WebSocket wss://fal.run/daydream/scope-pr-684--preview/ws
Commit 822980e

Testing

Connect to this preview deployment by running this on your branch:

uv run build && SCOPE_CLOUD_APP_ID="daydream/scope-pr-684--preview/ws" uv run daydream-scope

🧪 E2E tests will run automatically against this deployment.

@github-actions
Copy link
Contributor

✅ E2E Tests passed

Status passed
fal App daydream/scope-pr-684--preview
Run View logs

Test Artifacts

Check the workflow run for screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant