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

require cudnn takes 10 minutes on a Volta with 1 GPU (Cuda 9, cudnn 7.1) #394

Open
ajhool opened this issue Jan 26, 2019 · 0 comments
Open

Comments

@ajhool
Copy link

ajhool commented Jan 26, 2019

The following command takes 10 minutes:

    #mycode.lua
    print('params.backend == cudnn, require cudnn')
    require 'cudnn'
    print('cudnn required')

require nn takes a split second.

And am building it using docker:

FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 as base
...
RUN git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && \
    luarocks make cudnn-scm-1.rockspec

#385 also talks about a slow loading time due to gpu initialization. Does setting the # of visible GPUs to zero affect runtime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant