Skip to content

4.7.0.20230527

Compare
Choose a tag to compare
@cudawarped cudawarped released this 27 May 07:28
· 125 commits to 4.x since this release
6b73d90

OpenCV python wheels built against CUDA 12.1 Nvidia Video Codec SDK 12.1 and cuDNN 8.9.1.

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

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

Build Summary

Windows

Nvidia CMake configuration output

NVIDIA CUDA: YES (ver 12.1, CUFFT CUBLAS NVCUVID NVCUVENC)
NVIDIA GPU arch: 50 52 60 61 70 75 80 86 89 90
NVIDIA PTX archs: 90

cuDNN: YES (ver 8.9.1)

Build commands

set "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 -DCUDA_ARCH_PTX=9.0"
set ENABLE_CONTRIB=1
set ENABLE_ROLLING=1
python.exe setup.py bdist_wheel --py-limited-api=cp36

Linux

Nvidia CMake configuration output

NVIDIA CUDA: YES (ver 12.1, CUFFT CUBLAS NVCUVID NVCUVENC)
NVIDIA GPU arch: 50 52 53 60 61 62 70 72 75 80 86 87 89 90
NVIDIA PTX archs: 90

cuDNN: YES (ver 8.9.1)

Build commands

export CMAKE_ARGS="-DWITH_CUDA=ON -DCUDA_ARCH_BIN=5.0;5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6;8.7;8.9;9.0 -DCUDA_ARCH_PTX=9.0"
export ENABLE_CONTRIB=1
export ENABLE_ROLLING=1
python setup.py bdist_wheel --py-limited-api=cp36