Information_criterion returns empty dict

Probably a naive question, but I am following the Bayesian Linear Regression tutorial part 2. After running the SVI for n steps with the custom guide, I try to run svi.information_criterion() but when printed I get {}, an empty dictionary. What might be the problem?