Skip to content

pixtreme-infer-spanv2 v0.9.0

Latest

Choose a tag to compare

@minamikik minamikik released this 16 Nov 10:20

Contents

  • pixtreme_infer_spanv2-0.9.0-cp312-abi3-manylinux_2_28_x86_64.whl: the SPANv2 architecture module for pixtreme.infer on Linux, with its native extension, its generated type stub, a C and C++ SDK (header, header-only C++ wrapper, shared library and CMake package), and the module entry library for creation by name. The TensorRT plugin and its cubins for sm86, sm89 and sm120 are embedded in the module's shared library
  • pixtreme_infer_spanv2-0.9.0-cp312-abi3-win_amd64.whl: the same module for native Windows x86_64. The model DLL pixtreme_infer_spanv2-1.dll, the entry DLL pixtreme_infer_spanv2_entry.dll, the unversioned import library, the public headers and the CMake package are under pixtreme/infer/spanv2/
  • pixtreme-infer-spanv2-sdk-0.9.0-manylinux_2_28_x86_64.tar.gz and pixtreme-infer-spanv2-sdk-0.9.0-win_amd64.tar.gz: the prebuilt native module for C and C++ applications, one per platform. Each holds the same native files as the wheel of its platform, at the same relative paths and with the same bytes: the public headers, the CMake package, the model and entry libraries, and the license notices. They hold no Python code and no pixtreme, pixtreme-infer, tensoracle, TensorRT or CUDA runtime library
  • SHA256SUMS: the SHA-256 of the two wheels and the two module archives

Weights and engines are not distributed. The Conan recipe for the module archives is kept in the organization's shared recipe repository, not in this Release. The Release holds shared libraries only; the static library form is built from source.

Requirements

  • Linux x86_64 with glibc 2.28 or newer, or native Windows x86_64. On WSL2, use the Linux distribution
  • Python 3.12 or newer
  • NVIDIA GPU: sm86, sm89 or sm120. The cubins for all three are built and embedded on both platforms. The Windows wheel was tested on an sm86 GPU; Windows on sm89 and sm120 has not been tested on a GPU yet
  • CUDA 13 with a compatible NVIDIA driver
  • The TensorRT 11 runtime, TensorRT 11.2 or newer:
    • Linux: libnvinfer.so.11 from the host's TensorRT (sudo apt-get install libnvinfer11 from NVIDIA's CUDA apt repository), or pip's TensorRT through tensoracle's extra (python -m pip install 'tensoracle[tensorrt]>=2.6.1')
    • Windows: nvinfer_11.dll from the host's TensorRT, in a directory registered with os.add_dll_directory before import pixtreme.infer.spanv2, or pip's TensorRT through tensoracle's extra as above. The package loads the TensorRT builder resource DLLs from the same directory as the nvinfer_11.dll it selected and does not change PATH
  • pixtreme>=2.25.3, pixtreme-infer>=0.26.0 and tensoracle>=2.6.1
  • For a module archive: a common installation prefix with pixtreme 2.25.3 or newer and pixtreme-infer 0.26.0 or newer, tensoracle 2.6.1 or newer under tensoracle/cpp/ in that prefix, and the host's TensorRT 11 runtime found by the platform's normal library search (on Windows, through the application's DLL search directories)

Changes

  • Native Windows x86_64 is supported: a cp312-abi3-win_amd64 wheel and a Windows module archive are published. Following the pixtreme family's Windows DLL rules, the module's DLL names carry the C ABI major, the import library name does not, and consumers link through the CMake target pixtreme_infer_spanv2::pixtreme_infer_spanv2.
  • The module now requires pixtreme 2.25.3, pixtreme-infer 0.26.0 (the core with native Windows support) and tensoracle 2.6.1 or newer.
  • The native code is built against the prebuilt pixtreme 2.25.3, pixtreme-infer 0.26.0 and tensoracle 2.6.1 C and C++ SDKs, TensorRT 11.2.1.2 and the CUDA 13.2 build inputs, all obtained through Conan from shared recipes. CMake 4.4.4 and Ninja 1.13.2 also come from Conan.
  • TensorRT engines built by earlier versions are rebuilt once: the identity of the embedded plugin is the SHA-256 of the file that contains it, and the module's shared library is rebuilt in this release.

The C creation function pixtreme_infer_spanv2_model_create (module C ABI 1.0, libpixtreme_infer_spanv2.so.1 on Linux, pixtreme_infer_spanv2-1.dll on Windows), the built-in entry function, the Python API, the weight format, the TensorRT network definition and the cubin kernels are unchanged from 0.8.2.