Sorry model.compile_logp() or model.compile_dlogp() is what should trigger the warnings
model.compile_logp()
model.compile_dlogp()