Closed fela closed 4 years ago
Ok I just tried on 1.5.1 and it runs without problem on my machine.
Could you give put the results of [ status
?
I had the same issue on a clean EC2 instance as well as locally cloning the repo in a different place, downloading new julia binaries and deleting ~/.julia
(@v1.5) pkg> activate .
Activating environment at `~/tmp/ParticleFlow_Exp/julia/Project.toml`
(ParticleFlow) pkg> st
Status `~/tmp/ParticleFlow_Exp/julia/Project.toml`
[b5ca4192] AdvancedVI v0.1.0 `dev/AdvancedVI`
[fbb218c0] BSON v0.2.6
[76274a88] Bijectors v0.8.3
[35d6a980] ColorSchemes v3.9.0
[5ae59095] Colors v0.12.4
[a93c6f00] DataFrames v0.21.7
[31c24e10] Distributions v0.23.8
[ced4e74d] DistributionsAD v0.6.8
[634d3b9d] DrWatson v1.15.1
[587475ba] Flux v0.11.1
[f6369f11] ForwardDiff v0.10.12
[e1397348] GradDescent v0.3.1
[5ab0869b] KernelDensity v0.5.1
[ec8451be] KernelFunctions v0.7.2
[ee78f7c6] Makie v0.11.0
[5a521ce4] MakieLayout v0.9.9
[429524aa] Optim v0.22.0
[90014a1f] PDMats v0.10.0
[d96e819e] Parameters v0.12.1
[91a5bcdd] Plots v1.6.3
[d330b81b] PyPlot v2.9.0
[37e2e3b7] ReverseDiff v1.4.2
[4c63d2b9] StatsFuns v0.9.5
[65254759] StatsMakie v0.2.3
[fce5fe82] Turing v0.14.1
[98cad3c8] ValueHistories v0.5.3
[e88e6eb3] Zygote v0.5.6
[37e2e46d] LinearAlgebra
julia> versioninfo()
Julia Version 1.5.1
Commit 697e782ab8 (2020-08-25 20:08 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
It's crazy that it does not work, I even have the same configuration.
Can you try uncommenting https://github.com/theogf/ParticleFlow_Exp/blob/ed7ea6c00e77b6b0a1980a4ab1c41bba5007af81/julia/avi/gaussian_target.jl#L6 and see if it works?
Ok try to update
your packages, there was a new release on DistributionsAD
(0.6.9) which might help,
let me see if using the older version lead to errors for me
Ok I can confirm that there is a fix for this issue in 0.6.9
:D
It got literally fixed this morning! Solved by https://github.com/TuringLang/DistributionsAD.jl/pull/115
I can confirm, maybe we should commit the Manifest after all, to avoid these kind of problems?
We just need to add the version in the Project.toml in a [compat] section. I will take care of it
Currently running avi/run_gaussians.jl causes