Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

WARNING: could not import DistributionsAD._mv_categorical_logpdf into ReverseDiffX #199

Closed
ChrisRackauckas opened this issue Aug 26, 2021 · 3 comments · Fixed by #198
Closed

Comments

@ChrisRackauckas
Copy link

Self-explanatory from the title. Happens on Julia v1.7-beta3

@devmotion
Copy link
Member

Is fixed in #197 and #198 but these PRs revealed many unrelated Zygote test failures.

@EngrStudent
Copy link

I have the error in non-beta Julia.

When I use this code:

using DifferentialEquations
using Plots
using Flux
using DiffEqFlux

I get the following warning:
WARNING: could not import DistributionsAD._mv_categorical_logpdf into ReverseDiffX

Here is my versioninfo:

julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 12th Gen Intel(R) Core(TM) i9-12900KF
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, goldmont)

Here is the statuses for my packages:

julia> Pkg.status("DifferentialEquations")
      Status `C:\Users\julia> Pkg.status("DifferentialEquations")
      Status `C:\Users\<snip>\.julia\environments\v1.7\Project.toml`
  [0c46a032] DifferentialEquations v7.1.0

julia> Pkg.status("Plots")
      Status `C:\Users\<snip>\.julia\environments\v1.7\Project.toml`
  [91a5bcdd] Plots v1.27.6

julia> Pkg.status("Flux")
      Status `C:\Users\<snip>\.julia\environments\v1.7\Project.toml`
  [587475ba] Flux v0.12.10

julia> Pkg.status("DiffEqFlux")
      Status `C:\Users\<snip>\.julia\environments\v1.7\Project.toml`
  [aae7a2af] DiffEqFlux v1.44.0\.julia\environments\v1.7\Project.toml`
  [0c46a032] DifferentialEquations v7.1.0

@devmotion
Copy link
Member

You use an old version of DistributionsAD: #219 (comment)

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

Successfully merging a pull request may close this issue.

3 participants