Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ SpargeAttn Apache-2.0 https://github.com/thu-ml/SpargeAttn
thirdparty_sources.json at
bfd980b781784c04ad6a53e7ee657c0645d99171.

================================================================================
Optional post-processing: RTX Video Super Resolution
================================================================================

nvidia-vfx LicenseRef-NvidiaProprietary
https://pypi.org/project/nvidia-vfx/

The ``rtx-postprocess`` extra installs NVIDIA's proprietary Python bindings
for RTX Video Super Resolution and deblur. It is optional, dynamically loaded
only when an RTX preset is selected, and is not redistributed as source in
this repository.

================================================================================
Optional integration: integrations/lingbot
================================================================================
Expand Down
16 changes: 16 additions & 0 deletions docs/source/api/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@ Resolve config only (no model instantiation):

uv run flashdreams-run --no-instantiate self-forcing-wan2.1-t2v-1.3b-taehv

Post-processing presets
-----------------------

Post-processing presets run on decoded RGB frames from a video runner. Select
one with ``--postprocess.preset``:

.. code-block:: bash

uv run flashdreams-run wan21-t2v-1.3b-480p \
--postprocess.preset rtx-super-resolution

The ``rtx-super-resolution`` preset wraps NVIDIA VFX Python bindings for RTX
Video Super Resolution. Install the optional dependency with
``uv pip install 'flashdreams[rtx-postprocess]'`` and run on a supported RTX GPU
before selecting this preset.

See also
--------

Expand Down
14 changes: 14 additions & 0 deletions flashdreams/flashdreams/infra/postprocess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
VideoTensorLayout,
to_bvtchw,
)
from flashdreams.infra.postprocess.rtx import (
POSTPROCESS_PRESET_RTX_DEBLUR_ULTRA,
POSTPROCESS_PRESET_RTX_SUPER_RESOLUTION,
POSTPROCESS_PRESET_RTX_SUPER_RESOLUTION_ULTRA,
RTXVideoSuperResolutionPostProcessor,
RTXVideoSuperResolutionPostProcessorConfig,
RTXVideoSuperResolutionQuality,
)
from flashdreams.infra.postprocess.stream import (
VideoPostprocessStepStats,
VideoPostprocessStream,
Expand All @@ -43,4 +51,10 @@
"VideoSpec",
"VideoTensorLayout",
"to_bvtchw",
"RTXVideoSuperResolutionPostProcessor",
"RTXVideoSuperResolutionPostProcessorConfig",
"RTXVideoSuperResolutionQuality",
"POSTPROCESS_PRESET_RTX_SUPER_RESOLUTION",
"POSTPROCESS_PRESET_RTX_SUPER_RESOLUTION_ULTRA",
"POSTPROCESS_PRESET_RTX_DEBLUR_ULTRA",
]
Loading
Loading