Skip to content

feat(stream): add experimental Framegen WebGPU interpolation - #763

Merged
capy-ai[bot] merged 6 commits into
devfrom
capy/framegen-latest-dev
Aug 15, 2026
Merged

feat(stream): add experimental Framegen WebGPU interpolation#763
capy-ai[bot] merged 6 commits into
devfrom
capy/framegen-latest-dev

Conversation

@zortos293

Copy link
Copy Markdown
Collaborator

Supersedes #718 on a branch based on the latest dev, while preserving the contributor's original commits and attribution. The contributor fork allows maintainer edits, but the repository-scoped GitHub integration cannot write to that fork directly.

  • Integrates the Framegen controls into the current grouped video settings UI and the current StreamView contracts.
  • Uses the npm-only dependency layout from dev, keeps the lockfile update minimal, and verifies the model weights are copied into the production build.
  • Hardens asynchronous activation and rejected weight-cache handling so disabling during WebGPU initialization cannot reactivate the pipeline.
  • Addresses the open review feedback: accurate shader-f16 copy, accessible option buttons, a truly empty .gitkeep, stable license handling, and non-flooring model dimensions.

Verified with:

  • npm --prefix opennow-stable ci
  • npm --prefix opennow-stable run typecheck
  • npm --prefix opennow-stable run lint
  • npm --prefix opennow-stable test (625 tests)
  • npm --prefix opennow-stable run locales:check
  • npm --prefix opennow-stable run build
  • Framegen weight assets present in opennow-stable/dist/framegen-weights/

MONZikWasTaken and others added 4 commits August 9, 2026 01:41
Add optional client-side neural frame interpolation for the embedded
WebRTC stream path using the Framegen WGSL runtime (npm framegen).

- New frameInterpolation settings (factor 2-4x, quality 360/480/720)
- WebGPU pipeline overlay (web client only; disabled for native streamer)
- Settings UI under Video with license notice for non-commercial weights
- postinstall copies weights into public/; CDN fallback if missing
- Unit tests for settings normalization

Off by default. Adds display latency and GPU load when enabled.
- Update bun.lock so CI `bun install --frozen-lockfile` succeeds
- Abort in-flight frame steps after dispose/settings generation bumps
- Clear sticky rejected weights cache and stop loops on hard runtime failure
Address remaining race and failure-path issues:
- generation gate after every await; drop stale present queues
- rebuild runtime when factor changes (not only resolution)
- clear sticky rejected weights cache; set initFailed and stop loops
- safer texture readback cleanup; device-lost invalidation
@cursor

cursor Bot commented Aug 15, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 28ca27a5-64ca-4696-9a91-99473dc22ff0

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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@capy-ai
capy-ai Bot merged commit d81fcbe into dev Aug 15, 2026
17 checks passed
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.

2 participants