Giter Site home page Giter Site logo

Comments (3)

mcabbott avatar mcabbott commented on June 30, 2024

I think this is JuliaDiff/ChainRules.jl#598, but I can't reproduce it and don't know what goes wrong.

It might help to have all the package versions on which this fails?

  | | |_| | | | (_| |  |  Version 1.7.0 (2021-11-30)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.7) pkg> activate --temp
  Activating new project at `/var/folders/yq/4p2zwd614y59gszh7y9ypyhh0000gn/T/jl_yszG9K`

(jl_yszG9K) pkg> up
    Updating registry at `~/.julia/registries/General.toml`
  No Changes to `/private/var/folders/yq/4p2zwd614y59gszh7y9ypyhh0000gn/T/jl_yszG9K/Project.toml`
  No Changes to `/private/var/folders/yq/4p2zwd614y59gszh7y9ypyhh0000gn/T/jl_yszG9K/Manifest.toml`

julia> using DiffEqSensitivity
 │ Package DiffEqSensitivity not found, but a package named DiffEqSensitivity is available from a
 │ registry. 
 │ Install package?
 │   (jl_yszG9K) pkg> add DiffEqSensitivity 
 └ (y/n) [y]: y
   Resolving package versions...
   Installed Enzyme_jll ─────────── v0.0.29+0
   Installed LazyBandedMatrices ─── v0.7.7
   Installed LazyArrays ─────────── v0.22.6
   Installed MatrixFactorizations ─ v0.8.6
   Installed Enzyme ─────────────── v0.9.2
   Installed BandedMatrices ─────── v0.16.13
   Installed SciMLBase ──────────── v1.29.0
   Installed StaticArrays ───────── v1.4.3
   Installed ChainRules ─────────── v1.28.1
   Installed DualNumbers ────────── v0.6.8
   Installed IntervalSets ───────── v0.5.4
   Installed StrideArraysCore ───── v0.2.14
   Installed CPUSummary ─────────── v0.1.17
   Installed GPUCompiler ────────── v0.14.1
   Installed DiffEqSensitivity ──── v6.71.0
   Installed ChainRulesCore ─────── v1.14.0
   Installed Distributions ──────── v0.25.52
   Installed SparseDiffTools ────── v1.21.0
  Downloaded artifact: Enzyme
    Updating `/private/var/folders/yq/4p2zwd614y59gszh7y9ypyhh0000gn/T/jl_yszG9K/Project.toml`
  [41bf760c] + DiffEqSensitivity v6.71.0
    Updating `/private/var/folders/yq/4p2zwd614y59gszh7y9ypyhh0000gn/T/jl_yszG9K/Manifest.toml`
  [621f4979] + AbstractFFTs v1.1.0
  [79e6a3ab] + Adapt v3.3.3
  [ec485272] + ArnoldiMethod v0.2.0
  [4fba245c] + ArrayInterface v5.0.5
  [4c555306] + ArrayLayouts v0.7.10
  [13072b0f] + AxisAlgorithms v1.0.1
  [aae01518] + BandedMatrices v0.16.13
  [62783981] + BitTwiddlingConvenienceFunctions v0.1.3
  [8e7c35d0] + BlockArrays v0.16.11
  [ffab5731] + BlockBandedMatrices v0.11.1
  [fa961155] + CEnum v0.4.1
  [2a0fbf3d] + CPUSummary v0.1.17
  [49dc2e85] + Calculus v0.5.1
  [7057c7e9] + Cassette v0.3.10
  [082447d4] + ChainRules v1.28.1
  [d360d2e6] + ChainRulesCore v1.14.0
  [9e997f8a] + ChangesOfVariables v0.1.2
  [fb6a15b2] + CloseOpenIntervals v0.1.6
  [38540f10] + CommonSolve v0.2.0
  [bbf7d656] + CommonSubexpressions v0.3.0
  [34da2185] + Compat v3.42.0
  [b152e2b5] + CompositeTypes v0.1.2
  [187b0558] + ConstructionBase v1.3.0
  [754358af] + DEDataArrays v0.2.2
  [9a962f9c] + DataAPI v1.9.0
  [864edb3b] + DataStructures v0.18.11
  [e2d170a0] + DataValueInterfaces v1.0.0
  [b429d917] + DensityInterface v0.4.0
  [2b5f629d] + DiffEqBase v6.82.1
  [459566f4] + DiffEqCallbacks v2.22.0
  [c894b116] + DiffEqJump v8.3.0
  [77a26b50] + DiffEqNoiseProcess v5.9.0
  [9fdde737] + DiffEqOperators v4.41.0
  [41bf760c] + DiffEqSensitivity v6.71.0
  [163ba53b] + DiffResults v1.0.3
  [b552c78f] + DiffRules v1.10.0
  [b4f34e82] + Distances v0.10.7
  [31c24e10] + Distributions v0.25.52
  [ffbed154] + DocStringExtensions v0.8.6
  [5b8099bc] + DomainSets v0.5.9
  [fa6b7ba4] + DualNumbers v0.6.8
  [da5c29d0] + EllipsisNotation v1.0.0
  [7da242da] + Enzyme v0.9.2
  [d4d017d3] + ExponentialUtilities v1.13.0
  [e2ba6199] + ExprTools v0.1.8
  [7a1cc6ca] + FFTW v1.4.6
  [7034ab61] + FastBroadcast v0.1.14
  [9aa1b823] + FastClosures v0.3.2
  [1a297f60] + FillArrays v0.12.8
  [6a86dc24] + FiniteDiff v2.11.0
  [f6369f11] + ForwardDiff v0.10.25
  [069b7b12] + FunctionWrappers v1.1.2
  [61eb1bfa] + GPUCompiler v0.14.1
  [af5da776] + GlobalSensitivity v1.3.2
  [86223c79] + Graphs v1.6.0
  [3e5b6fbb] + HostCPUFeatures v0.1.7
  [0e44f5e4] + Hwloc v2.0.0
  [34004b35] + HypergeometricFunctions v0.3.8
  [7869d1d1] + IRTools v0.4.5
  [615f187c] + IfElse v0.1.1
  [d25df0c9] + Inflate v0.1.2
  [a98d9a8b] + Interpolations v0.13.5
  [8197267c] + IntervalSets v0.5.4
  [3587e190] + InverseFunctions v0.1.3
  [92d709cd] + IrrationalConstants v0.1.1
  [42fd0dbc] + IterativeSolvers v0.9.2
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.4.1
  [ef3ab10e] + KLU v0.3.0
  [5ab0869b] + KernelDensity v0.6.3
  [ba0b0d4f] + Krylov v0.7.13
  [0b1a1467] + KrylovKit v0.5.3
  [929cbde3] + LLVM v4.9.1
  [2ee39098] + LabelledArrays v1.8.0
  [a5e1c1ea] + LatinHypercubeSampling v1.8.0
  [73f95e8e] + LatticeRules v0.0.1
  [10f19ff3] + LayoutPointers v0.1.6
  [5078a376] + LazyArrays v0.22.6
  [d7e5e226] + LazyBandedMatrices v0.7.7
  [2d8b4e74] + LevyArea v1.0.0
  [d3d80556] + LineSearches v7.1.1
  [7ed4a6bd] + LinearSolve v1.13.0
  [2ab3a3ac] + LogExpFunctions v0.3.10
  [bdcacae8] + LoopVectorization v0.12.103
  [1914dd2f] + MacroTools v0.5.9
  [d125e4d3] + ManualMemory v0.1.8
  [a3b82374] + MatrixFactorizations v0.8.6
  [e1d29d7a] + Missings v1.0.2
  [46d2c3a1] + MuladdMacro v0.2.2
  [d41bc354] + NLSolversBase v7.8.2
  [2774e3e8] + NLsolve v4.5.1
  [872c559c] + NNlib v0.8.4
  [77ba4419] + NaNMath v0.3.7
  [8913a72c] + NonlinearSolve v0.3.16
  [d8793406] + ObjectFile v0.3.7
  [6fe1bfb0] + OffsetArrays v1.10.8
  [429524aa] + Optim v1.6.2
  [bac558e1] + OrderedCollections v1.4.1
  [1dea7af3] + OrdinaryDiffEq v6.7.1
  [90014a1f] + PDMats v0.11.7
  [d96e819e] + Parameters v0.12.3
  [e409e4f3] + PoissonRandom v0.4.0
  [f517fe37] + Polyester v0.6.7
  [1d0040c9] + PolyesterWeave v0.1.5
  [85a6dd25] + PositiveFactorizations v0.2.4
  [d236fae5] + PreallocationTools v0.2.4
  [21216c6a] + Preferences v1.2.5
  [1fd47b50] + QuadGK v2.4.2
  [8a4e6c94] + QuasiMonteCarlo v0.2.4
  [74087812] + Random123 v1.5.0
  [e6cf234a] + RandomNumbers v1.5.3
  [c84ed2f1] + Ratios v0.4.3
  [c1ae055f] + RealDot v0.1.0
  [3cdcf5f2] + RecipesBase v1.2.1
  [731186ca] + RecursiveArrayTools v2.25.1
  [f2c3362d] + RecursiveFactorization v0.2.9
  [189a3867] + Reexport v1.2.2
  [ae029012] + Requires v1.3.0
  [ae5879a3] + ResettableStacks v1.1.1
  [37e2e3b7] + ReverseDiff v1.12.0
  [79098fc4] + Rmath v0.7.0
  [7e49a35a] + RuntimeGeneratedFunctions v0.5.3
  [3cdde19b] + SIMDDualNumbers v0.1.0
  [94e857df] + SIMDTypes v0.1.0
  [476501e8] + SLEEFPirates v0.6.31
  [0bca4576] + SciMLBase v1.29.0
  [efcf1570] + Setfield v0.8.2
  [699a6c99] + SimpleTraits v0.9.4
  [ed01d8cd] + Sobol v1.5.0
  [a2af1166] + SortingAlgorithms v1.0.1
  [47a9eef4] + SparseDiffTools v1.21.0
  [276daf66] + SpecialFunctions v2.1.4
  [860ef19b] + StableRNGs v1.0.0
  [aedffcd0] + Static v0.6.0
  [90137ffa] + StaticArrays v1.4.3
  [82ae8749] + StatsAPI v1.2.1
  [2913bbd2] + StatsBase v0.33.16
  [4c63d2b9] + StatsFuns v0.9.16
  [789caeaf] + StochasticDiffEq v6.45.0
  [7792a7ef] + StrideArraysCore v0.2.14
  [53d494c1] + StructIO v0.3.0
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.7.0
  [8290d209] + ThreadingUtilities v0.5.0
  [a759f4b9] + TimerOutputs v0.5.16
  [9f7883ad] + Tracker v0.2.20
  [592b5752] + Trapz v2.0.3
  [a2a6695c] + TreeViews v0.3.0
  [d5829a12] + TriangularSolve v0.1.11
  [3a884ed6] + UnPack v1.0.2
  [3d5dd08c] + VectorizationBase v0.21.25
  [19fa3120] + VertexSafeGraphs v0.2.0
  [efce3f68] + WoodburyMatrices v0.5.5
  [e88e6eb3] + Zygote v0.6.37
  [700de1a5] + ZygoteRules v0.2.2
  [7cc45869] + Enzyme_jll v0.0.29+0
  [f5851436] + FFTW_jll v3.3.10+0
  [e33a78d0] + Hwloc_jll v2.7.1+0
  [1d5cc7b8] + IntelOpenMP_jll v2018.0.3+2
  [dad2f222] + LLVMExtra_jll v0.0.14+2
  [856f044c] + MKL_jll v2022.0.0+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [f50d1b31] + Rmath_jll v0.3.0+0
  [0dad84c5] + ArgTools
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [f43a241f] + Downloads
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [fa267f1f] + TOML
  [a4e569a6] + Tar
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll
  [deac9b47] + LibCURL_jll
  [29816b5a] + LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll
  [14a3606d] + MozillaCACerts_jll
  [4536629a] + OpenBLAS_jll
  [05823500] + OpenLibm_jll
  [bea87d4a] + SuiteSparse_jll
  [83775a58] + Zlib_jll
  [8e850b90] + libblastrampoline_jll
  [8e850ede] + nghttp2_jll
  [3f19e933] + p7zip_jll
Precompiling project...
  82 dependencies successfully precompiled in 269 seconds (89 already precompiled)

from chainrulescore.jl.

dpo avatar dpo commented on June 30, 2024

Hmmm. I have

  • ForwardDiff 0.10.25
  • ReverseDiff 1.12.0
  • ChainRules 1.28.1
  • ChainRulesCore 1.13.0
    (gathered from the Manifest.toml as they are second-hand dependencies), and
(examples) pkg> status
      Status `~/dev/julia/RegularizedOptimization/examples/Project.toml`
  [41bf760c] DiffEqSensitivity v6.71.0
  [0c46a032] DifferentialEquations v7.1.0

I upgraded ChainRulesCore, but still get the same error.

I also created a fresh empty environment with DiffEqSensitivity only in it, and still have the same error. I'm not sure how come it doesn't come up for you. I'm on macOS 12.2.1 if that matters.

julia> VERSION
v"1.7.1"

from chainrulescore.jl.

dpo avatar dpo commented on June 30, 2024

Well, nevermind. It seems the error was due to a conflict with an outdated package in my global environment (either Revise, OhMyREPL or InteractiveCodeUtils). I updated those and the error went away. Sorry for the noise.

from chainrulescore.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.