DIC has been removed due to its limitations within the Bayesian framework as described https://link.springer.com/content/pdf/10.1007/s11222-013-9416-2.pdf.
I’d suggest you use az.loo
or az.waic
instead. They can also be called as pm.loo/waic
which are aliases to the ArviZ functions mentioned previously.