Skip to content

Commit 5471e58

Browse files
authored
Merge pull request #25 from datamachines/20211222
20211222 Release
2 parents 4fda6c9 + a20fd7e commit 5471e58

15 files changed

+2476
-21
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
CTO_FROM : nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04
2+
docker build \
3+
--build-arg CTO_FROM="nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04" \
4+
--build-arg CTO_TENSORFLOW_VERSION="2.7.0" \
5+
--build-arg CTO_OPENCV_VERSION="3.4.16" \
6+
--build-arg CTO_NUMPROC="32" \
7+
--build-arg CTO_CUDA_APT="" \
8+
--build-arg CTO_CUDA_BUILD="-D WITH_CUDA=ON -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda -D CMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DCUDA_ARCH_BIN=6.0,6.1,7.0,7.5,8.0,8.6 -D WITH_NVCUVID=ON" \
9+
--build-arg LATEST_BAZELISK="1.11.0" \
10+
--build-arg LATEST_BAZEL="3.7.2" \
11+
--build-arg CTO_TF_CUDNN="yes" \
12+
--build-arg CTO_TF_OPT="v2" \
13+
--build-arg CTO_TF_KERAS="keras" \
14+
--build-arg CTO_TF_PYTHON="" \
15+
--build-arg CTO_TF_NUMPY="numpy" \
16+
--build-arg CTO_DNN_ARCH="6.0,6.1,7.0,7.5,8.0,8.6" \
17+
--build-arg CTO_CUDA11_APT_XTRA="" \
18+
--build-arg CTO_PYTORCH="torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html" \
19+
--tag="datamachines/cudnn_tensorflow_opencv:11.3.1_2.7.0_3.4.16-20211222" \
20+
-f ubuntu20.04/Dockerfile \
21+
.
22+
-- CUDA NVCC target flags: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-D_FORCE_INLINES
23+
24+
General configuration for OpenCV 3.4.16 =====================================
25+
Version control: unknown
26+
27+
Extra modules:
28+
Location (extra): /usr/local/src/opencv_contrib/modules
29+
Version control (extra): unknown
30+
31+
Platform:
32+
Timestamp: 2021-12-23T00:47:13Z
33+
Host: Linux 5.11.0-43-generic x86_64
34+
CMake: 3.16.3
35+
CMake generator: Unix Makefiles
36+
CMake build tool: /usr/bin/make
37+
Configuration: Release
38+
39+
CPU/HW features:
40+
Baseline: SSE SSE2 SSE3
41+
requested: SSE3
42+
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
43+
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
44+
SSE4_1 (14 files): + SSSE3 SSE4_1
45+
SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
46+
FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
47+
AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
48+
AVX2 (28 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
49+
AVX512_SKX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
50+
51+
C/C++:
52+
Built as dynamic libs?: YES
53+
C++11: YES
54+
C++ Compiler: /usr/bin/c++ (ver 9.3.0)
55+
C++ flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
56+
C++ flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
57+
C Compiler: /usr/bin/cc
58+
C flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
59+
C flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
60+
Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed
61+
Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed
62+
ccache: NO
63+
Precompiled headers: NO
64+
Extra dependencies: m pthread cudart_static -lpthread dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cufft -L/usr/local/cuda/lib64 -L/usr/lib/x86_64-linux-gnu
65+
3rdparty dependencies:
66+
67+
OpenCV modules:
68+
To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy hdf hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
69+
Disabled: world
70+
Disabled by dependency: -
71+
Unavailable: cvv java matlab ovis python2 ts viz
72+
Applications: apps
73+
Documentation: NO
74+
Non-free algorithms: NO
75+
76+
GUI:
77+
GTK+: YES (ver 3.24.20)
78+
GThread : YES (ver 2.64.6)
79+
GtkGlExt: NO
80+
VTK support: NO
81+
82+
Media I/O:
83+
ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11)
84+
JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80)
85+
WEBP: build (ver encoder: 0x020f)
86+
PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.37)
87+
TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.1.0)
88+
JPEG 2000: build (ver 1.900.1)
89+
OpenEXR: build (ver 2.3.0)
90+
GDAL: NO
91+
HDR: YES
92+
SUNRASTER: YES
93+
PXM: YES
94+
95+
Video I/O:
96+
DC1394: YES (ver 2.2.5)
97+
FFMPEG: YES
98+
avcodec: YES (ver 58.54.100)
99+
avformat: YES (ver 58.29.100)
100+
avutil: YES (ver 56.31.100)
101+
swscale: YES (ver 5.5.100)
102+
avresample: NO
103+
GStreamer: YES
104+
base: YES (ver 1.16.2)
105+
video: YES (ver 1.16.2)
106+
app: YES (ver 1.16.2)
107+
riff: YES (ver 1.16.2)
108+
pbutils: YES (ver 1.16.2)
109+
libv4l/libv4l2: NO
110+
v4l/v4l2: linux/videodev2.h
111+
Xine: YES (ver 1.2.9)
112+
113+
Parallel framework: TBB (ver 2020.1 interface 11101)
114+
115+
Trace: YES (with Intel ITT)
116+
117+
Other third-party libraries:
118+
Intel IPP: 2020.0.0 Gold [2020.0.0]
119+
at: /usr/local/src/opencv/build/3rdparty/ippicv/ippicv_lnx/icv
120+
Intel IPP IW: sources (2020.0.0)
121+
at: /usr/local/src/opencv/build/3rdparty/ippicv/ippicv_lnx/iw
122+
Lapack: NO
123+
Eigen: YES (ver 3.3.7)
124+
Custom HAL: NO
125+
Protobuf: build (3.5.1)
126+
127+
NVIDIA CUDA: YES (ver 11.3, CUFFT CUBLAS FAST_MATH)
128+
NVIDIA GPU arch: 60 61 70 75 80 86
129+
NVIDIA PTX archs:
130+
131+
OpenCL: YES (no extra features)
132+
Include path: /usr/local/src/opencv/3rdparty/include/opencl/1.2
133+
Link libraries: Dynamic load
134+
135+
Python 3:
136+
Interpreter: /usr/bin/python3 (ver 3.8.10)
137+
Libraries: /usr/lib/x86_64-linux-gnu/libpython3.8.so (ver 3.8.10)
138+
numpy: /usr/local/lib/python3.8/dist-packages/numpy/core/include (ver 1.21.5)
139+
install path: /usr/lib/python3/dist-packages/cv2/python-3.8
140+
141+
Python (for build): /usr/bin/python3
142+
143+
Java:
144+
ant: NO
145+
JNI: NO
146+
Java wrappers: NO
147+
Java tests: NO
148+
149+
Install to: /usr/local
150+
-----------------------------------------------------------------
151+
152+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
CTO_FROM : nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04
2+
docker build \
3+
--build-arg CTO_FROM="nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04" \
4+
--build-arg CTO_TENSORFLOW_VERSION="2.7.0" \
5+
--build-arg CTO_OPENCV_VERSION="4.5.4" \
6+
--build-arg CTO_NUMPROC="32" \
7+
--build-arg CTO_CUDA_APT="" \
8+
--build-arg CTO_CUDA_BUILD="-D WITH_CUDA=ON -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda -D CMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DCUDA_ARCH_BIN=6.0,6.1,7.0,7.5,8.0,8.6 -D WITH_NVCUVID=ON" \
9+
--build-arg LATEST_BAZELISK="1.11.0" \
10+
--build-arg LATEST_BAZEL="3.7.2" \
11+
--build-arg CTO_TF_CUDNN="yes" \
12+
--build-arg CTO_TF_OPT="v2" \
13+
--build-arg CTO_TF_KERAS="keras" \
14+
--build-arg CTO_TF_PYTHON="" \
15+
--build-arg CTO_TF_NUMPY="numpy" \
16+
--build-arg CTO_DNN_ARCH="6.0,6.1,7.0,7.5,8.0,8.6" \
17+
--build-arg CTO_CUDA11_APT_XTRA="" \
18+
--build-arg CTO_PYTORCH="torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html" \
19+
--tag="datamachines/cudnn_tensorflow_opencv:11.3.1_2.7.0_4.5.4-20211222" \
20+
-f ubuntu20.04/Dockerfile \
21+
.
22+
-- CUDA NVCC target flags: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-D_FORCE_INLINES
23+
24+
General configuration for OpenCV 4.5.4 =====================================
25+
Version control: unknown
26+
27+
Extra modules:
28+
Location (extra): /usr/local/src/opencv_contrib/modules
29+
Version control (extra): unknown
30+
31+
Platform:
32+
Timestamp: 2021-12-23T01:11:22Z
33+
Host: Linux 5.11.0-43-generic x86_64
34+
CMake: 3.16.3
35+
CMake generator: Unix Makefiles
36+
CMake build tool: /usr/bin/make
37+
Configuration: Release
38+
39+
CPU/HW features:
40+
Baseline: SSE SSE2 SSE3
41+
requested: SSE3
42+
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
43+
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
44+
SSE4_1 (15 files): + SSSE3 SSE4_1
45+
SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
46+
FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
47+
AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
48+
AVX2 (30 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
49+
AVX512_SKX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
50+
51+
C/C++:
52+
Built as dynamic libs?: YES
53+
C++ standard: 11
54+
C++ Compiler: /usr/bin/c++ (ver 9.3.0)
55+
C++ flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
56+
C++ flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
57+
C Compiler: /usr/bin/cc
58+
C flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
59+
C flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
60+
Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed
61+
Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed
62+
ccache: NO
63+
Precompiled headers: NO
64+
Extra dependencies: m pthread cudart_static -lpthread dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/usr/local/cuda/lib64 -L/usr/lib/x86_64-linux-gnu
65+
3rdparty dependencies:
66+
67+
OpenCV modules:
68+
To be built: alphamat aruco barcode bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
69+
Disabled: world
70+
Disabled by dependency: -
71+
Unavailable: cvv java julia matlab ovis python2 ts viz
72+
Applications: apps
73+
Documentation: NO
74+
Non-free algorithms: NO
75+
76+
GUI: GTK3
77+
GTK+: YES (ver 3.24.20)
78+
GThread : YES (ver 2.64.6)
79+
GtkGlExt: NO
80+
VTK support: NO
81+
82+
Media I/O:
83+
ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11)
84+
JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80)
85+
WEBP: build (ver encoder: 0x020f)
86+
PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.37)
87+
TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.1.0)
88+
JPEG 2000: OpenJPEG (ver 2.3.1)
89+
OpenEXR: build (ver 2.3.0)
90+
GDAL: NO
91+
HDR: YES
92+
SUNRASTER: YES
93+
PXM: YES
94+
PFM: YES
95+
96+
Video I/O:
97+
DC1394: YES (2.2.5)
98+
FFMPEG: YES
99+
avcodec: YES (58.54.100)
100+
avformat: YES (58.29.100)
101+
avutil: YES (56.31.100)
102+
swscale: YES (5.5.100)
103+
avresample: NO
104+
GStreamer: YES (1.16.2)
105+
v4l/v4l2: YES (linux/videodev2.h)
106+
Xine: YES (ver 1.2.9)
107+
108+
Parallel framework: TBB (ver 2020.1 interface 11101)
109+
110+
Trace: YES (with Intel ITT)
111+
112+
Other third-party libraries:
113+
Intel IPP: 2020.0.0 Gold [2020.0.0]
114+
at: /usr/local/src/opencv/build/3rdparty/ippicv/ippicv_lnx/icv
115+
Intel IPP IW: sources (2020.0.0)
116+
at: /usr/local/src/opencv/build/3rdparty/ippicv/ippicv_lnx/iw
117+
VA: NO
118+
Lapack: NO
119+
Eigen: YES (ver 3.3.7)
120+
Custom HAL: NO
121+
Protobuf: build (3.5.1)
122+
123+
NVIDIA CUDA: YES (ver 11.3, CUFFT CUBLAS FAST_MATH)
124+
NVIDIA GPU arch: 60 61 70 75 80 86
125+
NVIDIA PTX archs:
126+
127+
cuDNN: YES (ver 8.2.0)
128+
129+
OpenCL: YES (no extra features)
130+
Include path: /usr/local/src/opencv/3rdparty/include/opencl/1.2
131+
Link libraries: Dynamic load
132+
133+
Python 3:
134+
Interpreter: /usr/bin/python3 (ver 3.8.10)
135+
Libraries: /usr/lib/x86_64-linux-gnu/libpython3.8.so (ver 3.8.10)
136+
numpy: /usr/local/lib/python3.8/dist-packages/numpy/core/include (ver 1.21.5)
137+
install path: /usr/lib/python3/dist-packages/cv2/python-3.8
138+
139+
Python (for build): /usr/bin/python3
140+
141+
Java:
142+
ant: NO
143+
JNI: NO
144+
Java wrappers: NO
145+
Java tests: NO
146+
147+
Install to: /usr/local
148+
-----------------------------------------------------------------
149+
150+

0 commit comments

Comments
 (0)