Skip to content

Commit

Permalink
Remove cuDNN
Browse files Browse the repository at this point in the history
Completely remove cuDNN, since there are no versions of cuDNN compatible with
CUDA 12.0.x.
  • Loading branch information
fwyzard committed Feb 6, 2023
1 parent 8fdc511 commit 3c0ab69
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 62 deletions.
4 changes: 0 additions & 4 deletions cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ Requires: cuda
Requires: cuda-compatible-runtime
Requires: alpaka

%if "%{cmsos}" != "slc7_aarch64"
Requires: cudnn
%endif

Requires: libunwind
%ifnarch ppc64le
Requires: igprof
Expand Down
33 changes: 0 additions & 33 deletions cudnn.spec

This file was deleted.

3 changes: 0 additions & 3 deletions onnxruntime.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ Source: git+https://github.com/%{github_user}/%{n}.git?obj=%{branch}/%{tag}&expo

BuildRequires: cmake ninja
Requires: protobuf py3-numpy py3-wheel py3-onnx zlib libpng py3-pybind11 cuda re2
%if "%{cmsos}" != "slc7_aarch64"
Requires: cudnn
%endif

%prep
%setup -q -n %{n}-%{realversion}
Expand Down
10 changes: 0 additions & 10 deletions scram-tools.file/tools/cudnn/cudnn.xml

This file was deleted.

4 changes: 0 additions & 4 deletions scram-tools.file/tools/onnxruntime/onnxruntime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<environment name="LIBDIR" default="$ONNXRUNTIME_BASE/lib"/>
</client>
<use name="protobuf"/>
<ifarchitecture name="!slc7_aarch64">
<use name="cuda"/>
<use name="cudnn"/>
</ifarchitecture>
<use name="re2"/>
<runtime name="MLAS_DYNAMIC_CPU_ARCH" value="2"/>
</tool>
8 changes: 0 additions & 8 deletions tensorflow-requires.file
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,3 @@ Requires: py3-opt-einsum py3-flatbuffers
Requires: eigen protobuf zlib libpng libjpeg-turbo curl giflib sqlite grpc flatbuffers py3-pybind11
BuildRequires: py3-wheel
%define enable_gpu 0
%if %{enable_gpu}
%if "%{cmsos}" != "slc7_aarch64"
## INCLUDE cuda-flags
Requires: cuda cudnn
%else
%define enable_gpu 0
%endif
%endif

0 comments on commit 3c0ab69

Please sign in to comment.