remove references to HM inference

Fixes #17229.
fixed