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

Unable to use local CUDA runtime toolkit #2367

Closed
ttsHub opened this issue May 8, 2024 · 1 comment
Closed

Unable to use local CUDA runtime toolkit #2367

ttsHub opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working installation CUDA is easy to install, right?

Comments

@ttsHub
Copy link

ttsHub commented May 8, 2024

Hi All,

I am trying to use the local CUDA runtime (12.4) toolkit but get the following error.

└ @ CUDA_Runtime_Discovery C:\Users\mohitt\.julia\packages\CUDA_Runtime_Discovery\ZGnCZ\src\CUDA_Runtime_Discovery.jl:139
┌ Debug: Could not discover CUDA toolkit
│   exception =
│    Could not find library 'nvToolsExt' in your local CUDA installation.
│    Stacktrace:
│      [1] error(s::String)
│        @ Base .\error.jl:35
│      [2] get_library(dirs::Vector{String}, name::String; optional::Bool)

I have all the required libraries installed in CUDA toolkit, and CUDA runtime is able to discover them, except for this one. Here NVTX - NVIDIA Tools Extension Library, it is mentioned that NVTX is no longer a compiled library (it is now header-only). This makes sense, as I could not find Nsight NVTX installation option in the NVIDIA CUDA 12.4 installer.

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39 (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, tigerlake)
  Threads: 1 on 16 virtual cores
Environment:
  JULIA_DEBUG = CUDA_Runtime_Discovery
  JULIA_DIR = C:\Users\AppData\Local\Programs\julia-1.10.0\lib\julia
  JULIA_IMAGE_THREADS = 4
  JULIA_NUM_THREADS = 1

Post on discourse

@ttsHub ttsHub added the bug Something isn't working label May 8, 2024
@maleadt maleadt added the installation CUDA is easy to install, right? label May 15, 2024
@maleadt
Copy link
Member

maleadt commented May 15, 2024

JuliaGPU/CUDA_Runtime_Discovery.jl@3cd282d

@maleadt maleadt closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working installation CUDA is easy to install, right?
Projects
None yet
Development

No branches or pull requests

2 participants