Skip to main content

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)
  • Build Tools: uv, CMake, Ninja
  • Dependencies (must be built/installed before the plugin):
    • ncnn (built from source in CI with Vulkan support enabled)
    • ONNX (built from source in CI)
    • Vulkan SDK (LunarG)
  • Platforms: Windows, Linux, macOS (uses Metal via MoltenVK on macOS)

Compilation

  1. Initialize the submodule:

    git submodule update --init --recursive vsmlrt/ncnn/vs-mlrt
    
  2. Install the Vulkan SDK from LunarG.

  3. Build NCNN from source (with Vulkan enabled) and build ONNX from source. Both must be discoverable by CMake (via CMAKE_PREFIX_PATH or installed system-wide).

  4. Build the wheel:

    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:

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.

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.

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.

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.

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.

Please visit the vsncnn directory for details.

Metadata

Release files for vapoursynth-mlrt-ncnn 17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapoursynth-mlrt-ncnn 17.0
File Size Uploaded
vapoursynth_mlrt_ncnn-17.0.tar.gz 102.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-mlrt-ncnn 17.0
File
vapoursynth_mlrt_ncnn-17.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
vapoursynth_mlrt_ncnn-17.0-py3-none-manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.35+ x86-64 Details
vapoursynth_mlrt_ncnn-17.0-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details
vapoursynth_mlrt_ncnn-17.0-py3-none-macosx_15_0_arm64.whl Python 3 none macOS 15.0+ ARM64 Details

Total release size: 25.5 MB

Release files / vapoursynth_mlrt_ncnn-17.0.tar.gz

Download URL vapoursynth_mlrt_ncnn-17.0.tar.gz
Size 102.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d0b08eeed3d13ec8fe00e7dab81ae0ee402cfe68bcbe0e72b1903217873b961d
BLAKE2b-256 checksum
How to use checksums
3a5d718895bec75056b001838d391b383afd280cbd459608e0786530220aadf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / vapoursynth_mlrt_ncnn-17.0-py3-none-win_amd64.whl

Download URL vapoursynth_mlrt_ncnn-17.0-py3-none-win_amd64.whl
Size 5.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fc566dc50362c4812052eec336f65acae562b9f841aff9e69fb34fb08241d273
BLAKE2b-256 checksum
How to use checksums
85afee8e57236e4e20901196e114259f7502ef283bfc9fba35787c53c3c41397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / vapoursynth_mlrt_ncnn-17.0-py3-none-manylinux_2_35_x86_64.whl

Download URL vapoursynth_mlrt_ncnn-17.0-py3-none-manylinux_2_35_x86_64.whl
Size 9.1 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
52c5ab4d899b2cfb58598be33595de5e32e27c0bf63db793bc2e8dc23c0916c7
BLAKE2b-256 checksum
How to use checksums
6ba0d3285b537f9bfa961a164324ca44452f55d636fa8e3a46dfdf7c7f640a56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / vapoursynth_mlrt_ncnn-17.0-py3-none-manylinux_2_34_aarch64.whl

Download URL vapoursynth_mlrt_ncnn-17.0-py3-none-manylinux_2_34_aarch64.whl
Size 5.9 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
fb5ccd54f6e2b5615e0f32a9cbf9b190d3c9f43434678b7559b8734d30d99642
BLAKE2b-256 checksum
How to use checksums
f5e88559c65003450197dca61c6b6b78d511ab945024dfa4efff743565739431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / vapoursynth_mlrt_ncnn-17.0-py3-none-macosx_15_0_arm64.whl

Download URL vapoursynth_mlrt_ncnn-17.0-py3-none-macosx_15_0_arm64.whl
Size 4.6 MB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
98455799edc7272687a1ced1e8802ede2c92fb1869f58379132442e0fa659bc8
BLAKE2b-256 checksum
How to use checksums
d0c169b7deb2ce1993a1d292e5a132620f170e7f8d01d9f053899bee41de7969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

17.0 This release

5 release files

16.0

5 release files

15.16

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page