Skip to content

Conversation

ricardoV94
Copy link
Member

Closes #511

@ricardoV94 ricardoV94 force-pushed the remove_params_signature branch 2 times, most recently from 539124e to 5fce452 Compare November 22, 2023 15:08
sub = dict(failure_var=failure_var)

params = node.run_params()
try:
Copy link
Member Author

@ricardoV94 ricardoV94 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We raise 4 lines above if it's not a ClinkerOp

@ricardoV94 ricardoV94 force-pushed the remove_params_signature branch from 5fce452 to e7139e6 Compare November 22, 2023 15:38
@ricardoV94 ricardoV94 force-pushed the remove_params_signature branch from e7139e6 to 1b242b9 Compare November 22, 2023 15:39
@codecov-commenter
Copy link

Codecov Report

Merging #513 (1b242b9) into main (eb552ee) will decrease coverage by 0.01%.
The diff coverage is 86.66%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #513      +/-   ##
==========================================
- Coverage   80.78%   80.78%   -0.01%     
==========================================
  Files         162      162              
  Lines       46172    46161      -11     
  Branches    11283    11279       -4     
==========================================
- Hits        37302    37293       -9     
+ Misses       6640     6637       -3     
- Partials     2230     2231       +1     
Files Coverage Δ
pytensor/graph/basic.py 89.32% <ø> (-0.08%) ⬇️
pytensor/graph/op.py 87.50% <100.00%> (+0.24%) ⬆️
pytensor/link/c/op.py 61.00% <100.00%> (ø)
pytensor/link/numba/dispatch/basic.py 86.18% <100.00%> (+1.02%) ⬆️
pytensor/raise_op.py 98.76% <100.00%> (ø)
pytensor/scan/op.py 84.71% <100.00%> (ø)
pytensor/tensor/blas.py 65.27% <100.00%> (ø)
pytensor/tensor/elemwise.py 88.57% <100.00%> (ø)
pytensor/tensor/extra_ops.py 88.53% <100.00%> (ø)
pytensor/tensor/math.py 90.18% <100.00%> (ø)
... and 6 more

@ricardoV94 ricardoV94 requested a review from twiecki November 24, 2023 11:22
@ricardoV94
Copy link
Member Author

Would like to get this merged before the next release

Copy link
Member

@twiecki twiecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice simplification. I guess the COps still need params?

@twiecki twiecki merged commit 861f95c into pymc-devs:main Nov 24, 2023
@ricardoV94
Copy link
Member Author

Yup

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.

Remove params in python perform method

3 participants