Skip to content

CompatHelper: add new compat entry for ReverseDiff at version 1 for package bench, (keep existing compat) #247

CompatHelper: add new compat entry for ReverseDiff at version 1 for package bench, (keep existing compat)

CompatHelper: add new compat entry for ReverseDiff at version 1 for package bench, (keep existing compat) #247

Triggered via pull request October 5, 2024 00:21
Status Failure
Total duration 5m 58s
Artifacts

Documentation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
build: ../../../.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=247", "GITHUB_REF_NAME=109/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/109/merge", "ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/27.1.12297006", "SYSTEMD_EXEC_PID=604", "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=2ed209fba050320d16d66e57c790d9703170631d", "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_54640264-8f4b-48fe-a860-cbb3d2d4bbdc", "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 11", "EDGEWEBDRIVER=/usr/local/share/edge_driver", "GITHUB_RUN_ID=11188759027", "GHCUP_INSTALL_BASE_PREFIX=/usr/local", "ImageOS=ubuntu22", "NVM_DIR=/home/runner/.nvm", "GIT_SSH_COMMAND=ssh -F /tmp/jl_LYKjjB", "GITHUB_HEAD_REF=compathelper/new_version/2024-10-05-00-20-57-102-01320502699", "GITHUB_RETENTION_DAYS=90", "GITHUB_SERVER_URL=https://github.com", "GITHUB_OUTPUT=/home/runner/work/_temp/_runner_file_commands/set_output_54640264-8f4b-48fe-a860-cbb3d2d4bbdc", "STATS_UE=true", "GITHUB_JOB=build", "DEBIAN_FRONTEND=noninteractive", "RUNNER_TRACKING_ID=github_aa02dd8d-a4bf-4399-823f-9d9d2aab9773", "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_54640264-8f4b-48fe-a860-cbb3d2d4bbdc", "SGX_AESM_ADDR=1", "GITHUB_REF=refs/pull/109/merge", "GITHUB_REPOSITORY=TuringLang/AdvancedVI.jl", "INVOCATION_ID=53217ec873784fe78995752fb01b4ab6", "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_54640264-8f4b-48fe-a860-cbb3d2d4bbdc", "FONTC
build
Process completed with exit code 1.
build: ../../../.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
build: ../../../.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.
build: ../../../.julia/packages/Documenter/bYYzK/src/Writers/HTMLWriter.jl#L2103
invalid local image: unresolved path in families.md link = "lowrank_family_wasserstein.svg"
build: ../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L800
removing `stable` and linking `stable` to `v0.2.8`.
build: ../../../.julia/packages/Documenter/bYYzK/src/Documenter.jl#L800
removing `v0.2` and linking `v0.2` to `v0.2.8`.
build
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/