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 CUDA 11.0 update 1 #374

Merged
merged 7 commits into from
Aug 19, 2020
Merged

Update to CUDA 11.0 update 1 #374

merged 7 commits into from
Aug 19, 2020

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Aug 18, 2020

No description provided.

@maleadt maleadt added the installation CUDA is easy to install, right? label Aug 18, 2020
@maleadt
Copy link
Member Author

maleadt commented Aug 18, 2020

Downloading the new CUDA artifact fails with a 404:

Downloading artifact: CUDA110
--2020-08-18 10:01:52--  https://pkg.julialang.org/artifact/7670a86e87b992ec4edb1c9eaeca8e57e15eeb4c
Resolving pkg.julialang.org (pkg.julialang.org)... 151.101.38.217
Connecting to pkg.julialang.org (pkg.julialang.org)|151.101.38.217|:443... connected.
HTTP request sent, awaiting response... 301 EU internal redirect trigger
Location: https://eu-central.pkg.julialang.org/artifact/7670a86e87b992ec4edb1c9eaeca8e57e15eeb4c [following]
--2020-08-18 10:01:52--  https://eu-central.pkg.julialang.org/artifact/7670a86e87b992ec4edb1c9eaeca8e57e15eeb4c
Resolving eu-central.pkg.julialang.org (eu-central.pkg.julialang.org)... 18.157.163.169
Connecting to eu-central.pkg.julialang.org (eu-central.pkg.julialang.org)|18.157.163.169|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-08-18 10:01:52 ERROR 404: Not Found.
ERROR: LoadError: Could not find a suitable CUDA installation
$ wget https://eu-central.pkg.julialang.org/artifact/7670a86e87b992ec4edb1c9eaeca8e57e15eeb4c                                                                                                                                
--2020-08-18 12:20:40--  https://eu-central.pkg.julialang.org/artifact/7670a86e87b992ec4edb1c9eaeca8e57e15eeb4c
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving eu-central.pkg.julialang.org (eu-central.pkg.julialang.org)... 18.157.163.169
Connecting to eu-central.pkg.julialang.org (eu-central.pkg.julialang.org)|18.157.163.169|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-08-18 12:20:40 ERROR 404: Not Found

Also, why does this not fall back to the URL in the Artifact.toml?

@maleadt
Copy link
Member Author

maleadt commented Aug 18, 2020

Also, why does this not fall back to the URL in the Artifact.toml?

My mistake, that one :-)

@maleadt
Copy link
Member Author

maleadt commented Aug 18, 2020

Actually, on Windows it does error our because of the 404:

julia> CUDA.cuda_artifacts[(release = v"11.0.0", version = v"11.0.3")]()
Downloading artifact: CUDA110
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:12 char:1
+ $webclient.DownloadFile("https://pkg.julialang.org/artifact/796965836 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException
ERROR: Cannot automatically install 'CUDA110'; no download section in 'C:\Users\Tim\.julia\dev\CUDA\Artifacts.toml'
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] ensure_artifact_installed(::String, ::Dict{String,Any}, ::String; platform::Pkg.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Artifacts.jl:886
 [3] do_artifact_str(::String, ::Dict{String,Any}, ::String, ::Module) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Artifacts.jl:1027
 [4] #invokelatest#1 at .\essentials.jl:710 [inlined]
 [5] invokelatest at .\essentials.jl:709 [inlined]
 [6] macro expansion at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Artifacts.jl:1068 [inlined]
 [7] (::CUDA.var"#648#654")() at C:\Users\Tim\.julia\dev\CUDA\deps\bindeps.jl:117
 [8] top-level scope at REPL[6]:1

Even though I do have a CUDA110 download section:

[[CUDA110]]
arch = "x86_64"
git-tree-sha1 = "7670a86e87b992ec4edb1c9eaeca8e57e15eeb4c"
lazy = true
libc = "glibc"
os = "linux"

    [[CUDA110.download]]
    sha256 = "d6a66304e09a46ee8c307b314145d8073b4c08b9ed1da787ac4edcf93c067705"
    url = "https://github.com/JuliaBinaryWrappers/CUDA_jll.jl/releases/download/CUDA-v11.0.3+0/CUDA.v11.0.3.x86_64-linux-gnu.tar.gz"

[[CUDA110]]
arch = "x86_64"
git-tree-sha1 = "796965836d2cdbc7c12c2d896800285d3c266cef"
lazy = true
os = "windows"

    [[CUDA110.download]]
    sha256 = "e3dc82507ac1f16d740970df87a1e75898a6b62479057a419ad6ccfb02b60ba0"
    url = "https://github.com/JuliaBinaryWrappers/CUDA_jll.jl/releases/download/CUDA-v11.0.3+0/CUDA.v11.0.3.x86_64-w64-mingw32.tar.gz"

@codecov
Copy link

codecov bot commented Aug 18, 2020

Codecov Report

Merging #374 into master will decrease coverage by 0.04%.
The diff coverage is 73.91%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #374      +/-   ##
==========================================
- Coverage   79.32%   79.27%   -0.05%     
==========================================
  Files         159      159              
  Lines        8702     8716      +14     
==========================================
+ Hits         6903     6910       +7     
- Misses       1799     1806       +7     
Impacted Files Coverage Δ
test/runtests.jl 51.85% <ø> (ø)
deps/bindeps.jl 84.15% <68.75%> (-2.71%) ⬇️
deps/discovery.jl 70.81% <85.71%> (+0.41%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4cf57f0...2cf8ae3. Read the comment docs.

@maleadt
Copy link
Member Author

maleadt commented Aug 18, 2020

Actually, on Windows it does error our because of the 404:

So apparently my use of @artifact_str broke the include_dependency it adds, and I was using an old Artifacts.toml...

@maleadt maleadt merged commit ccfb3f7 into master Aug 19, 2020
@maleadt maleadt deleted the tb/cuda_11.0.3 branch August 19, 2020 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation CUDA is easy to install, right?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant