Repository navigation
v1.3.0
Changes
compile_bundletakesptxasandcuobjdumpfrom the PyPI wheels installed by theproducerextra when their paths are not given:nvidia/cu13/bin/ptxasfromnvidia-cuda-nvccandnvidia/cu13/bin/cuobjdumpfromnvidia-cuda-cuobjdump(with.exeon Windows). It does not readCUDA_HOME. If a wheel or tool is missing, it raises an error that names the package and the searched path and explains how to install the extra or pass the path. The ptxas range check (13.2 or later and earlier than 14) and explicit tool paths are unchanged.- The
producerextra declarestriton==3.8.0,nvidia-cuda-nvcc==13.2.*,nvidia-cuda-cuobjdump==13.2.*,nvidia-cuda-crt==13.2.*, andnvidia-nvvm==13.2.*. - The CMake helpers (
cpp/CMakeLists.txtandcpp/cmake/TensoracleCubinPlugin.cmake) find onlycuda.hand the CUDA driver link library, and no longer callfind_package(CUDAToolkit). Pass thesite-packages/nvidia/cu13directory of PyPInvidia-cuda-nvccandnvidia-cuda-runtime13.2 asCUDAToolkit_ROOT(a CMake variable or environment variable). On Linux the helpers link the NVIDIA driver'slibcuda.so, including/usr/lib/wsl/lib/libcuda.soon WSL; on Windows they link the wheel'slib/x64/cuda.lib. WhenCUDAToolkit_ROOTis not set, they searchnvcconPATH,CUDA_PATH, and/usr/local/cudaas before. Configuration prints the selected header directory and driver library. tensoracle_cubinlinks the internal imported targettensoracle_internal_cuda_driverpublicly, so targets that linktensoracle_cubinstill receive the CUDA driver include directory and library. The helpers do not defineCUDA::targets, so a project that callsfind_package(CUDAToolkit)itself is unaffected.- The documentation and the example describe cubin production and native plugin builds without an OS-installed CUDA Toolkit. The example cubin bundle is unchanged (bundle digest
207d41310c87ae8b75b0301e881df881cdd2475eec07b82092e0ec66febbd5c0).
Upgrade note
The public Python API, saved engine file format, cache identity, and runtime dependencies are unchanged from 1.2.0. Engines saved by 1.2.0 are reused without a rebuild.
Applications that build cubins with the producer extra no longer need an OS-installed CUDA Toolkit or CUDA_HOME; the extra installs the tools.
Projects that build a native plugin with the CMake helpers no longer need an OS-installed CUDA Toolkit. Pass the PyPI nvidia/cu13 directory as CUDAToolkit_ROOT, or keep passing an OS toolkit root. A project that used CUDAToolkit_INCLUDE_DIRS or CUDA:: targets only because the helper called find_package(CUDAToolkit) must now call find_package(CUDAToolkit) itself, or link tensoracle_cubin.
Windows builds and sm89 / sm120 GPUs were not exercised for this release; sm86 on WSL2 was.
Install
pip install tensoracle==1.3.0