CompatHelper: add new compat entry for ADTypes at version 1 for package bench, (keep existing compat) #250
Annotations
2 errors and 6 warnings
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L777
Failed to push:
exception =
failed process: Process(setenv(`/usr/bin/git push -q upstream HEAD:gh-pages`,["DOCUMENTER_KEY=***", "PATH=/opt/hostedtoolcache/julia/1.10.5/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1", "GITHUB_RUN_NUMBER=250", "GITHUB_REF_NAME=112/merge", "RUNNER_ARCH=X64", "PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG", "GKS_ENCODING=utf8", "STATS_TIS=mining", "GOROOT_1_20_X64=/opt/hostedtoolcache/go/1.20.14/x64", "ACCEPT_EULA=Y", "GKS_USE_CAIRO_PNG=true", "GOROOT_1_21_X64=/opt/hostedtoolcache/go/1.21.13/x64", "ANT_HOME=/usr/share/ant", "RUNNER_USER=runner", "LEIN_HOME=/usr/local/lib/lein", "GITHUB_REPOSITORY_ID=218758382", "GITHUB_ACTOR=penelopeysm", "GITHUB_WORKFLOW_REF=TuringLang/AdvancedVI.jl/.github/workflows/Documentation.yml@refs/pull/112/merge", "ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/27.1.12297006", "SYSTEMD_EXEC_PID=605", "RUNNER_ENVIRONMENT=github-hosted", "OPENBLAS_DEFAULT_NUM_THREADS=1", "GIT_TEMPLATE_DIR=/usr/share/git-core/templates", "STATS_D_D=false", "USER=runner", "CONDA=/usr/share/miniconda", "LIBDECOR_PLUGIN_DIR=/home/runner/.julia/artifacts/38e215c51e5c0f77bc7a8813ba4586632a8fc750/lib/libdecor/plugins-1", "JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager", "GITHUB_REF_PROTECTED=false", "GITHUB_SHA=28cf9e77ded26fc4346d39172d5dcadcfa131fb6", "JAVA_HOME=/usr/lib/jvm/temurin-11-jdk-amd64", "GITHUB_API_URL=https://api.github.com", "GITHUB_RUN_ATTEMPT=1", "GITHUB_ACTIONS=true", "STATS_V3PS=true", "VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg", "STATS_VMFE=true", "STATS_EXT=true", "ANDROID_SDK_ROOT=/usr/local/lib/android/sdk", "SWIFT_PATH=/usr/share/swift/usr/bin", "GKSwstype=", "GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_e0e4ac98-b21c-4655-9824-3134e9e9a846", "JAVA_HOME_17_X64=/usr/lib/jvm/temurin-17-jdk-amd64", "GITHUB_ACTION_PATH=/home/runner/work/_actions/julia-actions/julia-docdeploy/v1", "RUNNER_PERFLOG=/home/runner/perflog", "RUNNER_NAME=GitHub Actions 21", "EDGEWEBDRIVER=/usr/local/share/edge_driver", "GITHUB_RUN_ID=11188760870", "GHCUP_INSTALL_BASE_PREFIX=/usr/local", "ImageOS=ubuntu22", "NVM_DIR=/home/runner/.nvm", "GIT_SSH_COMMAND=ssh -F /tmp/jl_M1kNMt", "GITHUB_HEAD_REF=compathelper/new_version/2024-10-05-00-21-09-854-01941335383", "GITHUB_RETENTION_DAYS=90", "GITHUB_SERVER_URL=https://github.com", "GITHUB_OUTPUT=/home/runner/work/_temp/_runner_file_commands/set_output_e0e4ac98-b21c-4655-9824-3134e9e9a846", "STATS_UE=true", "GITHUB_JOB=build", "DEBIAN_FRONTEND=noninteractive", "RUNNER_TRACKING_ID=github_cf1fefce-3c7b-4947-a6d4-aea33cae2f37", "RUNNER_TOOL_CACHE=/opt/hostedtoolcache", "HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650", "AZURE_EXTENSION_DIR=/opt/az/azcliextensions", "HOMEBREW_NO_AUTO_UPDATE=1", "CHROMEWEBDRIVER=/usr/local/share/chromedriver-linux64", "GITHUB_ACTION_REPOSITORY=", "GITHUB_WORKFLOW=Documentation", "GITHUB_ACTION=__julia-actions_julia-docdeploy", "HOME=/home/runner", "JAVA_HOME_8_X64=/usr/lib/jvm/temurin-8-jdk-amd64", "GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json", "GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_e0e4ac98-b21c-4655-9824-3134e9e9a846", "SGX_AESM_ADDR=1", "GITHUB_REF=refs/pull/112/merge", "GITHUB_REPOSITORY=TuringLang/AdvancedVI.jl", "INVOCATION_ID=74a1fa4a46e145128702b2d288ae8ecd", "ImageVersion=20240922.1.0", "JAVA_HOME_21_X64=/usr/lib/jvm/temurin-21-jdk-amd64", "ANDROID_NDK=/usr/local/lib/android/sdk/ndk/27.1.12297006", "LANG=C.UTF-8", "STATS_D=false", "GITHUB_GRAPHQL_URL=https://api.github.com/graphql", "SHLVL=1", "DOTNET_MULTILEVEL_LOOKUP=0", "XDG_RUNTIME_DIR=/run/user/1001", "GOROOT_1_22_X64=/opt/hostedtoolcache/go/1.22.7/x64", "RUNNER_WORKSPACE=/home/runner/work/AdvancedVI.jl", "GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_e0e4ac98-b21c-4655-9824-3134e9e9a846", "FONTC
|
Run julia-actions/julia-docdeploy@v1
Process completed with exit code 1.
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@setup` block in src/families.md
```@setup lowrank
using ADTypes
using AdvancedVI
using Distributions
using LinearAlgebra
using LogDensityProblems
using Optimisers
using Plots
using ReverseDiff
struct Target{D}
dist::D
end
function LogDensityProblems.logdensity(model::Target, θ)
logpdf(model.dist, θ)
end
function LogDensityProblems.dimension(model::Target)
return length(model.dist)
end
function LogDensityProblems.capabilities(::Type{<:Target})
return LogDensityProblems.LogDensityOrder{0}()
end
n_dims = 30
U_true = randn(n_dims, 3)
D_true = Diagonal(log.(1 .+ exp.(randn(n_dims))))
Σ_true = D_true + U_true*U_true'
Σsqrt_true = sqrt(Σ_true)
μ_true = randn(n_dims)
model = Target(MvNormal(μ_true, Σ_true));
d = LogDensityProblems.dimension(model);
μ = zeros(d);
L = Diagonal(ones(d));
q0_mf = MeanFieldGaussian(μ, L)
L = LowerTriangular(diagm(ones(d)));
q0_fr = FullRankGaussian(μ, L)
D = ones(n_dims)
U = zeros(n_dims, 3)
q0_lr = LowRankGaussian(μ, D, U)
obj = RepGradELBO(1);
max_iter = 10^4
function callback(; params, averaged_params, restructure, stat, kwargs...)
q = restructure(averaged_params)
μ, Σ = mean(q), cov(q)
(dist2 = sum(abs2, μ - μ_true) + tr(Σ + Σ_true - 2*sqrt(Σsqrt_true*Σ*Σsqrt_true)),)
end
_, _, stats_fr, _ = AdvancedVI.optimize(
model,
obj,
q0_fr,
max_iter;
show_progress = false,
adtype = AutoReverseDiff(),
optimizer = Adam(0.01),
averager = PolynomialAveraging(),
callback = callback,
);
_, _, stats_mf, _ = AdvancedVI.optimize(
model,
obj,
q0_mf,
max_iter;
show_progress = false,
adtype = AutoReverseDiff(),
optimizer = Adam(0.01),
averager = PolynomialAveraging(),
callback = callback,
);
_, _, stats_lr, _ = AdvancedVI.optimize(
model,
obj,
q0_lr,
max_iter;
show_progress = false,
adtype = AutoReverseDiff(),
optimizer = Adam(0.01),
averager = PolynomialAveraging(),
callback = callback,
);
t = [stat.iteration for stat in stats_fr]
dist_fr = [sqrt(stat.dist2) for stat in stats_fr]
dist_mf = [sqrt(stat.dist2) for stat in stats_mf]
dist_lr = [sqrt(stat.dist2) for stat in stats_lr]
plot( t, dist_mf , label="Mean-Field Gaussian", xlabel="Iteration", ylabel="Wasserstein-2 Distance")
plot!(t, dist_fr, label="Full-Rank Gaussian", xlabel="Iteration", ylabel="Wasserstein-2 Distance")
plot!(t, dist_lr, label="Low-Rank Gaussian", xlabel="Iteration", ylabel="Wasserstein-2 Distance")
savefig("lowrank_family_wasserstein.svg")
nothing
```
exception =
LoadError: ArgumentError: Package ReverseDiff not found in current path.
- Run `import Pkg; Pkg.add("ReverseDiff")` to install the ReverseDiff package.
in expression starting at string:8
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
8 docstrings not included in the manual:
AdvancedVI.value_and_gradient! :: Tuple{ADTypes.AbstractADType, Any, Any, Any, DiffResults.MutableDiffResult}
AdvancedVI.ClosedFormEntropy
AdvancedVI.value :: Tuple{AdvancedVI.AbstractAverager, Any}
AdvancedVI.estimate_entropy
AdvancedVI.restructure_ad_forward :: Tuple{ADTypes.AbstractADType, Any, Any}
AdvancedVI.apply :: Tuple{AdvancedVI.AbstractAverager, Any, Any}
AdvancedVI.update_variational_params!
AdvancedVI.ScoreGradELBO
These are docstrings in the checked modules (configured with the modules keyword)
that are not included in @docs or @autodocs blocks.
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/bYYzK/src/Writers/HTMLWriter.jl#L2103
invalid local image: unresolved path in families.md
link = "lowrank_family_wasserstein.svg"
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L800
removing `stable` and linking `stable` to `v0.2.8`.
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L800
removing `v0.2` and linking `v0.2` to `v0.2.8`.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading