Skip to content

Pass registration broken on recent release? #789

@wsmoses

Description

@wsmoses

cc @giordano @vchuravy

on recent CUDA/GPUCompiler:

Copy preference file to point to newly built libReactant
Run '/home/runner/k8s/index.js'
using script executor
     Cloning git-repo `[https://github.com/EnzymeAD/Reactant.jl.git`](https://github.com/EnzymeAD/Reactant.jl.git%60)
    Updating git-repo `[https://github.com/EnzymeAD/Reactant.jl.git`](https://github.com/EnzymeAD/Reactant.jl.git%60)
    Updating git-repo `[https://github.com/EnzymeAD/Reactant.jl.git`](https://github.com/EnzymeAD/Reactant.jl.git%60)
   Resolving package versions...
   Installed GPUCompiler ─ v1.10.0
      Compat entries added for ReactantCore
    Updating `/__w/Enzyme-JAX/Enzyme-JAX/GB-25/Project.toml`
  [c7e460c6] + ArgParse v1.2.0
  [ab4f0b2a] + BFloat16s v0.6.1
⌅ [052768ef] + CUDA v5.11.2
⌅ [0376089a] + ClimaOcean v0.5.10
  [63c18a36] + KernelAbstractions v0.9.41
  [da04e1cc] + MPI v0.20.26
⌅ [9e8cae18] + Oceananigans v0.96.26
⌅ [aea7be01] + PrecompileTools v1.2.1
  [3c362404] + Reactant v0.2.255 `[https://github.com/EnzymeAD/Reactant.jl.git#main`](https://github.com/EnzymeAD/Reactant.jl.git#main%60)
  [a3311ec8] + ReactantCore v0.1.19 `[https://github.com/EnzymeAD/Reactant.jl.git:lib/ReactantCore#main`](https://github.com/EnzymeAD/Reactant.jl.git:lib/ReactantCore#main%60)
  [d496a93d] + SeawaterPolynomials v0.3.10
  [76a88914] + CUDA_Runtime_jll v0.21.0+1
⌅ [0234f1f7] + HDF5_jll v1.14.3+3
  [0192cb87] + Reactant_jll v0.0.375+0
  [ade2ca70] ~ Dates ⇒ v1.11.0
  [de0858da] ~ Printf ⇒ v1.11.0
  [9abbd945] ~ Profile ⇒ v1.11.0
  [9a3f8284] ~ Random ⇒ v1.11.0
  [9e88b42a] ~ Serialization ⇒ v1.11.0
    Updating `/__w/Enzyme-JAX/Enzyme-JAX/GB-25/Manifest.toml`
  [621f4979] + AbstractFFTs v1.5.0
  [7d9f7c33] + Accessors v0.1.44
  [79e6a3ab] + Adapt v4.5.2
  [c7e460c6] + ArgParse v1.2.0
  [ec485272] + ArnoldiMethod v0.4.0
  [4fba245c] + ArrayInterface v7.24.0
  [a9b6321e] + Atomix v1.1.3
  [ab4f0b2a] + BFloat16s v0.6.1
  [d1d4a3ce] + BitFlags v0.1.9
  [62783981] + BitTwiddlingConvenienceFunctions v0.1.6
  [e1450e63] + BufferedStreams v1.2.2
  [fa961155] + CEnum v0.5.0
⌅ [179af706] + CFTime v0.1.4
  [2a0fbf3d] + CPUSummary v0.2.7
⌅ [052768ef] + CUDA v5.11.2
  [1af6417a] + CUDA_Runtime_Discovery v2.0.0
⌅ [0376089a] + ClimaOcean v0.5.10
⌅ [6ba0ff68] + ClimaSeaIce v0.2.7
  [fb6a15b2] + CloseOpenIntervals v0.1.13
  [944b1d66] + CodecZlib v0.7.8
  [3da002f7] + ColorTypes v0.12.1
  [c3611d14] + ColorVectorSpace v0.11.0
  [5ae59095] + Colors v0.13.1
⌃ [1fbeeb36] + CommonDataModel v0.4.1
  [38540f10] + CommonSolve v0.2.6
  [bbf7d656] + CommonSubexpressions v0.3.1
  [f70d9fcc] + CommonWorldInvalidations v1.0.0
  [34da2185] + Compat v4.18.1
  [a33af91c] + CompositionsBase v0.1.2
  [a216cea6] + CompoundPeriods v0.5.4
  [f0e56b4a] + ConcurrentUtilities v2.5.1
  [187b0558] + ConstructionBase v1.6.0
  [adafc99b] + CpuId v0.3.1
  [a8cc5b0e] + Crayons v4.1.1
  [7445602f] + CubedSphere v0.3.4
  [9c784101] + CubicSplines v0.2.1
  [9a962f9c] + DataAPI v1.16.0
  [124859b0] + DataDeps v0.7.13
  [864edb3b] + DataStructures v0.19.4
  [e2d170a0] + DataValueInterfaces v1.0.0
  [163ba53b] + DiffResults v1.1.0
  [b552c78f] + DiffRules v1.15.1
  [3c3547ce] + DiskArrays v0.4.19
  [b4f34e82] + Distances v0.10.12
⌅ [02c8fc9c] + XML2_jll v2.13.9+0
  [ffd25f8a] + XZ_jll v5.8.3+0
  [a65dc6b1] + Xorg_libpciaccess_jll v0.19.0+0
  [3161d3a3] + Zstd_jll v1.5.7+1
  [1e29f10c] + demumble_jll v1.3.0+0
  [477f73a3] + libaec_jll v1.1.6+0
  [337d8026] + libzip_jll v1.11.3+0
  [1317d2d5] + oneTBB_jll v2022.0.0+1
  [0dad84c5] + ArgTools v1.1.2
  [56f22d72] + Artifacts v1.11.0
  [2a0f44e3] + Base64 v1.11.0
  [ade2ca70] + Dates v1.11.0
  [8ba89e20] + Distributed v1.11.0
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching v1.11.0
  [9fa8497b] + Future v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [4af54fe1] + LazyArtifacts v1.11.0
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2 v1.11.0
  [8f399da3] + Libdl v1.11.0
  [37e2e46d] + LinearAlgebra v1.11.0
  [56ddb016] + Logging v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [a63ad114] + Mmap v1.11.0
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.11.0
  [de0858da] + Printf v1.11.0
  [9abbd945] + Profile v1.11.0
  [3fa0cd96] + REPL v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization v1.11.0
  [6462fe0b] + Sockets v1.11.0
  [2f01184e] + SparseArrays v1.11.0
  [f489334b] + StyledStrings v1.11.0
  [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.5+0
  [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

I see this in Reactant CI:

│  ERROR: LoadError: LLVM error: unknown function pass 'custom-nvvm-reflect'
│  Stacktrace:
│    [1] macro expansion
│      @ ~/.julia/packages/LLVM/Bd7kA/src/executionengine/utils.jl:28 [inlined]
│    [2] run!(pb::LLVM.NewPMPassBuilder, target::LLVM.Module, tm::LLVM.TargetMachine)
│      @ LLVM ~/.julia/packages/LLVM/Bd7kA/src/newpm.jl:367
│    [3] macro expansion
│      @ ~/.julia/packages/Reactant/kewGE/ext/ReactantCUDAExt.jl:699 [inlined]
│    [4] macro expansion
│      @ ~/.julia/packages/LLVM/Bd7kA/src/base.jl:113 [inlined]
│    [5] vendored_optimize_module!(job::Any, mod::LLVM.Module, instcombine::Bool)
│      @ ReactantCUDAExt ~/.julia/packages/Reactant/kewGE/ext/ReactantCUDAExt.jl:661
│    [6] vendored_optimize_module!
│      @ ~/.julia/packages/Reactant/kewGE/ext/ReactantCUDAExt.jl:659 [inlined]
│    [7] (::ReactantCUDAExt.var"#39#43"{GPUCompiler.CompilerJob{GPUCompiler.PTXCompilerTarget, CUDA.CUDACompilerParams}})(ctx::LLVM.Context)
│      @ ReactantCUDAExt ~/.julia/packages/Reactant/kewGE/ext/ReactantCUDAExt.jl:931
│    [8] JuliaContext(f::ReactantCUDAExt.var"#39#43"{GPUCompiler.CompilerJob{GPUCompiler.PTXCompilerTarget, CUDA.CUDACompilerParams}}; kwargs::@Kwargs{})
│      @ GPUCompiler ~/.julia/packages/GPUCompiler/lHkad/src/driver.jl:34
│    [9] JuliaContext
│      @ ~/.julia/packages/GPUCompiler/lHkad/src/driver.jl:25 [inlined]
│   [10] compile(job::GPUCompiler.CompilerJob{GPUCompiler.PTXCompilerTarget, CUDA.CUDACompilerParams})
│      @ ReactantCUDAExt ~/.julia/packages/Reactant/kewGE/ext/ReactantCUDAExt.jl:888

on older versions:

```Cloning git-repo [https://github.com/EnzymeAD/Reactant.jl.git](https://github.com/EnzymeAD/Reactant.jl.git%60)
Updating git-repo `https://github.com/EnzymeAD/Reactant.jl.git`
Updating git-repo `https://github.com/EnzymeAD/Reactant.jl.git`
Resolving package versions...
Compat entries added for ReactantCore
Updating `/__w/Enzyme-JAX/Enzyme-JAX/GB-25/Project.toml`
[c7e460c6] + ArgParse v1.2.0
[ab4f0b2a] + BFloat16s v0.6.1
⌅ [052768ef] + CUDA v5.11.2
⌅ [0376089a] + ClimaOcean v0.5.10
[63c18a36] + KernelAbstractions v0.9.41
[da04e1cc] + MPI v0.20.26
⌅ [9e8cae18] + Oceananigans v0.96.26
⌅ [aea7be01] + PrecompileTools v1.2.1
[3c362404] + Reactant v0.2.255 `https://github.com/EnzymeAD/Reactant.jl.git#main`
[a3311ec8] + ReactantCore v0.1.19 `https://github.com/EnzymeAD/Reactant.jl.git:lib/ReactantCore#main`
[d496a93d] + SeawaterPolynomials v0.3.10
[76a88914] + CUDA_Runtime_jll v0.21.0+1
⌅ [0234f1f7] + HDF5_jll v1.14.3+3
[0192cb87] + Reactant_jll v0.0.375+0
[ade2ca70] ~ Dates ⇒ v1.11.0
[ffd25f8a] + XZ_jll v5.8.3+0
[a65dc6b1] + Xorg_libpciaccess_jll v0.19.0+0
[3161d3a3] + Zstd_jll v1.5.7+1
[1e29f10c] + demumble_jll v1.3.0+0
[477f73a3] + libaec_jll v1.1.6+0
[337d8026] + libzip_jll v1.11.3+0
[1317d2d5] + oneTBB_jll v2022.0.0+1
[0dad84c5] + ArgTools v1.1.2
[56f22d72] + Artifacts v1.11.0
[2a0f44e3] + Base64 v1.11.0
[ade2ca70] + Dates v1.11.0
[8ba89e20] + Distributed v1.11.0
[f43a241f] + Downloads v1.6.0
[7b1f6079] + FileWatching v1.11.0
[9fa8497b] + Future v1.11.0
[b77e0a4c] + InteractiveUtils v1.11.0
[4af54fe1] + LazyArtifacts v1.11.0
[b27032c2] + LibCURL v0.6.4
[76f85450] + LibGit2 v1.11.0
[8f399da3] + Libdl v1.11.0
[37e2e46d] + LinearAlgebra v1.11.0
[56ddb016] + Logging v1.11.0
[d6f4376e] + Markdown v1.11.0
[a63ad114] + Mmap v1.11.0
[ca575930] + NetworkOptions v1.2.0
[44cfe95a] + Pkg v1.11.0
[de0858da] + Printf v1.11.0
[9abbd945] + Profile v1.11.0
[3fa0cd96] + REPL v1.11.0
[9a3f8284] + Random v1.11.0
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization v1.11.0
[6462fe0b] + Sockets v1.11.0
[2f01184e] + SparseArrays v1.11.0
[f489334b] + StyledStrings v1.11.0
[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.5+0
[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


I don't ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions