pymc
pymc copied to clipboard
Implement nutpie as an external sampler
Summary
- Fix parameter name mapping in NutPie integration (max_tree_depth → maxdepth)
- Correctly handle InferenceData object returned by NutPie
- Fix error in coords_and_dims_for_inferencedata function call
- Handle progressbar parameter correctly
- Simplify convergence checks to handle NutPie's different structure
Test plan
- Run tests in
tests/step_methods/test_external.pyto verify NutPie integration works - Fixed parameter naming bugs with NutPie API
🤖 Generated with Claude Code
📚 Documentation preview 📚: https://pymc--7719.org.readthedocs.build/en/7719/
@ricardov94
@ricardoV94
It's on my stack :)
The new test file would have to be added to the yaml file (see failing pre-commit), and I'm sure they are failing looking at it
Superseded by #7880