Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GPUArrays extension fails to precompile #281

Closed
gdalle opened this issue Nov 16, 2024 · 1 comment · Fixed by #282
Closed

GPUArrays extension fails to precompile #281

gdalle opened this issue Nov 16, 2024 · 1 comment · Fixed by #282

Comments

@gdalle
Copy link

gdalle commented Nov 16, 2024

I think the latest release with @avik-pal's updates broke something for GPUArrays. As of today, all of DifferentiationInterface's tests fail on Julia 1.11 due to this error message. They didn't fail 4 days ago, and they don't fail on Julia 1.10:

ERROR: The following 1 direct dependency failed to precompile:

ComponentArraysGPUArraysExt --code-coverage=@/home/runner/work/DifferentiationInterface.jl/DifferentiationInterface.jl/DifferentiationInterface --color=auto --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none 

Failed to precompile ComponentArraysGPUArraysExt [9a6daffa-3352-5563-953a-3fb952178ca8] to "/home/runner/.julia/compiled/v1.11/ComponentArraysGPUArraysExt/jl_ZKaRkZ".
ERROR: LoadError: UndefVarError: `backend` not defined in `GPUArrays`
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:42
 [2] top-level scope
   @ ~/.julia/packages/ComponentArrays/jc0dK/ext/ComponentArraysGPUArraysExt.jl:11
 [3] include
   @ ./Base.jl:557 [inlined]
 [4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2790
 [5] top-level scope
   @ stdin:5
in expression starting at /home/runner/.julia/packages/ComponentArrays/jc0dK/ext/ComponentArraysGPUArraysExt.jl:1
in expression starting at stdin:

Related:

Test dependency versions:

Testing DifferentiationInterface
      Status `/tmp/jl_DQRZuT/Project.toml`
  [47edcb42] ADTypes v1.10.0
  [4c88cf16] Aqua v0.8.9
  [b0b7db55] ComponentArrays v0.15.18
  [a93c6f00] DataFrames v1.7.0
  [a0c0ee7d] DifferentiationInterface v0.6.23 `~/work/DifferentiationInterface.jl/DifferentiationInterface.jl/DifferentiationInterface`
  [7d51a73a] ExplicitImports v1.10.1
  [f6369f11] ForwardDiff v0.10.38
  [c3a54625] JET v0.9.12
  [27aeb0d3] JLArrays v0.2.0
  [98e50ef6] JuliaFormatter v1.0.62
  [9f842d2f] SparseConnectivityTracer v0.6.8
  [0a514795] SparseMatrixColorings v0.4.10
  [860ef19b] StableRNGs v1.0.2
  [90137ffa] StaticArrays v1.9.8
  [e88e6eb3] Zygote v0.6.73
  [37e2e46d] LinearAlgebra v1.11.0
  [44cfe95a] Pkg v1.11.0
  [9a3f8284] Random v1.11.0
  [2f01184e] SparseArrays v1.11.0
  [8dfed614] Test v1.11.0
      Status `/tmp/jl_DQRZuT/Manifest.toml`
  [47edcb42] ADTypes v1.10.0
  [621f4979] AbstractFFTs v1.5.0
  [1520ce14] AbstractTrees v0.4.5
  [79e6a3ab] Adapt v4.1.1
  [4c88cf16] Aqua v0.8.9
  [4fba245c] ArrayInterface v7.17.0
  [9e88b42a] Serialization v1.11.0
  [6462fe0b] Sockets v1.11.0
  [2f01184e] SparseArrays v1.11.0
  [4607b0f0] SuiteSparse
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test v1.11.0
  [cf7118a7] UUIDs v1.11.0
  [4ec0a83e] Unicode v1.11.0
  [e66e0078] CompilerSupportLibraries_jll v1.1.1+0
  [deac9b47] LibCURL_jll v8.6.0+0
  [e37daf67] LibGit2_jll v1.7.2+0
  [29816b5a] LibSSH2_jll v1.11.0+1
  [c8ffd9c3] MbedTLS_jll v2.28.6+0
  [14a3606d] MozillaCACerts_jll v2023.12.12
  [4536629a] OpenBLAS_jll v0.3.27+1
  [05823500] OpenLibm_jll v0.8.1+2
  [bea87d4a] SuiteSparse_jll v7.7.0+0
  [83775a58] Zlib_jll v1.2.13+1
  [8e850b90] libblastrampoline_jll v5.11.0+0
  [8e850ede] nghttp2_jll v1.59.0+0
  [3f19e933] p7zip_jll v17.4.0+2
@gdalle
Copy link
Author

gdalle commented Nov 17, 2024

thanks for fixing it so quickly!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant