Skip to content

Instantly share code, notes, and snippets.

@christiangnrd
Created March 10, 2023 21:57
Show Gist options
  • Save christiangnrd/e57c0c50e707f01ba544163ce99b849e to your computer and use it in GitHub Desktop.
Save christiangnrd/e57c0c50e707f01ba544163ce99b849e to your computer and use it in GitHub Desktop.
Metal.jl 0.2.0 1.9.0-rc1 test run with hanging behaviour and new errors in examples.
(@v1.9) pkg> test Metal
Testing Metal
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_Z3kbDz/Project.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[0c68f7d7] GPUArrays v8.6.3
[dde4c033] Metal v0.2.0
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[de0858da] Printf `@stdlib/Printf`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[10745b16] Statistics v1.9.0 `@stdlib/Statistics`
[8dfed614] Test `@stdlib/Test`
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_Z3kbDz/Manifest.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[fa961155] CEnum v0.4.2
[e2ba6199] ExprTools v0.1.9
[0c68f7d7] GPUArrays v8.6.3
[46192b85] GPUArraysCore v0.1.4
[61eb1bfa] GPUCompiler v0.17.3
[692b3bcd] JLLWrappers v1.4.1
[682c06a0] JSON v0.21.3
[929cbde3] LLVM v4.16.0
[dde4c033] Metal v0.2.0
[69de0a69] Parsers v2.5.8
[21216c6a] Preferences v1.3.0
[189a3867] Reexport v1.2.2
[ae029012] Requires v1.3.0
[66db9d55] SnoopPrecompile v1.0.3
[a759f4b9] TimerOutputs v0.5.22
[dad2f222] LLVMExtra_jll v0.0.16+2
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
[56f22d72] Artifacts `@stdlib/Artifacts`
[2a0f44e3] Base64 `@stdlib/Base64`
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
[7b1f6079] FileWatching `@stdlib/FileWatching`
[b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
[4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts`
[b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
[76f85450] LibGit2 `@stdlib/LibGit2`
[8f399da3] Libdl `@stdlib/Libdl`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[56ddb016] Logging `@stdlib/Logging`
[d6f4376e] Markdown `@stdlib/Markdown`
[a63ad114] Mmap `@stdlib/Mmap`
[ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
[44cfe95a] Pkg v1.9.0 `@stdlib/Pkg`
[de0858da] Printf `@stdlib/Printf`
[9abbd945] Profile `@stdlib/Profile`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[ea8e919c] SHA v0.7.0 `@stdlib/SHA`
[9e88b42a] Serialization `@stdlib/Serialization`
[6462fe0b] Sockets `@stdlib/Sockets`
[2f01184e] SparseArrays `@stdlib/SparseArrays`
[10745b16] Statistics v1.9.0 `@stdlib/Statistics`
[fa267f1f] TOML v1.0.3 `@stdlib/TOML`
[a4e569a6] Tar v1.10.0 `@stdlib/Tar`
[8dfed614] Test `@stdlib/Test`
[cf7118a7] UUIDs `@stdlib/UUIDs`
[4ec0a83e] Unicode `@stdlib/Unicode`
[e66e0078] CompilerSupportLibraries_jll v1.0.2+0 `@stdlib/CompilerSupportLibraries_jll`
[deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
[29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
[c8ffd9c3] MbedTLS_jll v2.28.2+0 `@stdlib/MbedTLS_jll`
[14a3606d] MozillaCACerts_jll v2022.10.11 `@stdlib/MozillaCACerts_jll`
[4536629a] OpenBLAS_jll v0.3.21+4 `@stdlib/OpenBLAS_jll`
[bea87d4a] SuiteSparse_jll v5.10.1+6 `@stdlib/SuiteSparse_jll`
[83775a58] Zlib_jll v1.2.13+0 `@stdlib/Zlib_jll`
[8e850b90] libblastrampoline_jll v5.4.0+0 `@stdlib/libblastrampoline_jll`
[8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
[3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
Testing Running tests...
┌ Info: System information:
│ macOS 13.2.1, Darwin 21.4.0
│ Toolchain:
│ - Julia: 1.9.0-rc1
│ - LLVM: 14.0.6
│ 1 device:
└ - Apple M1 (64.000 KiB allocated)
[ Info: Using cmt library from /Users/christian/.julia/artifacts/d59ac103642d5f41c51caa5205b94e693d9934d0/lib
┌ Info: Using Metal LLVM back-end from /Users/christian/.julia/artifacts/3c74b0072cc694992a9d90b5778fb28f7ec53251/bin:
│ LLVM (http://llvm.org/):
│ LLVM version 14.0.0
│ Optimized build.
│ Default target: aarch64-apple-darwin22.3.0
└ Host CPU: cyclone
[ Info: Running 4 tests in parallel. If this is too many, specify the `--jobs` argument to the tests, or set the JULIA_CPU_THREADS environment variable.
| | ---------------- CPU ---------------- |
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) |
From worker 2: ┌ Warning: Metal does not support Float64 values, try using Float32 instead
From worker 2: └ @ Metal ~/.julia/packages/Metal/X47vU/src/array.jl:38
metal (5) | 1.95 | 0.02 | 1.0 | 166.08 | 416.94 |
execution (4) | 8.07 | 0.29 | 3.6 | 1349.82 | 434.86 |
mps (5) | 6.46 | 0.23 | 3.5 | 994.05 | 509.84 |
From worker 6: 2023-03-10 17:23:37.912 julia[5131:20298] Metal GPU Frame Capture Enabled
array (2) | 18.58 | 1.04 | 5.6 | 3111.46 | 500.00 |
From worker 6: [ Info: GPU frame capture saved to /private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_xAn2x5/test.gputrace/julia_capture_1.gputrace/
profiling (6) | 4.82 | 0.23 | 4.9 | 626.95 | 468.89 |
From worker 3: ERROR: LoadError: There was an error during testing
From worker 3: in expression starting at /Users/christian/.julia/packages/Metal/X47vU/examples/unified_memory.jl:44
examples (3) | failed at 2023-03-10T17:23:53.224
gpuarrays/indexing scalar (2) | 11.98 | 0.46 | 3.8 | 2320.62 | 618.11 |
device/intrinsics (5) | 33.39 | 1.40 | 4.2 | 6750.41 | 642.88 |
gpuarrays/math/power (2) | 31.46 | 2.42 | 7.7 | 5864.67 | 1097.94 |
gpuarrays/indexing find (2) | 37.31 | 2.46 | 6.6 | 7585.58 | 1232.20 |
gpuarrays/linalg/mul!/vector-matrix (5) | 67.22 | 3.24 | 4.8 | 12595.16 | 1021.36 |
gpuarrays/interface (5) | 4.26 | 0.26 | 6.2 | 690.06 | 1022.25 |
gpuarrays/indexing multidimensional (2) | 30.52 | 1.75 | 5.7 | 5468.95 | 1232.20 |
gpuarrays/reductions/any all count (5) | 25.36 | 1.72 | 6.8 | 5233.02 | 1022.25 |
gpuarrays/uniformscaling (5) | 8.45 | 0.42 | 5.0 | 1210.94 | 1022.25 |
gpuarrays/reductions/reducedim! (7) | 146.98 | 7.34 | 5.0 | 29855.65 | 978.95 |
gpuarrays/math/intrinsics (7) | 3.07 | 0.15 | 5.0 | 520.91 | 978.95 |
gpuarrays/linalg (8) | 144.31 | 8.64 | 6.0 | 26783.10 | 1304.58 |
gpuarrays/statistics (8) | 72.11 | 4.60 | 6.4 | 13749.17 | 1367.84 |
gpuarrays/linalg/mul!/matrix-matrix (5) | 120.98 | 6.46 | 5.3 | 18567.94 | 1023.38 |
gpuarrays/linalg/norm (7) | 106.56 | 7.46 | 7.0 | 17580.63 | 1041.67 |
gpuarrays/constructors (5) | 36.72 | 2.43 | 6.6 | 4081.58 | 1023.38 |
gpuarrays/random (7) | 27.26 | 2.79 | 10.2 | 3321.77 | 1041.67 |
gpuarrays/base (5) | 48.06 | 6.46 | 13.4 | 5990.48 | 1023.38 |
gpuarrays/reductions/== isequal (7) | 193.51 | 20.45 | 10.6 | 15701.01 | 1041.67 |
gpuarrays/reductions/minimum maximum extrema (2) | failed at 2023-03-10T17:34:22.259
gpuarrays/reductions/mapreducedim! (7) | 173.50 | 27.32 | 15.7 | 17843.09 | 1244.30 |
gpuarrays/reductions/mapreduce (8) | failed at 2023-03-10T17:36:21.941
gpuarrays/reductions/reduce (9) | 214.17 | 13.90 | 6.5 | 47883.34 | 1520.38 |
gpuarrays/reductions/sum prod (7) | failed at 2023-03-10T17:43:47.886
^Cfatal: error thrown and no exception handler available.
InterruptException()
Testing Tests interrupted. Exiting the test process
_jl_mutex_unlock at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_task_get_next at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
poptask at ./task.jl:963
wait at ./task.jl:972
task_done_hook at ./task.jl:672
jfptr_task_done_hook_46606 at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
ijl_apply_generic at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_finish_task at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
start_task at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
┌ Warning: Forcibly interrupting busy workers
│ exception = schedule: Task not runnable
└ @ Distributed ~/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.9/Distributed/src/cluster.jl:1253
schedule: Task not runnable
atexit hook threw an error: ErrorException("schedule: Task not runnable")
error at ./error.jl:35
#schedule#649 at ./task.jl:829
schedule at ./task.jl:827 [inlined]
uv_writecb_task at ./stream.jl:1166
jfptr_uv_writecb_task_34421 at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
ijl_apply_generic at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jlcapi_uv_writecb_task_39854 at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
uv__write_callbacks at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
uv__stream_io at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
uv__run_pending at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
uv_run at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_task_get_next at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
poptask at ./task.jl:963
wait at ./task.jl:972
uv_write at ./stream.jl:1048
unsafe_write at ./stream.jl:1120
write at ./strings/io.jl:244 [inlined]
print at ./strings/io.jl:246
jfptr_print_37216 at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
ijl_apply_generic at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
showerror at ./errorshow.jl:144
unknown function (ip: 0x16847c0ff)
ijl_apply_generic at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
_atexit at ./initdefs.jl:386
jfptr__atexit_55669 at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/sys.dylib (unknown line)
ijl_apply_generic at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_atexit_hook at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_exit at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
ijl_no_exc_handler at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
jl_finish_task at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
start_task at /Users/christian/.julia/juliaup/julia-1.9.0-rc1+0.aarch64.apple.darwin14/lib/julia/libjulia-internal.1.9.dylib (unknown line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment