VS-DistilDRBA
vapoursynth version for DistilDRBA based on vs-rife.
This project is modified from HolyWu/vs-rife and achieves nearly the same interpolation quality as the original DistilDRBA project.
With TensorRT integration, it achieves a 400% acceleration, enabling real-time playback on high-performance NVIDIA GPUs.
Dependencies
- PyTorch 2.6.0 or later
- VapourSynth R66 or later
trt requires additional packages:
- TensorRT 10.7.0.post1 or later
- Torch-TensorRT 2.6.0 or later
To install the latest stable version of PyTorch, Torch-TensorRT and cupy, run:
pip install -U packaging setuptools wheel
pip install -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.nvidia.com
Installation
pip install -U vsdrba_distilled==1.0.0
Note: Please make sure to install all dependencies listed in the Dependencies section before performing the steps in the Installation section.
If you want to download all models at once, run python -m vsdrba_distilled. If you prefer to only download the model you
specified at first run, set auto_download=True in drba_distilled().
Usage
from vsdrba_distilled import drba_distilled
ret = drba_distilled(clip, trt=True, factor_num=2, factor_den=1, scale=1.0, model="v1", auto_download=True)
See __init__.py for the description of the parameters.
Benchmarks
| model | scale | os | hardware | arch | speed(fps) 720 | speed(fps) 1080 | vram 720 | vram 1080 | backend | verified output | batch | level | streams | threads | trtexec shape | precision | usage |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| drba_distilled v1 | 2x | Linux | rtx5070 / 14600kf | drba_distilled | 251 | 115 | 1.8gb | 2.9gb | torch+trt cu128 | yes, works | 1 | 5 | - | 1 | static | RGBH | drba_distilled(clip, trt=True, model="v1", trt_optimization_level=5) |
| drba_distilled v2_lite | 2x | Linux | rtx5070 / 14600kf | drba_distilled | 999+ | 700 | - | - | torch+trt cu128 | yes, works | 1 | 5 | - | 1 | static | RGBH | drba_distilled(clip, trt=True, model="v1", trt_optimization_level=5) |
🤗 Acknowledgement
This project is supported by SVFI Development Team.
Metadata
Release files for vsdrba-distilled 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vsdrba_distilled-1.0.0.tar.gz | 16.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vsdrba_distilled-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.4 kB
Release files / vsdrba_distilled-1.0.0.tar.gz
| Download URL | vsdrba_distilled-1.0.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e5d9041dac1c4532c6a329dd9ab874df659e7487fecf9fdb6a7490c14a1a590
|
|
BLAKE2b-256 checksum How to use checksums |
328dc31abc37c85f11ced6256ed702a3cd7466490c877491fd8937d50c3a1a3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Release files / vsdrba_distilled-1.0.0-py3-none-any.whl
| Download URL | vsdrba_distilled-1.0.0-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07a8f1875eb3a8842f7dc433954e80338df6d1251aa429cad737ffe84b1d21c9
|
|
BLAKE2b-256 checksum How to use checksums |
544a24d78990e980434e514c2caf24e1525137c43534d015d232d325f842db78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|