Conversation
Documentation build overview
223 files changed ·
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v6 #8246 +/- ##
=====================================
Coverage ? 91.77%
=====================================
Files ? 124
Lines ? 20003
Branches ? 0
=====================================
Hits ? 18358
Misses ? 1645
Partials ? 0
🚀 New features to boost your workflow:
|
|
Took a look at the compiled logp+dlogp, and we pay some price for the whole matrix construction. Edit: Graph is pretty clean now (see below), collapsing DetailsFor an Full logp+dlogp graph1. Diagonal gradient routed through an
|
|
With a few general rewrites (already upstreamed in pymc-devs/pytensor#2061), got it down to this form: import pymc as pm
import numpy as np
rng = np.random.default_rng(1)
A = rng.normal(size=(n, n))
V = A @ A.T + n * np.eye(n)
with pm.Model() as m:
pm.Wishart("Sigma", nu=4, V=V)
m.logp_dlogp_function()._pytensor_function.dprint(print_shape=True, print_memory_map=True)So as good as I can think of |
Similar idea as #7380 (but this is actually simpler). Almost the same rewrite as LKJCholeskyCov, except here we unconstrain to the full dense matrix.
Closes #8196 (it's now usable)