From 6856808250b577842f7fa9febb7a4ec92520c868 Mon Sep 17 00:00:00 2001 From: Jiya Gupta <141018273+Jiya873@users.noreply.github.com> Date: Sat, 20 Dec 2025 13:25:29 +0530 Subject: [PATCH] Removed tune stat --- pymc/step_methods/metropolis.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pymc/step_methods/metropolis.py b/pymc/step_methods/metropolis.py index c042bc1f3d..23a7ef8a9f 100644 --- a/pymc/step_methods/metropolis.py +++ b/pymc/step_methods/metropolis.py @@ -695,9 +695,7 @@ class CategoricalGibbsMetropolis(ArrayStep): name = "categorical_gibbs_metropolis" - stats_dtypes_shapes = { - "tune": (bool, []), - } + stats_dtypes_shapes = {} _state_class = CategoricalGibbsMetropolisState @@ -793,7 +791,7 @@ def astep_unif(self, apoint: RaveledVars, *args) -> tuple[RaveledVars, StatsType logp_curr = logp_prop # This step doesn't have any tunable parameters - return q, [{"tune": False}] + return q, [{}] def astep_prop(self, apoint: RaveledVars, *args) -> tuple[RaveledVars, StatsType]: logp = args[0]