that MeanMetricWrapper has side effects?


something is cached internally.

The MeanMetricWrapper does have state (the running mean) is it possible that it’s just not getting reset correctly?
I have bumped into a similar issue with compile editing the metric object, and then multiple compile calls stacking up the modifications. This feels a little similar.