Git Product home page Git Product logo

Comments (4)

maleadt avatar maleadt commented on July 19, 2024 1

Oh sorry, forgot about that. Yes, this was the reason for the breaking 3.0 release: I removed most of the version databases in this package to lower the maintenance burden. Downstream users have to have some notion about the versions of a library that they support anyway, so I opted for having them pass that instead. For CUDNN, generally passing [v"7"] or whatever you require should work.

For CUDA itself, a minimal set of versions is maintained as it is required to discover the toolkit itself. You can them figure out the version of that toolkit by calling parse_toolkit_version with a tool that has a --version option (like nvdisasm or ptxas) and use that version to discover libraries that have the same version as the toolkit (CUBLAS, CUFFT, etc).

from cudaapi.jl.

maleadt avatar maleadt commented on July 19, 2024

Where exactly is the CUDNN DLL? Also please run with JULIA_DEBUG=CUDAapi.

from cudaapi.jl.

iuliancioarca avatar iuliancioarca commented on July 19, 2024

cudnn.lib is in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64
cudnn64_7.dll is in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin

Debug: Looking for CUDA toolkit via environment variables CUDA_PATH    
└ @ CUDAapi C:\Julia-1.3.0\.julia\packages\CUDAapi\wYUAO\src\CUDAapi.jl:8
┌ Debug: Request to look for library cudnn
│   locations =
│    1-element Array{String,1}:
│     "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1"
└ @ CUDAapi C:\Julia-1.3.0\.julia\packages\CUDAapi\wYUAO\src\CUDAapi.jl:8
┌ Debug: Looking for library cudnn64, cudnn
│   locations =
│    6-element Array{String,1}:
│     "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1"
│     ⋮
│     "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\x64"
└ @ CUDAapi C:\Julia-1.3.0\.julia\packages\CUDAapi\wYUAO\src\CUDAapi.jl:8

Fortunately I had an older sysimage compiled for Knet, which uses:

CUDAapi uuid = "3895d2a7-ec45-59b8-82bb-cfc6a382f9b3"
version = "2.1.0"

This one works

from cudaapi.jl.

iuliancioarca avatar iuliancioarca commented on July 19, 2024

Update:
It seems that versions variable from find_cuda_library is not populated.
version = "2.1.0" of CUDAapi has:

find_cuda_library(name::String, toolkit_dirs::Vector{String}=String[];
                  versions::Vector{VersionNumber}=reverse(get(cuda_versions, name, cuda_versions["toolkit"])),
                  kwargs...)

while latest version has:

function find_cuda_library(name::String, toolkit_dirs::Vector{String}=String[],
                           versions::Vector{VersionNumber}=VersionNumber[]; kwargs...)

from cudaapi.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.