You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker build -f .docker/Dockerfile-CUDA -t flashlight-cuda .
Sending build context to Docker daemon 7.149MB
Step 1/5 : FROM flml/flashlight:cuda-base-consolidation-latest
---> add8d7c096c6
Step 2/5 : ENV MKLROOT="/opt/intel/mkl"
---> Using cache
---> 767cbfab8a0c
Step 3/5 : RUN mkdir /root/flashlight
---> Using cache
---> 33862a6a2728
Step 4/5 : COPY . /root/flashlight
---> Using cache
---> d0cd18311adb
Step 5/5 : RUN cd /root/flashlight && mkdir -p build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/flashlight -DFL_BACKEND=CUDA -DFL_BUILD_ALL_APPS=ON && make install -j$(nproc)
---> Running in 5bbbb3bd84a8
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- -rdynamic supported.
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) (Required is at least version "1.10.0")
-- googletest not found - will download and build from source
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Building Flashlight with contrib components.
-- Could NOT find cereal (missing: cereal_DIR)
-- Could NOT find cereal (missing: cereal_INCLUDE_DIRS)
-- cereal NOT found. Will download from source
-- ArrayFire found (include: /opt/arrayfire/include, library: ArrayFire::afcuda)
CMake Error at flashlight/fl/tensor/backend/onednn/CMakeLists.txt:8 (message):
oneDNN required to build oneDNN backend: oneDNN was not found
Call Stack (most recent call first):
flashlight/fl/tensor/CMakeLists.txt:45 (include)
flashlight/fl/CMakeLists.txt:41 (include)
CMakeLists.txt:94 (include)
-- Could NOT find DNNL (missing: DNNL_DIR)
-- Configuring incomplete, errors occurred!
See also "/root/flashlight/build/CMakeFiles/CMakeOutput.log".
See also "/root/flashlight/build/CMakeFiles/CMakeError.log".
The command '/bin/sh -c cd /root/flashlight && mkdir -p build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/flashlight -DFL_BACKEND=CUDA -DFL_BUILD_ALL_APPS=ON && make install -j$(nproc)' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered:
Bug Description
Error while building the CUDA Docker image from source:
oneDNN required to build oneDNN backend: oneDNN was not found
Reproduction Steps
Platform and Hardware
Complete Log
The text was updated successfully, but these errors were encountered: