Draft
Conversation
Fal in and out streams flow through scope backend frame processor
When connected to fal backend, model status and download requests are now proxied to fal instead of running locally. This prevents unnecessary local downloads when GPU inference runs on fal cloud. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: emranemran <emran.mah@gmail.com>
Windows cp1252 console encoding cannot display Unicode emojis, causing logging errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: emranemran <emran.mah@gmail.com>
The triggerLoad function was creating two parallel polling loops: 1. startPolling() - explicit polling loop 2. checkComplete() in loadPromise - another polling loop This caused duplicate API requests every poll interval. Removed the redundant startPolling call and function since loadPromise already handles polling until the pipeline is loaded or errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: emranemran <emran.mah@gmail.com>
VP8/VP9 decoders need a keyframe (I-frame) before they can decode P-frames. After WebRTC reconnection, the first frames may be P-frames, causing decode errors until a keyframe naturally arrives. This fix sends a PLI (Picture Loss Indication) immediately when a video track is received from fal.ai, requesting the remote end to send a keyframe proactively. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: emranemran <emran.mah@gmail.com>
Skip GPU dependencies on macOS by adding sys_platform != 'darwin' markers to pyproject.toml. On Mac, the server starts in cloud-only mode where all processing happens on fal.ai. Simplified approach (4 files instead of 20): - pyproject.toml: Platform markers to exclude GPU deps on macOS - registry.py: Skip all pipeline registration on macOS - pipeline_manager.py: Conditional torch import - app.py: Skip CUDA check on macOS The frontend gets pipeline list from fal.ai in cloud mode, so local pipeline registration is not needed on macOS. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit 0712707.
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.
No description provided.