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

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
File Size Uploaded
vapoursynth_mlrt_ncnn-17.1.tar.gz 102.6 kB Details

Built distributions (wheels)

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

Total release size: 25.9 MB

Release files / vapoursynth_mlrt_ncnn-17.1.tar.gz

Download URL vapoursynth_mlrt_ncnn-17.1.tar.gz
Size 102.6 kB
Tags Source
SHA-256 checksum
How to use checksums
156e5c8f3a512ed881a091600ae336e241fbf628c3bab984c802ccbfe012c3cc
BLAKE2b-256 checksum
How to use checksums
5b9f5c7dbc628a96492f6150e841fe5e9484dd5bcf3009005fe3ce7f8458c770
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 Oct 19, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1-py3-none-win_amd64.whl
Size 5.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4585bdfcf4f67240f2afbd37941e6af86753923291ec4e5159e0bf24568961bb
BLAKE2b-256 checksum
How to use checksums
1c984fea4a85519705e376dd0ca387de97d50e55559f984d726f3490e382b637
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 Oct 19, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1-py3-none-manylinux_2_39_aarch64.whl
Size 6.0 MB
Tags Linux glibc 2.39+ ARM64 Python 3
SHA-256 checksum
How to use checksums
083b08c0399ac0c3f17561f2a65f155e5be3c51ecf6ef8e5b27bda5054e4fbaf
BLAKE2b-256 checksum
How to use checksums
09a6e631e0a01b1bb7d18d41fa1a2658308fb82501929bb4601e2fec8386ea42
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 Oct 19, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1-py3-none-manylinux_2_35_x86_64.whl
Size 9.2 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8a4f9d9ff0804673c5481689fc43ebc0282c0236246c8e478ecd27ef9417f63d
BLAKE2b-256 checksum
How to use checksums
158c4a72cfef199ad7c03b49574d82449d14e61d2c8396b7daf13f4434b7a5a9
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 Oct 19, 2026.

Transparency log

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

Download URL vapoursynth_mlrt_ncnn-17.1-py3-none-macosx_15_0_arm64.whl
Size 4.7 MB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
dfd2f234512e679f85aaa29ebb9029772dc70b9c731bc3bb19745e9367a7103c
BLAKE2b-256 checksum
How to use checksums
d75069e98dfa73699486187c51f77c923b73a2149d58ee4e0e6fa7eaa456dd01
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 Oct 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

17.1 This release

5 release files

17.0

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