pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Fix bug when `freezing_rv_and_dims` after a model transformation

Open ricardoV94 opened this issue 1 year ago • 0 comments

Description

Also adds optimization to avoid cloning the fgraph when it will be discarded anyway. Benchmarked with long models and can cut clone_model (the simplest workflow) by 2x

Related Issue

  • [ ] Closes #
  • [ ] Related to #

Checklist

Type of change

  • [ ] New feature / enhancement
  • [x] Bug fix
  • [ ] Documentation
  • [ ] Maintenance
  • [ ] Other (please specify):

📚 Documentation preview 📚: https://pymc--7296.org.readthedocs.build/en/7296/

ricardoV94 avatar May 01 '24 16:05 ricardoV94