Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run merge optimization in ScalarInnerGraphOp.fgraph #406

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Aug 2, 2023

This would trigger it for every Composite present in the C-cache.

It is now done when the Op is initialized.

@ricardoV94 ricardoV94 force-pushed the dont-run-merge-scalargraph branch 2 times, most recently from d871ae4 to 5d59338 Compare August 3, 2023 11:03
@ricardoV94 ricardoV94 force-pushed the dont-run-merge-scalargraph branch 4 times, most recently from 9775914 to a761714 Compare August 4, 2023 14:49
@ricardoV94 ricardoV94 changed the title Don't run MergeOptimization in Composite.fgraph Don't run MergeOptimization in ScalarInnerGraphOp.fgraph Aug 4, 2023
@ricardoV94 ricardoV94 changed the title Don't run MergeOptimization in ScalarInnerGraphOp.fgraph Don't run merge optimization in ScalarInnerGraphOp.fgraph Aug 4, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #406 (a761714) into main (0b558d8) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #406      +/-   ##
==========================================
+ Coverage   80.47%   80.48%   +0.01%     
==========================================
  Files         156      156              
  Lines       45584    45566      -18     
  Branches    11169    11162       -7     
==========================================
- Hits        36683    36676       -7     
+ Misses       6698     6688      -10     
+ Partials     2203     2202       -1     
Files Changed Coverage Δ
pytensor/scalar/basic.py 80.25% <100.00%> (+<0.01%) ⬆️
pytensor/scalar/loop.py 89.02% <100.00%> (+4.87%) ⬆️

@ricardoV94 ricardoV94 force-pushed the dont-run-merge-scalargraph branch 6 times, most recently from 366bc18 to 02841dc Compare August 10, 2023 10:47
@ricardoV94 ricardoV94 marked this pull request as ready for review August 10, 2023 13:26
pytensor/scalar/basic.py Show resolved Hide resolved
This would trigger it for every Composite/ScalarLoop present in the C-cache
@ricardoV94 ricardoV94 merged commit 9a5deee into pymc-devs:main Aug 23, 2023
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants