Repository navigation
pixtreme-infer-spanv2 v0.7.0
Contents
pixtreme_infer_spanv2-0.7.0-cp312-abi3-manylinux_2_28_x86_64.whl: the SPANv2 architecture module forpixtreme.infer, with its native extension, its generated type stub, the TensorRT plugin and its cubins for sm86, sm89 and sm120, a C and C++ SDK (header, header-only C++ wrapper, shared library and CMake package), and the module entry library for creation by namepixtreme-infer-spanv2-sdk-0.7.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, the TensorRT plugin and its cubins, and the license notices. It holds no Python code and nopixtreme,pixtreme-infer, tensoracle or TensorRT librarySHA256SUMS: 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.4') pixtreme>=2.17.1,pixtreme-infer>=0.24.0andtensoracle>=2.2.1- For the module archive: a common installation prefix with
pixtreme2.17.1 or newer andpixtreme-infer0.24.0 or newer,libtensoracle.so.2intensoracle/cpp/lib/under that prefix, andlibnvinfer.so.11from the host's TensorRT 11 in the loader's normal search path
Changes
- Python: the wheel no longer depends on pip's TensorRT and declares no TensorRT extra. Importing
pixtreme.infer.spanv2first loadslibnvinfer.so.11through the loader's normal search (the host's apt runtime). Only if that fails does it load the library from an installed pip TensorRT runtime (tensorrt_libs). A process loads only one of the two. If neither is available, the import fails with anImportErrorthat shows both ways to install the runtime. - The module entry follows
pixtreme-infer0.24.0 (core C ABI 3.2). The entry is namedspanv2and answers a family query: given the same settings as creation by name, it returns the model family without reading the weights or initializing CUDA, and it does not reject settings that only creation needs. The family is the same for every setting (RGB, float32, sRGB, sRGB gamma). - New C function
pixtreme_infer_module_entry_spanv2inlibpixtreme_infer_spanv2.so.1andpixtreme/infer/spanv2.h: an application that links the module into its process passes this entry topixtreme_infer_module_entries_setand then creates or queries the model by name. The entry library returns the same entry. - The module now requires
pixtreme-infer0.24.0 or newer. - CMake:
BUILD_SHARED_LIBS=OFFbuilds a staticlibpixtreme_infer_spanv2.athat holds only this module's objects and passes its dependencies to the final link through thepixtreme_infer_spanv2::pixtreme_infer_spanv2target. The entry library is built only in the shared form. In the static form, model preparation cannot yet find the TensorRT plugin; the family query and creation by name through the built-in entry work. - The native code is built against the prebuilt
pixtreme2.17.1,pixtreme-infer0.24.0 and tensoracle 2.3.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 existing C creation function pixtreme_infer_spanv2_model_create (module C ABI 1.0, libpixtreme_infer_spanv2.so.1), the Python API, the weight format, the TensorRT network definition, the TensorRT plugin and the cubin bundle are unchanged from 0.6.0.