facebookresearch / beanmachine

A library that allows for inference on probabilistic models
https://beanmachine.org/
MIT License
264 stars 49 forks source link

minibmg: additional local optimizations (making minibmg substantially faster than bmg) #1797

Closed gafter closed 1 year ago

gafter commented 1 year ago

Summary: Added some debug code to view the optimized graph, which made it clear that there was more low-hanging fruit for local optimizations. Added a couple of local optimizations.

Differential Revision: D40822496

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D40822496