### Describe the issue: Supplying argument `max_treedepth` to `pm.sample` throws a ValueError. Bisect suggests it was introduced in this commit: 0660efabb84828f68cd7cb3002cd086aa152dbec ### Reproduceable code example: ```python import pymc as pm with pm.Model() as m: pm.Normal("mu") pm.sample(max_treedepth=15) ``` ### Error message: ``` ValueError: Unused step method arguments: {'max_treedepth'} ``` ### PyMC version information: 5.4.0 ### Context for the issue: _No response_