Repository navigation
pixtreme-infer-spanv2 v0.3.0
Contents
pixtreme_infer_spanv2-0.3.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, and a C and C++ SDK (header, header-only C++ wrapper, shared library and CMake package)SHA256SUMS: the SHA-256 of the wheel
Weights and engines are not distributed.
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, TensorRT 11 and CuPy for CUDA 13
pixtreme>=2.6.0,pixtreme-infer>=0.21.0,tensoracle>=2.1.2andtensorrt-cu13>=11,<12
Changes
- A SPANv2 model can now be created from C and C++ without a Python interpreter. The wheel ships
pixtreme/infer/spanv2.h(C),pixtreme/infer/spanv2.hpp(header-only C++ wrapper), the shared librarylibpixtreme_infer_spanv2.so.1and the CMake packagepixtreme_infer_spanv2(targetpixtreme_infer_spanv2::pixtreme_infer_spanv2) under the installedpixtreme/infer/spanv2/directory. - The C interface has three functions:
pixtreme_infer_spanv2_abi_version,pixtreme_infer_spanv2_check_abiandpixtreme_infer_spanv2_model_create. The create function takes the weights file path, the precision (fp32orfp16), the input height and width, and whether to use CUDA Graph, and returns apixtreme-infercore model handle; prepare, run, close and destroy use the corepixtreme_infer_model_*functions. The module's C ABI version is 1.0, and the shared library's SONAME carries the major. - The module now requires
pixtreme-infer0.21.0 (core C ABI 3). Images and arrays exchanged with the core usepixtreme_frame_tandpixtreme_ndarray_t; the public headers do not use DLPack types. - The TensorRT plugin library and the cubin bundle are located and verified in C++, relative to the shared library, so the same lookup works from Python, C and C++.
The Python API (Model(weights, *, precision=..., input_hw=..., use_cuda_graph=...), prepare, close, the contract, scale, the context manager and calling the model), the weight format, the TensorRT network layers and the cubin kernels are unchanged from 0.2.5. The TensorRT network definition and the cubin bundle are unchanged. In our check, an fp16 engine that the previous Python plugin lookup had built under the same tensoracle version was reused without a rebuild.