Skip to content

Instantly share code, notes, and snippets.

@DrChainsaw
Created December 5, 2019 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrChainsaw/1dc5187245fa86a7888953430d931af2 to your computer and use it in GitHub Desktop.
Save DrChainsaw/1dc5187245fa86a7888953430d931af2 to your computer and use it in GitHub Desktop.
CuArrays 1.5.0 test failure
test CuArrays
Testing CuArrays
Resolving package versions...
Status `E:\Temp\systmp\jl_bv8tIh\Manifest.toml`
[621f4979] AbstractFFTs v0.5.0
[79e6a3ab] Adapt v1.0.0
[9e28174c] BinDeps v1.0.0
[b99e7846] BinaryProvider v0.5.8
[fa961155] CEnum v0.2.0
[3895d2a7] CUDAapi v2.0.0
[c5f51814] CUDAdrv v4.0.4
[be33ccc6] CUDAnative v2.6.0
[bbf7d656] CommonSubexpressions v0.2.0
[34da2185] Compat v2.2.0
[8f4d0f93] Conda v1.3.0
[3a865a2d] CuArrays v1.5.0
[864edb3b] DataStructures v0.17.6
[163ba53b] DiffResults v0.0.4
[b552c78f] DiffRules v0.1.0
[7a1cc6ca] FFTW v1.1.0
[1a297f60] FillArrays v0.8.2
[f6369f11] ForwardDiff v0.10.7
[0c68f7d7] GPUArrays v2.0.1
[682c06a0] JSON v0.21.0
[929cbde3] LLVM v1.3.2
[1914dd2f] MacroTools v0.5.3
[872c559c] NNlib v0.6.0
[77ba4419] NaNMath v0.3.3
[bac558e1] OrderedCollections v1.1.0
[69de0a69] Parsers v0.3.10
[189a3867] Reexport v0.2.0
[ae029012] Requires v0.5.2
[276daf66] SpecialFunctions v0.8.0
[90137ffa] StaticArrays v0.12.1
[a759f4b9] TimerOutputs v0.5.3
[30578b45] URIParser v0.4.0
[81def892] VersionParsing v1.1.3
[2a0f44e3] Base64 [`@stdlib/Base64`]
[ade2ca70] Dates [`@stdlib/Dates`]
[8bb1440f] DelimitedFiles [`@stdlib/DelimitedFiles`]
[8ba89e20] Distributed [`@stdlib/Distributed`]
[b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`]
[76f85450] LibGit2 [`@stdlib/LibGit2`]
[8f399da3] Libdl [`@stdlib/Libdl`]
[37e2e46d] LinearAlgebra [`@stdlib/LinearAlgebra`]
[56ddb016] Logging [`@stdlib/Logging`]
[d6f4376e] Markdown [`@stdlib/Markdown`]
[a63ad114] Mmap [`@stdlib/Mmap`]
[44cfe95a] Pkg [`@stdlib/Pkg`]
[de0858da] Printf [`@stdlib/Printf`]
[3fa0cd96] REPL [`@stdlib/REPL`]
[9a3f8284] Random [`@stdlib/Random`]
[ea8e919c] SHA [`@stdlib/SHA`]
[9e88b42a] Serialization [`@stdlib/Serialization`]
[1a1011a3] SharedArrays [`@stdlib/SharedArrays`]
[6462fe0b] Sockets [`@stdlib/Sockets`]
[2f01184e] SparseArrays [`@stdlib/SparseArrays`]
[10745b16] Statistics [`@stdlib/Statistics`]
[8dfed614] Test [`@stdlib/Test`]
[cf7118a7] UUIDs [`@stdlib/UUIDs`]
[4ec0a83e] Unicode [`@stdlib/Unicode`]
┌ Warning: Performing scalar operations on GPU arrays: This is very slow, consider disallowing these operations with `allowscalar(false)`
└ @ GPUArrays E:\Programs\julia\.julia\packages\GPUArrays\1wgPO\src\indexing.jl:16
[ Info: Testing CUDNN 7.4.1
Batchnorm: Error During Test at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\dnn.jl:83
Got exception outside of a @test
CUDNNError(code CUDNN_STATUS_BAD_PARAM, CUDNN_STATUS_BAD_PARAM)
Stacktrace:
[1] cudnnBatchNormalizationForwardInference(::Ptr{Nothing}, ::CuArrays.CUDNN.cudnnBatchNormMode_t, ::Base.RefValue{Float32}, ::Base.RefValue{Float32}, ::CuArrays.CUDNN.TensorDesc, ::CuArray{Float32,4,CuArray{Float32,2,Nothing}}, ::CuArrays.CUDNN.TensorDesc, ::CuArray{Float32,4,Nothing}, ::CuArrays.CUDNN.TensorDesc, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::Float32) at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\src\dnn\error.jl:19
[2] #cudnnBNForward!#344(::Nothing, ::Float32, ::Float32, ::Float32, ::Bool, ::typeof(CuArrays.CUDNN.cudnnBNForward!), ::CuArray{Float32,4,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,4,CuArray{Float32,2,Nothing}}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::Float64) at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\src\dnn\batchnorm.jl:62
[3] #cudnnBNForward! at .\none:0 [inlined]
[4] #batchnorm#343 at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\src\dnn\batchnorm.jl:26 [inlined]
[5] #batchnorm at .\none:0 [inlined]
[6] #batchnorm#342(::Nothing, ::Float32, ::Float32, ::Float32, ::Bool, ::typeof(CuArrays.CUDNN.batchnorm), ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,2,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::Float64) at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\src\dnn\batchnorm.jl:17
[7] (::CuArrays.CUDNN.var"#kw##batchnorm")(::NamedTuple{(:training,),Tuple{Bool}}, ::typeof(CuArrays.CUDNN.batchnorm), ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,2,Nothing}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::Float64) at .\none:0
[8] top-level scope at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\dnn.jl:87
[9] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Test\src\Test.jl:1107
[10] top-level scope at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\dnn.jl:84
[11] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Test\src\Test.jl:1107
[12] top-level scope at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\dnn.jl:3
[13] include at .\boot.jl:328 [inlined]
[14] include_relative(::Module, ::String) at .\loading.jl:1105
[15] include(::Module, ::String) at .\Base.jl:31
[16] include(::String) at .\client.jl:424
[17] top-level scope at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\runtests.jl:39
[18] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Test\src\Test.jl:1107
[19] top-level scope at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\runtests.jl:27
[20] include at .\boot.jl:328 [inlined]
[21] include_relative(::Module, ::String) at .\loading.jl:1105
[22] include(::Module, ::String) at .\Base.jl:31
[23] include(::String) at .\client.jl:424
[24] top-level scope at none:6
[25] eval(::Module, ::Any) at .\boot.jl:330
[26] exec_options(::Base.JLOptions) at .\client.jl:263
[27] _start() at .\client.jl:460
┌ Warning: Not testing CUTENSOR
└ @ Main E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\tensor.jl:7
[ Info: Testing ForwardDiff integration
Effective GPU memory usage: 22.85% (2.514 GiB/11.000 GiB)
CuArrays GPU memory usage: 39.623 MiB
BinnedPool usage: 39.623 MiB (10.182 MiB allocated, 29.440 MiB cached)
BinnedPool efficiency: 18.59% (7.368 MiB requested, 39.623 MiB allocated)
────────────────────────────────────────────────────────
Time
──────────────────────
Tot / % measured: 497s / 0.82%
Section ncalls time %tot avg
────────────────────────────────────────────────────────
background task 20 1.12s 27.5% 55.8ms
pooled free 298 433μs 0.01% 1.45μs
reclaim 20 14.1ms 0.35% 707μs
scan 20 40.4μs 0.00% 2.02μs
pooled alloc 10.1k 2.87s 70.8% 283μs
1. try alloc 3.54k 294ms 7.27% 83.0μs
2. gc (incremental) 6 90.2ms 2.23% 15.0ms
pooled free 29 33.9μs 0.00% 1.17μs
3. reclaim unused 6 563μs 0.01% 93.9μs
reclaim 6 546μs 0.01% 91.1μs
scan 6 6.60μs 0.00% 1.10μs
4. try alloc 6 265μs 0.01% 44.2μs
5. gc (full) 6 1.69s 41.7% 281ms
pooled free 40 39.8μs 0.00% 995ns
6. reclaim unused 6 711μs 0.02% 119μs
reclaim 6 697μs 0.02% 116μs
scan 6 7.50μs 0.00% 1.25μs
7. try alloc 6 347μs 0.01% 57.9μs
8. reclaim everything 6 9.70μs 0.00% 1.62μs
reclaim 6 3.50μs 0.00% 584ns
scan 6 1.70μs 0.00% 283ns
9. try alloc 6 100μs 0.00% 16.7μs
pooled free 7.69k 59.6ms 1.47% 7.75μs
reclaim 6 6.26ms 0.15% 1.04ms
scan 6 6.30μs 0.00% 1.05μs
────────────────────────────────────────────────────────
────────────────────────────────────────
Time
──────────────────────
Tot / % measured: 499s / 0.07%
Section ncalls time %tot avg
────────────────────────────────────────
alloc 3.56k 290ms 88.6% 81.3μs
free 1.46k 37.5ms 11.5% 25.6μs
────────────────────────────────────────
Test Summary: | Pass Error Total
CuArrays | 4869 1 4870
GPUArrays test suite | 1104 1104
essential utilities | 3 3
Memory | 5 5
Array | 22 22
Adapt | 2 2
Broadcast | 18 18
Cufunc | 8 8
Ref Broadcast | 1 1
Broadcast Fix | 3 3
Reduce | 19 19
0D | 2 2
SubArray | 22 22
reshape | 1 1
triu! with diagonal -2 | 1 1
triu! with diagonal -1 | 1 1
triu! with diagonal 0 | 1 1
triu! with diagonal 1 | 1 1
triu! with diagonal 2 | 1 1
tril! with diagonal -2 | 1 1
tril! with diagonal -1 | 1 1
tril! with diagonal 0 | 1 1
tril! with diagonal 1 | 1 1
tril! with diagonal 2 | 1 1
Utilities | 2 2
accumulate | 17 17
logical indexing | 15 15
generic fallbacks | 11 11
reverse | 26 26
permutedims | 2 2
findall | 4 4
findfirst | 4 4
findmax & findmin | 8 8
argmax & argmin | 4 4
memory allocator | 2 2
CUBLAS | 1502 1502
CURAND | 99 99
CUFFT | 150 150
CUSPARSE | 1235 1235
CUSOLVER | 305 305
CUSPARSE + CUSOLVER | 84 84
CUDNN | 71 1 72
NNlib | 67 67
Activations and Other Ops | 3 3
Batchnorm | 1 1
CUTENSOR | No tests
ForwardDiff | 107 107
ERROR: LoadError: Some tests did not pass: 4869 passed, 0 failed, 1 errored, 0 broken.
in expression starting at E:\Programs\julia\.julia\packages\CuArrays\ZYCpV\test\runtests.jl:25
ERROR: Package CuArrays errored during testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment