Skip to content

Instantly share code, notes, and snippets.

@christiangnrd
Created March 10, 2023 21:19
Show Gist options
  • Save christiangnrd/4fde5f09fddbbaa0ff831fba9b709d01 to your computer and use it in GitHub Desktop.
Save christiangnrd/4fde5f09fddbbaa0ff831fba9b709d01 to your computer and use it in GitHub Desktop.
Metal.jl 0.2.0 Julia 1.9.0-rc1 tests with errors and hangs
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.9.0-rc1 (2023-03-07)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.9) pkg> test Metal
Testing Metal
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_J5Ek5F/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_J5Ek5F/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.94 | 0.02 | 1.2 | 166.08 | 403.80 |
execution (4) | 7.84 | 0.29 | 3.7 | 1349.82 | 467.38 |
mps (5) | 6.35 | 0.23 | 3.7 | 994.05 | 509.03 |
From worker 6: 2023-03-10 16:54:08.834 julia[757:7496] Metal GPU Frame Capture Enabled
array (2) | 19.71 | 1.02 | 5.2 | 3111.46 | 512.98 |
From worker 6: [ Info: GPU frame capture saved to /private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_vEZwer/test.gputrace/julia_capture_1.gputrace/
profiling (6) | 6.49 | 0.25 | 3.8 | 626.95 | 449.05 |
examples (3) | 36.08 | 0.00 | 0.0 | 11.22 | 408.94 |
gpuarrays/indexing scalar (2) | 16.43 | 0.56 | 3.4 | 2320.68 | 620.70 |
device/intrinsics (5) | 38.79 | 1.52 | 3.9 | 6750.40 | 644.67 |
gpuarrays/math/power (2) | 31.64 | 2.36 | 7.4 | 5864.60 | 1119.05 |
gpuarrays/indexing find (2) | 38.33 | 2.47 | 6.5 | 7585.58 | 1162.09 |
gpuarrays/linalg/mul!/vector-matrix (5) | 67.46 | 3.31 | 4.9 | 12595.16 | 917.48 |
gpuarrays/interface (5) | 4.20 | 0.26 | 6.2 | 690.10 | 939.98 |
gpuarrays/indexing multidimensional (2) | 30.93 | 1.73 | 5.6 | 5468.95 | 1162.09 |
gpuarrays/reductions/any all count (5) | 25.14 | 1.72 | 6.9 | 5232.98 | 954.31 |
gpuarrays/uniformscaling (5) | 8.38 | 0.42 | 5.0 | 1211.18 | 954.31 |
gpuarrays/reductions/reducedim! (7) | 147.67 | 7.31 | 5.0 | 29854.94 | 917.47 |
gpuarrays/math/intrinsics (7) | 3.03 | 0.15 | 4.9 | 520.97 | 928.44 |
gpuarrays/linalg (3) | 144.91 | 8.38 | 5.8 | 26780.07 | 1259.69 |
gpuarrays/statistics (3) | 73.02 | 4.73 | 6.5 | 13749.16 | 1259.69 |
gpuarrays/linalg/mul!/matrix-matrix (5) | 119.64 | 6.82 | 5.7 | 18567.69 | 954.48 |
gpuarrays/linalg/norm (7) | 111.37 | 8.59 | 7.7 | 17580.57 | 938.56 |
gpuarrays/constructors (5) | 40.17 | 3.51 | 8.7 | 4081.47 | 954.48 |
gpuarrays/random (7) | 30.54 | 3.46 | 11.3 | 3321.77 | 938.56 |
gpuarrays/base (5) | 48.28 | 6.57 | 13.6 | 5990.48 | 954.48 |
gpuarrays/reductions/== isequal (7) | failed at 2023-03-10T17:03:00.135
gpuarrays/reductions/minimum maximum extrema (2) | 490.34 | 56.24 | 11.5 | 60488.23 | 1448.81 |
gpuarrays/reductions/mapreduce (3) | failed at 2023-03-10T17:06:53.483
gpuarrays/reductions/mapreducedim! (8) | 254.43 | 17.99 | 7.1 | 47554.69 | 955.36 |
gpuarrays/reductions/reduce (2) | 365.74 | 34.48 | 9.4 | 44539.20 | 1919.59 |
gpuarrays/reductions/sum prod (9) | 436.78 | 16.20 | 3.7 | 53075.48 | 1797.62 |
^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: 0x13cdf40ff)
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