Skip to main content

NCNN/Vulkan runtime plugin for VapourSynth

Project description

VapourSynth-MLRT-NCNN

This package contains the NCNN backend implementation of the vs-mlrt plugin.

Installation

pip install vapoursynth-mlrt-ncnn

Building from source

Requirements

  • C++ Compiler: C++20 compatible (e.g. MSVC 2019+, GCC, Clang)
  • Dependencies:
    • ncnn (Vulkan support enabled)
    • Protobuf
    • ONNX
    • Vulkan SDK
  • Platforms: Windows, Linux, macOS (uses Metal on macOS)

Compilation

Ensure all required dependencies (ONNX, NCNN, Vulkan SDK, Protobuf) are discoverable by CMake (e.g., via CMAKE_PREFIX_PATH or system package manager).

uv build --package vapoursynth-mlrt-ncnn

Detailed parameter information from the parent project follows.


vs-mlrt

This project provides VapourSynth ML filter runtimes for a variety of platforms:

To simplify usage, we also provide a Python wrapper vsmlrt.py for all bundled models and a unified interface to select different backends.

Please refer to the wiki for supported models & usage information.

vsov: OpenVINO-based Pure CPU & Intel GPU Runtime

OpenVINO is an AI inference runtime developed by Intel, mainly targeting x86 CPUs and Intel GPUs.

The vs-openvino plugin provides optimized pure CPU & Intel GPU runtime for some popular AI filters. Intel GPU supports Gen 8+ on Broadwell+ and the Arc series GPUs.

To install, download the latest release and extract them into your VS plugins directory.

Please visit the vsov directory for details.

vsort: ONNX Runtime-based CPU/GPU Runtime

ONNX Runtime is an AI inference runtime with many backends.

The vs-onnxruntime plugin provides optimized CPU and CUDA GPU runtime for some popular AI filters.

To install, download the latest release and extract them into your VS plugins directory.

Please visit the vsort directory for details.

vstrt: TensorRT-based GPU Runtime

TensorRT is a highly optimized AI inference runtime for NVidia GPUs. It uses benchmarking to find the optimal kernel to use for your specific GPU, and so there is an extra step to build an engine from ONNX network on the machine you are going to use the vstrt filter, and this extra step makes deploying models a little harder than the other runtimes. However, the resulting performance is also typically much much better than the CUDA backend of vsort.

TensorRT-RTX is a specialization of TensorRT for NVIDIA RTX GPUs, which compiles engines faster with comparable performance with TensorRT.

To install, download the latest release and extract them into your VS plugins directory.

Please visit the vstrt directory for details.

vsmigx: MIGraphX-based GPU Runtime

MIGraphX is a highly optimized AI inference runtime for AMD GPUs. It also uses benchmarking to find the optimal kernel, similar to vstrt.

To install, download the latest release and extract them into your VS plugins directory.

Please visit the vsmigx directory for details.

vsncnn: NCNN-based GPU (Vulkan) Runtime

ncnn is a popular AI inference runtime. vsncnn provides a vulkan based runtime for some AI filters. It includes support for on-the-fly ONNX to ncnn native format conversion so as to provide a unified interface across all runtimes provided by this project. As it uses the device-independent Vulkan interface for GPU accelerated inference, this plugin supports all GPUs that provides Vulkan interface (NVidia, AMD, Intel integrated & discrete GPUs all provide this interface.) Another benefit is that it has a significant smaller footprint than other GPU runtimes (both vsort and vstrt CUDA backends require >1GB CUDA libraries.) The main drawback is that it's slower.

To install, download the latest release and extract them into your VS plugins directory.

Please visit the vsncnn directory for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vapoursynth_mlrt_ncnn-15.16.tar.gz (674.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vapoursynth_mlrt_ncnn-15.16-py3-none-win_amd64.whl (5.8 MB view details)

Uploaded Python 3Windows x86-64

vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_35_x86_64.whl (9.1 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_34_aarch64.whl (5.9 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_x86_64.whl (9.0 MB view details)

Uploaded Python 3macOS 15.0+ x86-64

vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_arm64.whl (4.5 MB view details)

Uploaded Python 3macOS 15.0+ ARM64

File details

Details for the file vapoursynth_mlrt_ncnn-15.16.tar.gz.

File metadata

  • Download URL: vapoursynth_mlrt_ncnn-15.16.tar.gz
  • Upload date:
  • Size: 674.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for vapoursynth_mlrt_ncnn-15.16.tar.gz
Algorithm Hash digest
SHA256 c532c9ffd9c9ed38da84fbaab50d8afa7d996026f5732d96c2c53f69e31d879c
MD5 20c8267c93178663279ddc6765212739
BLAKE2b-256 e56b48782c3a512953f68a812fb460f932af198fc3cef8c1124275e7db8efdf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_mlrt_ncnn-15.16.tar.gz:

Publisher: cd-publish.yml on Jaded-Encoding-Thaumaturgy/vs-wheels

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_mlrt_ncnn-15.16-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_mlrt_ncnn-15.16-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2f60caa63bbe376d326b5468d9702ecdde6d78284b7125d852dc334d77c84fc5
MD5 96a2c7beaa2d873be3146d7d5d524155
BLAKE2b-256 929f3abe943e419710279d8e0fd40d76a3efef5d840ea2f7c6f6bf9a663b49fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_mlrt_ncnn-15.16-py3-none-win_amd64.whl:

Publisher: cd-publish.yml on Jaded-Encoding-Thaumaturgy/vs-wheels

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 79abfee2efeb0a2997bbd9eaaa9b7170172981c8e38cb85ece7afd7499abcfe6
MD5 b704e9853e8d16057731e39c9b40df41
BLAKE2b-256 7adc9a16e246574492a522e83279a1e41cbf54dd0b16597813c07def50810b0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_35_x86_64.whl:

Publisher: cd-publish.yml on Jaded-Encoding-Thaumaturgy/vs-wheels

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c720b20cd27239e27f7e7f27ca21a2c7ec6c449f82070229ff965f2b2572721d
MD5 e0e9b550ba7f73db2c508fa5fa109f52
BLAKE2b-256 92241fcd864638782751b97c0f8baf68e47558d34fc39fbb0977f98efa8e9c8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_mlrt_ncnn-15.16-py3-none-manylinux_2_34_aarch64.whl:

Publisher: cd-publish.yml on Jaded-Encoding-Thaumaturgy/vs-wheels

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 122faff39051526d101106d4ac6b7f4db233803113735c39c8390c81bc193277
MD5 e2019c2201f1f3786dee84fd7c405762
BLAKE2b-256 93a6b43af4570a119ca2315cbdbea4036c2aae8f6f03700b6bc5a630adf32b22

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_x86_64.whl:

Publisher: cd-publish.yml on Jaded-Encoding-Thaumaturgy/vs-wheels

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2db799843a6f4e93801174e4bc1bac9ef3c7cc7d2954c1ccaa9f068977e12c6b
MD5 0c939504db194bb5a1c137f93ad40e63
BLAKE2b-256 86429f09ccf41eb50f4d9fc42aa1c5ade79974ef0e16e13d23077216aae9061d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_mlrt_ncnn-15.16-py3-none-macosx_15_0_arm64.whl:

Publisher: cd-publish.yml on Jaded-Encoding-Thaumaturgy/vs-wheels

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page