Skip to content

Handle implicit broadcasting correctly in RandomVariable vectorization #664

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

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

ricardoV94
Copy link
Member

Description

Related Issue

Checklist

Type of change

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

@ricardoV94 ricardoV94 force-pushed the fix_rv_vectorization branch 2 times, most recently from 1765331 to 1d98fa7 Compare March 11, 2024 11:05
@ricardoV94 ricardoV94 force-pushed the fix_rv_vectorization branch from 1d98fa7 to 700e0da Compare March 11, 2024 11:10
@jessegrabowski
Copy link
Member

jessegrabowski commented Mar 11, 2024

What's an example of a graph that is currently incorrectly vectorized?

@ricardoV94
Copy link
Member Author

What's an example of a graph that is currently incorrectly vectorized?

MWE in original issue and all new tests

@ricardoV94 ricardoV94 force-pushed the fix_rv_vectorization branch from 5915c98 to 2a0600a Compare March 12, 2024 16:15
@ricardoV94
Copy link
Member Author

Tests are passing

Copy link
Member

@jessegrabowski jessegrabowski left a comment

Choose a reason for hiding this comment

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

LGTM

@ricardoV94 ricardoV94 merged commit 61c15af into pymc-devs:main Mar 13, 2024
@ricardoV94 ricardoV94 deleted the fix_rv_vectorization branch March 13, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vectorization of RandomVariables failing
2 participants