Skip to content

4.11.0.20250210

Latest
Compare
Choose a tag to compare
@cudawarped cudawarped released this 10 Feb 12:03
255564a

OpenCV python wheels built against CUDA 12.8, Nvidia Video Codec SDK 12.2 and cuDNN 9.7.0.

Suitable for all devices of compute capability >= 5.0 with binary compatible code for devices of compute capability 5.0-12.0.

Nvidia GPU Computing Toolkit v12.8 is required for import cv2 to work and cuDNN 9.7.0 for accelerated inference when using the dnn module.

Nvidia CMake configuration output

--   NVIDIA CUDA:                   YES (ver 12.8, CUFFT CUBLAS NVCUVID NVCUVENC)
--     NVIDIA GPU arch:             50 52 60 61 70 75 80 86 89 90 100 120
--     NVIDIA PTX archs:            120
--
--   cuDNN:                         YES (ver 9.7.0)
Build Summary

Ubuntu 22.04 Build commands

export "CMAKE_ARGS=-DWITH_CUDA=ON -DCUDA_ARCH_BIN=5.0;5.2;6.0;6.1;7.0;7.5;8.0;8.6;8.9;9.0;10.0;12.0 -DCUDA_ARCH_PTX=12.0"
export ENABLE_CONTRIB=1
export ENABLE_ROLLING=1
python setup.py bdist_wheel --py-limited-api=cp37