Skip to content

Commit

Permalink
fix(cpu): cudnn is now on by default, auto switch it to off in case o…
Browse files Browse the repository at this point in the history
…f cpu_only
  • Loading branch information
fantes authored and mergify[bot] committed Sep 17, 2021
1 parent 74487dc commit 3770baf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ if (USE_CPU_ONLY)
set(USE_CAFFE2_CPU_ONLY ON)
set(USE_TORCH_CPU_ONLY ON)
set(USE_FAISS_CPU_ONLY ON)
set(USE_CUDNN OFF)
else()
cmake_minimum_required(VERSION 3.14)
include(cmake/Cuda.cmake) # cuda + cudnn
Expand Down

0 comments on commit 3770baf

Please sign in to comment.