• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TuringLang / AdvancedVI.jl / 7139105575
86%
main: 0%

Build:
Build:
LAST BUILD BRANCH: py/forwarddiff-1-for-0.2
DEFAULT BRANCH: main
Ran 08 Dec 2023 08:35AM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Dec 2023 08:30AM UTC coverage: 81.159% (+20.0%) from 61.111%
7139105575

push

github

web-flow
Basic rewrite of the package 2023 edition Part I: ADVI (#49)

* refactor ADVI, change gradient operation interface

* remove unused file, remove unused dependency

* fix ADVI elbo computation more efficiently

* fix missing entropy regularization term

* add LogDensityProblem interface

* refactor use bijectors directly instead of transformed distributions

This is to avoid having to reconstruct transformed distributions all
the time. The direct use of bijectors also avoids going through lots
of abstraction layers that could break.

Instead, transformed distributions could be constructed only once when
returing the VI result.

* fix type restrictions

* remove unused file

* fix use of with_logabsdet_jacobian

* restructure project; move the main VI routine to its own file

* remove redundant import

* restructure project into more modular objective estimators

* migrate to AbstractDifferentiation

* add location scale pre-packaged variational family, add functors

* Revert "migrate to AbstractDifferentiation"

This reverts commit 2a4514e4f.

* fix use optimized MvNormal specialization, add logpdf for Loc.Scale.

* remove dead code

* fix location-scale logpdf

- Full Monte Carlo ELBO estimation now works. I checked.

* add sticking-the-landing (STL) estimator

* migrate to Optimisers.jl

* remove execution time measurement (replace later with somethin else)

* fix use multiple dispatch for deciding whether to stop entropy grad.

* add termination decision, callback arguments

* add Base.show to modules

* add interface calling `restructure`, rename rebuild -> restructure

* add estimator state interface, add control variate interface to ADVI

* fix `show(advi)` to show control variate

* fix simplify `show(advi.control_variate)`

* fix type piracy by wrapping location-scale bijected distribution

* remove old AdvancedVI custom optimizers

* fix Locat... (continued)

111 of 137 new or added lines in 10 files covered. (81.02%)

112 of 138 relevant lines covered (81.16%)

98544.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.5
ext/AdvancedVIForwardDiffExt.jl
1
91.67
48.81% src/utils.jl
6
82.35
src/objectives/elbo/repgradelbo.jl
7
0.0
ext/AdvancedVIEnzymeExt.jl
11
15.38
-56.62% src/AdvancedVI.jl
Jobs
ID Job ID Ran Files Coverage
1 7139105575.1 08 Dec 2023 08:35AM UTC 10
81.16
GitHub Action Run
Source Files on build 7139105575
  • Tree
  • List 10
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 576259ad on github
  • Prev Build on master (#5324928173)
  • Next Build on master (#7280610548)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc