VS-DRBA
Distance Ratio Based Adjuster for Animeinterp, based on https://github.com/routineLife1/DRBA and https://github.com/HolyWu/vs-rife.
This project is modified from HolyWu/vs-rife and achieves nearly the same interpolation quality as the original DRBA 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
- vs-miscfilters-obsolete (only needed for scene change detection)
- cupy cupy-cuda11x or later (critical for acceleration)
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/cu126 --extra-index-url https://pypi.nvidia.com
pip install -U cupy-cuda12x
Installation
pip install -U vsdrba
If you want to download all models at once, run python -m vsdrba. If you prefer to only download the model you
specified at first run, set auto_download=True in drba_rife().
Usage
from vsdrba import drba_rife
ret = drba_rife(clip)
See __init__.py for the description of the parameters.
Benchmarks
| model | scale | os | hardware | arch | fps 720 | fps 1080 | vram 720 | vram 1080 | backend | verified output | batch | level | streams | threads | onnx | onnxslim / onnxsim | onnx shape | trtexec shape | precision | usage |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rife 4.26 heavy | 2x | Linux | 3070laptop / 12400 | rife (4.26) | 119 | 53 | 1.6gb | 3.4gb | trt 10.8, torch 20241231+cu126, torch_trt 20250102+cu126 (holywu vsrife) | yes, works | 1 | 5 | - | 8 | - | - | - | static | RGBH | rife(clip, trt=True, trt_static_shape=True, model="4.26.heavy", trt_optimization_level=5, sc=False) |
| drba_rife 4.26 heavy | 2x | Linux | 3070laptop / 12400 | drba_rife (4.26) | 158 | 70 | 1.7gb | 3.7gb | trt 10.8, torch 20241231+cu126, torch_trt 20250102+cu126 (holywu vsrife) | yes, works | 1 | 5 | - | 8 | - | - | - | static | RGBH | rife(clip, trt=True, trt_static_shape=True, model="4.26.heavy", trt_optimization_level=5, sc=False) |
Metadata
Release files for vsdrba 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vsdrba-1.0.2.tar.gz | 35.9 kB | Without provenance | Details for vsdrba-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vsdrba-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for vsdrba-1.0.2-py3-none-any.whl |
Total release size: 133.7 kB
Release files / vsdrba-1.0.2.tar.gz
| Download URL | vsdrba-1.0.2.tar.gz |
|---|---|
| Size | 35.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81692a33eff5572853d1a01ca12794cf24bffa6eb5c573108b49d2fbe2ad75cf
|
|
BLAKE2b-256 checksum How to use checksums |
bb68da5c1efabd2ec098dbecaa9c00ba987f511dcd8d21533b494d4a08b90ac2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|
Release files / vsdrba-1.0.2-py3-none-any.whl
| Download URL | vsdrba-1.0.2-py3-none-any.whl |
|---|---|
| Size | 97.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06a4a10b380d4458e90855733f69622f7aaedab33a8a8d5d46a32687783d8bf0
|
|
BLAKE2b-256 checksum How to use checksums |
8eeed59298bec2eebeb00abd89bfdc0515d76ad8354f1b8e761b6a2af46836f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|
Security for vsdrba 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.