Package evaluation of Torch on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T08:05:40.918 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 5.06s ################################################################################ # Installation # Installing Torch... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [6a2ea274] + Torch v0.1.3 Updating `~/.julia/environments/v1.10/Manifest.toml` [79e6a3ab] + Adapt v4.2.0 [a9b6321e] + Atomix v1.1.0 [fa961155] + CEnum v0.5.0 [d360d2e6] + ChainRulesCore v1.25.1 [34da2185] + Compat v4.16.0 [1a297f60] + FillArrays v1.13.0 [46192b85] + GPUArraysCore v0.2.0 [692b3bcd] + JLLWrappers v1.7.0 [63c18a36] + KernelAbstractions v0.9.34 [1914dd2f] + MacroTools v0.5.15 [872c559c] + NNlib v0.9.27 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [ae029012] + Requires v1.3.0 [90137ffa] + StaticArrays v1.9.12 [1e83bf80] + StaticArraysCore v1.4.3 [6a2ea274] + Torch v0.1.3 [013be700] + UnsafeAtomics v0.3.0 [700de1a5] + ZygoteRules v0.2.7 [48a17e46] + CPUInfo_jll v0.0.20201217+0 [4ee394cb] + CUDA_Driver_jll v0.12.0+0 [76a88914] + CUDA_Runtime_jll v0.16.0+0 ⌅ [62b44479] + CUDNN_jll v8.9.7+0 [5909ec93] + Gloo_jll v0.0.20210521+0 [51474c39] + LAPACK_jll v3.12.0+3 [e98f9f5b] + NVTX_jll v3.1.1+0 ⌅ [656ef2d0] + OpenBLAS32_jll v0.3.24+0 [458c3c95] + OpenSSL_jll v3.0.16+0 [a74eb8f4] + PThreadPool_jll v0.0.20210414+0 [63e82ce6] + SLEEF_jll v3.7.0+0 [dc5d5603] + TorchCAPI_jll v0.2.0+0 [c12fb04c] + Torch_jll v1.10.2+1 [55708af3] + XNNPACK_jll v0.0.20210622+0 ⌅ [c7845625] + protoc_jll v3.13.0+0 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [b77e0a4c] + InteractiveUtils [4af54fe1] + LazyArtifacts [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [ca575930] + NetworkOptions v1.2.0 [44cfe95a] + Pkg v1.10.0 [de0858da] + Printf [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [781609d7] + GMP_jll v6.2.1+6 [deac9b47] + LibCURL_jll v8.4.0+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [3a97d323] + MPFR_jll v4.2.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [4536629a] + OpenBLAS_jll v0.3.23+4 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 [8e850ede] + nghttp2_jll v1.52.0+1 [3f19e933] + p7zip_jll v17.4.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 14.41s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... ERROR: LoadError: The following 1 direct dependency failed to precompile: Torch Failed to precompile Torch [6a2ea274-3061-11ea-0d63-ff850051a295] to "/home/pkgeval/.julia/compiled/v1.10/Torch/jl_z0S7JG". ERROR: LoadError: UndefVarError: `libtorch_c_api` not defined Stacktrace: [1] at_grad_set_enabled(arg1::Base.RefValue{Int32}, arg2::Int64) @ Torch.Wrapper ~/.julia/packages/Torch/QTrgw/src/wrapper.jl:15 [2] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/tensor.jl:8 [3] include(mod::Module, _path::String) @ Base ./Base.jl:495 [4] include(x::String) @ Torch ~/.julia/packages/Torch/QTrgw/src/Torch.jl:1 [5] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/Torch.jl:24 [6] include @ ./Base.jl:495 [inlined] [7] 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:2292 [8] top-level scope @ stdin:4 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/tensor.jl:7 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/Torch.jl:1 in expression starting at stdin: in expression starting at /PkgEval.jl/scripts/precompile.jl:37 Precompilation failed after 157.18s ################################################################################ # Testing # Testing Torch Status `/tmp/jl_ErT3f7/Project.toml` [fa961155] CEnum v0.5.0 [1a297f60] FillArrays v1.13.0 ⌅ [587475ba] Flux v0.14.25 [dbeba491] Metalhead v0.9.5 [872c559c] NNlib v0.9.27 [ae029012] Requires v1.3.0 [6a2ea274] Torch v0.1.3 ⌅ [e88e6eb3] Zygote v0.6.75 [700de1a5] ZygoteRules v0.2.7 [dc5d5603] TorchCAPI_jll v0.2.0+0 [8f399da3] Libdl [37e2e46d] LinearAlgebra [10745b16] Statistics v1.10.0 [8dfed614] Test Status `/tmp/jl_ErT3f7/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.41 [79e6a3ab] Adapt v4.2.0 [66dad0bd] AliasTables v1.1.3 [dce04be8] ArgCheck v2.4.0 [a9b6321e] Atomix v1.1.0 [fbb218c0] BSON v0.3.9 [198e06fe] BangBang v0.4.3 [9718e550] Baselet v0.1.1 [fa961155] CEnum v0.5.0 [082447d4] ChainRules v1.72.2 [d360d2e6] ChainRulesCore v1.25.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [a33af91c] CompositionsBase v0.1.2 [187b0558] ConstructionBase v1.5.8 [6add18c4] ContextVariablesX v0.1.3 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.20 [e2d170a0] DataValueInterfaces v1.0.0 [244e2a9f] DefineSingletons v0.1.2 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.3 [cc61a311] FLoops v0.2.2 [b9860ae5] FLoopsBase v0.1.1 [5789e2e9] FileIO v1.16.6 [1a297f60] FillArrays v1.13.0 ⌅ [587475ba] Flux v0.14.25 [f6369f11] ForwardDiff v0.10.38 ⌅ [d9f16b24] Functors v0.4.12 [0c68f7d7] GPUArrays v11.2.2 [46192b85] GPUArraysCore v0.2.0 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.14 [22cec73e] InitialValues v0.3.1 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [033835bb] JLD2 v0.5.11 [692b3bcd] JLLWrappers v1.7.0 [b14d175d] JuliaVariables v0.2.4 [63c18a36] KernelAbstractions v0.9.34 [929cbde3] LLVM v9.2.0 [2ab3a3ac] LogExpFunctions v0.3.29 [c2834f40] MLCore v1.0.0 ⌃ [7e8f7934] MLDataDevices v1.5.3 [d8e11817] MLStyle v0.4.17 [f1d291b0] MLUtils v0.4.7 [1914dd2f] MacroTools v0.5.15 [dbeba491] Metalhead v0.9.5 [128add7d] MicroCollections v0.2.0 [e1d29d7a] Missings v1.2.0 [872c559c] NNlib v0.9.27 [77ba4419] NaNMath v1.1.2 [71a1bf82] NameResolution v0.1.5 [0b1bfda6] OneHotArrays v0.2.6 ⌅ [3bd65402] Optimisers v0.3.4 [bac558e1] OrderedCollections v1.8.0 [570af359] PartialFunctions v1.2.0 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [8162dcfd] PrettyPrint v0.2.0 [33c8b6b6] ProgressLogging v0.1.4 [43287f4e] PtrArrays v1.3.0 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.0 [7e506255] ScopedValues v1.3.0 [efcf1570] Setfield v1.1.1 [605ecd9f] ShowCases v0.1.0 [699a6c99] SimpleTraits v0.9.4 [a2af1166] SortingAlgorithms v1.2.1 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.0 [171d559e] SplittablesBase v0.1.15 [90137ffa] StaticArrays v1.9.12 [1e83bf80] StaticArraysCore v1.4.3 [82ae8749] StatsAPI v1.7.0 [2913bbd2] StatsBase v0.34.4 ⌃ [09ab397b] StructArrays v0.6.21 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.0 [6a2ea274] Torch v0.1.3 [3bb67fe8] TranscodingStreams v0.11.3 [28d57a85] Transducers v0.4.84 [013be700] UnsafeAtomics v0.3.0 ⌅ [e88e6eb3] Zygote v0.6.75 [700de1a5] ZygoteRules v0.2.7 [48a17e46] CPUInfo_jll v0.0.20201217+0 [4ee394cb] CUDA_Driver_jll v0.12.0+0 [76a88914] CUDA_Runtime_jll v0.16.0+0 ⌅ [62b44479] CUDNN_jll v8.9.7+0 [5909ec93] Gloo_jll v0.0.20210521+0 [51474c39] LAPACK_jll v3.12.0+3 [dad2f222] LLVMExtra_jll v0.0.35+0 [e98f9f5b] NVTX_jll v3.1.1+0 ⌅ [656ef2d0] OpenBLAS32_jll v0.3.24+0 [458c3c95] OpenSSL_jll v3.0.16+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [a74eb8f4] PThreadPool_jll v0.0.20210414+0 [63e82ce6] SLEEF_jll v3.7.0+0 [dc5d5603] TorchCAPI_jll v0.2.0+0 [c12fb04c] Torch_jll v1.10.2+1 [55708af3] XNNPACK_jll v0.0.20210622+0 ⌅ [c7845625] protoc_jll v3.13.0+0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [8ba89e20] Distributed [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [9fa8497b] Future [b77e0a4c] InteractiveUtils [4af54fe1] LazyArtifacts [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.10.0 [de0858da] Printf [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [6462fe0b] Sockets [2f01184e] SparseArrays v1.10.0 [10745b16] Statistics v1.10.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [781609d7] GMP_jll v6.2.1+6 [deac9b47] LibCURL_jll v8.4.0+0 [e37daf67] LibGit2_jll v1.6.4+0 [29816b5a] LibSSH2_jll v1.11.0+1 [3a97d323] MPFR_jll v4.2.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [4536629a] OpenBLAS_jll v0.3.23+4 [05823500] OpenLibm_jll v0.8.1+4 [bea87d4a] SuiteSparse_jll v7.2.1+1 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.52.0+1 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... ERROR: LoadError: UndefVarError: `libtorch_c_api` not defined Stacktrace: [1] at_grad_set_enabled(arg1::Base.RefValue{Int32}, arg2::Int64) @ Torch.Wrapper ~/.julia/packages/Torch/QTrgw/src/wrapper.jl:15 [2] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/tensor.jl:8 [3] include(mod::Module, _path::String) @ Base ./Base.jl:495 [4] include(x::String) @ Torch ~/.julia/packages/Torch/QTrgw/src/Torch.jl:1 [5] top-level scope @ ~/.julia/packages/Torch/QTrgw/src/Torch.jl:24 [6] include @ ./Base.jl:495 [inlined] [7] 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::String) @ Base ./loading.jl:2292 [8] top-level scope @ stdin:4 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/tensor.jl:7 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/src/Torch.jl:1 in expression starting at stdin:4 Torch: Error During Test at /home/pkgeval/.julia/packages/Torch/QTrgw/test/runtests.jl:3 Got exception outside of a @test LoadError: Failed to precompile Torch [6a2ea274-3061-11ea-0d63-ff850051a295] to "/home/pkgeval/.julia/compiled/v1.10/Torch/jl_J0Gzya". Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool) @ Base ./loading.jl:2539 [3] compilecache @ ./loading.jl:2411 [inlined] [4] (::Base.var"#969#970"{Base.PkgId})() @ Base ./loading.jl:2044 [5] mkpidlock(f::Base.var"#969#970"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool}) @ FileWatching.Pidfile /opt/julia/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93 [6] #mkpidlock#6 @ /opt/julia/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined] [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64}) @ FileWatching.Pidfile /opt/julia/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111 [8] #invokelatest#2 @ ./essentials.jl:894 [inlined] [9] invokelatest @ ./essentials.jl:889 [inlined] [10] maybe_cachefile_lock(f::Base.var"#969#970"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64) @ Base ./loading.jl:3054 [11] maybe_cachefile_lock @ ./loading.jl:3051 [inlined] [12] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2040 [13] __require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:1882 [14] #invoke_in_world#3 @ ./essentials.jl:926 [inlined] [15] invoke_in_world @ ./essentials.jl:923 [inlined] [16] _require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:1873 [17] macro expansion @ ./loading.jl:1860 [inlined] [18] macro expansion @ ./lock.jl:267 [inlined] [19] __require(into::Module, mod::Symbol) @ Base ./loading.jl:1823 [20] #invoke_in_world#3 @ ./essentials.jl:926 [inlined] [21] invoke_in_world @ ./essentials.jl:923 [inlined] [22] require(into::Module, mod::Symbol) @ Base ./loading.jl:1816 [23] include(fname::String) @ Base.MainInclude ./client.jl:494 [24] macro expansion @ ~/.julia/packages/Torch/QTrgw/test/runtests.jl:4 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [26] top-level scope @ ~/.julia/packages/Torch/QTrgw/test/runtests.jl:4 [27] include(fname::String) @ Base.MainInclude ./client.jl:494 [28] top-level scope @ none:6 [29] eval @ ./boot.jl:385 [inlined] [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [31] _start() @ Base ./client.jl:557 in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/test/flux_tests.jl:4 Test Summary: | Error Total Time Torch | 1 1 22.3s ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Torch/QTrgw/test/runtests.jl:3 Testing failed after 47.69s ERROR: LoadError: Package Torch errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 238.33s: package fails to precompile