-
Notifications
You must be signed in to change notification settings - Fork 221
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
Could not load CUTENSOR artifact dll on Windows 10 #355
Comments
Can you list the files in |
I'm not sure why the DLL wouldn't load then ( |
The cutensor artifact is intact, which rules out download corruption. CUDA 11 support is a pretty recent development, right? Any chance the artifact itself is broken?
This is the subset of dlls that's loaded during CUDA.jl initialization before the error:
|
I downloaded cutensor.dll v11 from Nvidia, and the artifact is identical, so that's not the issue
|
The issue's coming from
I think it may be related to JuliaLang/Pkg.jl#1892. |
I think I'm having similar issue. (I'm using Windows, and I can't load Flux or DiffEqFlux with Julia 1.4.2 or 1.5.0, but the error doesn't occur when using Julia 1.3.1.) |
I'm also using Windows, and I can't load CUDA with Julia 1.4.2 or 1.5.0, but I can with Julia 1.3.1. |
Which version of CUDA are you running? (check with |
Hm, not sure how to use the
But,
|
You should be able to run |
I believe it was the same, or very similar to the issue post. |
The download issue should be fixed now, which leaves us with a secondary issue involving improperly-linked DLLs. Can you confirm that you're able to download those artifacts without a 502/504 error? |
I get 504 error when downloading CUDNN_CUDA102 on CUDA#master. Not fixed evidently. |
Please refer to JuliaLang/Pkg.jl#1892; this is not an issue on the CUDA.jl side. |
For the people where the CUTENSOR dll fails to load, which version of Windows are you using exactly? Could you open the CUTENSOR dll in Dependencies and report what you see: |
@maleadt I also have the cutensor load issue. I am on windows 10 family version 1903. Here is what Dependencies shows : Hoovering over the |
Try installing Visual Studio C++ - that provides VCRUNTIME. After installing, I'm able to initialize CUDA.jl:
|
I directly downloaded the dll from here and now CUDA works. (save it in C:\Windows\sytem32) |
It may suffice to install the 2015-2019 VS C++ redistributable. @charleskawczynski can you give that a shot? If so, we can just add a note to the installation instructions. |
This doesn't seem like the right way of fixing this problem. I'm running into this again after updating CUDA.
julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
JULIA_PKG_DEVDIR = C:/Users/kawcz/Dropbox/Caltech/work/dev/julia @maleadt I'm on Windows 10 Home. |
Please inspect the dependencies then, as listed higher up. |
Per Dependencies documentation:
Once installing Visual C++ Redistributable, I'm able to |
So installing the Visual C++ Redistributable fixed it? Isn't that exactly what the CUDA.jl error suggested? Or what did you mean with 'This doesn't seem like the right way of fixing this problem.'? |
Yes, and yes.
I was thinking that everything should be shipped with |
Ah, ok, no that makes sense but I don't think we have that readily available yet (and I thought that the VC C++ redistributable is a common thing to request users to install). @giordano @staticfloat Do we have the VC C++ redistributable packaged up somehow? |
No, we don't. I think the best solution here would be to auto-determine that it doesn't exist, and if that is the case, download and run this executable: https://aka.ms/vs/16/release/vc_redist.x64.exe I think using the actual executable to install the libraries is better than us trying to do it with a JLL, since these are pretty common libraries and it's better for the user to get them in the way that MS intended. |
Shameless self-plug: https://github.com/giordano/DependencyWalker.jl can be useful to debug why a library can't be loaded |
It would be nice if there was a way to do this without the MS executable, as that requires admin privileges. |
Work for me |
Describe the bug
When installing
CUDA#master
in Julia 1.5 on Windows 10 (after nuking .julia/ to start fresh), a (504) Gateway Timeout exception is thrown while downloading artifacts, followed by an error resulting from failure to load cutensor.dll, despite the existence of the library at the specified path.To reproduce
The Minimal Working Example (MWE) for this bug:
Manifest.toml
Expected behavior
Automatic download/installation of binary artifacts
Version info
Details on Julia:
Details on CUDA:
Additional context
The text was updated successfully, but these errors were encountered: