Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to cuDNN 8.8.0, pyCUDA 2022.2.2 #8364

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions cudnn.spec
@@ -1,8 +1,7 @@
### RPM external cudnn 8.3.3.40
### RPM external cudnn 8.8.0.121
## INITENV +PATH LD_LIBRARY_PATH %i/lib64

%define cudaver 11.5
%define cudnnver_maj %(echo %{realversion} | cut -f1,2,3 -d.)
%define cudaver 11

# NVIDIA uses sbsa for aarch64, and the standard architecture name for ppc64le and x86_64
%ifarch aarch64
Expand All @@ -14,13 +13,13 @@
# cuDNN archive base name and unpacked name
%define archive cudnn-linux-%{nvarch}-%{realversion}_cuda%{cudaver}-archive

Source: https://developer.download.nvidia.com/compute/redist/cudnn/v%{cudnnver_maj}/local_installers/%{cudaver}/%{archive}.tar.xz
Source: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-%{nvarch}/%{archive}.tar.xz
Requires: cuda

%prep
%setup -n %{archive}

if [ "${CUDA_VERSION%.*}" != %{cudaver} ]; then
if [ "${CUDA_VERSION%.*.*}" != %{cudaver} ]; then
echo 'Incompatible CUDA version in cudnn.spec!'
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion pip/requirements.txt
Expand Up @@ -226,7 +226,7 @@ pybind11==2.10.0
pybrain==0.3.3
pycodestyle==2.9.1
pycparser==2.21
pycuda==2022.1
pycuda==2022.2.2
pycurl==7.45.1
pydot==1.4.2
pyflakes==2.5.0
Expand Down