Skip to content

pixtreme-infer-spanv2 v0.8.0

Choose a tag to compare

@minamikik minamikik released this 13 Nov 07:33
· 3 commits to main since this release

Contents

  • pixtreme_infer_spanv2-0.8.0-cp312-abi3-manylinux_2_28_x86_64.whl: the SPANv2 architecture module for pixtreme.infer, 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-sdk-0.8.0-manylinux_2_28_x86_64.tar.gz: the prebuilt native module for C and C++ applications. It holds the same native files as the wheel, 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. It holds no Python code and no pixtreme, pixtreme-infer, tensoracle or TensorRT library
  • SHA256SUMS: the SHA-256 of the wheel and of the module archive

Weights and engines are not distributed. The Conan recipe for the module archive 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
  • Python 3.12 or newer
  • NVIDIA GPU: sm86, sm89 or sm120
  • CUDA 13 with a compatible NVIDIA driver and CuPy for CUDA 13
  • The TensorRT 11 runtime (libnvinfer.so.11, TensorRT 11.2 or newer). Install it on the host from NVIDIA's CUDA apt repository (sudo apt-get install libnvinfer11), or install pip's TensorRT through tensoracle's extra (python -m pip install 'tensoracle[tensorrt]>=2.5')
  • pixtreme>=2.17.1, pixtreme-infer>=0.24.0 and tensoracle>=2.5.0
  • For the module archive: a common installation prefix with pixtreme 2.17.1 or newer and pixtreme-infer 0.24.0 or newer, libtensoracle.so.2 from tensoracle 2.5.0 or newer in tensoracle/cpp/lib/ under that prefix, and libnvinfer.so.11 from the host's TensorRT 11 in the loader's normal search path

Changes

  • The TensorRT plugin and its cubin bundle are part of the module library, in both the shared and the static form. Model preparation registers the embedded plugin with TensorRT inside the process and checks the bundle from the bytes embedded in the library; it reads no plugin file. The wheel and the module archive no longer contain a separate plugin library, a plugin manifest or cubin files.
  • An application that links the static library libpixtreme_infer_spanv2.a (built from source with BUILD_SHARED_LIBS=OFF) can now prepare and run the model: it passes pixtreme_infer_module_entry_spanv2 to pixtreme_infer_module_entries_set, creates the model by the name spanv2, and loads neither libpixtreme_infer_spanv2.so nor a plugin library at run time.
  • The module now requires tensoracle 2.5.0 or newer, whose C ABI provides the embedded plugin registration and the in-memory bundle inspection.
  • 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.
  • The native code is built against the prebuilt pixtreme 2.17.1, pixtreme-infer 0.24.0 and tensoracle 2.5.0 C and C++ SDKs, TensorRT 11.2.1.2 and the CUDA 13.2 build inputs, all obtained through Conan from shared recipes.

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