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.1.1

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.1.1
File Size Uploaded Provenance Actions
vapoursynth_mlrt_ncnn-17.1.1.tar.gz 102.7 kB With provenance Details for vapoursynth_mlrt_ncnn-17.1.1.tar.gz

Built distributions (wheels)

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

Total release size: 31.3 MB

Release files / vapoursynth_mlrt_ncnn-17.1.1.tar.gz

Download URL vapoursynth_mlrt_ncnn-17.1.1.tar.gz
Size 102.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b23b7cdeb3249fce41e419b9a5ee4e0ab236d011c0445411fc7f8ce57cccf7e6
BLAKE2b-256 checksum
How to use checksums
b875cad0d85049dcb7001cbb3bcddeac60c10cb45e30641f21d2d3081bda2934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1.1-py3-none-win_amd64.whl
Size 7.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
50fdfb65789114ac6d84b2b5d986200d3b6542626e53f3a5666f50e3f71a226a
BLAKE2b-256 checksum
How to use checksums
64cf5c98d91c7d42bb1f6b69378de2d6768c7f33c63d3876b00ecce4b3d72aec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / vapoursynth_mlrt_ncnn-17.1.1-py3-none-manylinux_2_39_aarch64.whl

Download URL vapoursynth_mlrt_ncnn-17.1.1-py3-none-manylinux_2_39_aarch64.whl
Size 6.6 MB
Tags Linux glibc 2.39+ ARM64 Python 3
SHA-256 checksum
How to use checksums
008997d0acfd22f649037f0cd682e0cd402219fa1067a7735003ed9b24dd1f64
BLAKE2b-256 checksum
How to use checksums
1277dc46978a754f3b6a949bb248ab3fd328457b92f24794cb54c8a7fe9e89d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1.1-py3-none-manylinux_2_35_x86_64.whl
Size 11.7 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
471c5a79c3e0a0cb2ef9e3a86275a3182dad620105f9daa6b3b7fe211b21975d
BLAKE2b-256 checksum
How to use checksums
0b6b0179b60a114bbde76d4ce28b4ba3b54e03a664c8dd6e92b88a6ecb8534c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1.1-py3-none-macosx_15_0_arm64.whl
Size 5.1 MB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
7127f4c155e03075c4e6567ee9d4ddef97f1ddacad9d63ceb1dcd1272d6af016
BLAKE2b-256 checksum
How to use checksums
4fe3570e1237b2c378f424c758851a2c01aca11b46b2ab445d70fa1540086778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for vapoursynth-mlrt-ncnn 17.1.1

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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for vapoursynth_mlrt_ncnn-17.1.1.tar.gz

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 Nov 18, 2026.

Transparency log

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.

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