Skip to content

Fix scan save memory rewrite bug #236

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 8, 2023

Conversation

ricardoV94
Copy link
Member

This would be triggered when the initial state was something like pt.zeros(2), but not pt.arange(2)

Without extracting the underlying numeric value of a constant TensorVariable `length`, `stop == length` would always fail.
@ricardoV94 ricardoV94 added bug Something isn't working graph rewriting scan labels Mar 8, 2023
@ricardoV94 ricardoV94 force-pushed the fix_scan_save_mem_bug branch from ba8c287 to 2957f7b Compare March 8, 2023 13:51
@ricardoV94 ricardoV94 merged commit 7301a45 into pymc-devs:main Mar 8, 2023
@ricardoV94 ricardoV94 deleted the fix_scan_save_mem_bug branch March 11, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graph rewriting scan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants